[Development] compilation of qt5.5 examples with qtcreator with visualstudio 2012 (msvc2012) fails

Arjun Das arjundas.27586 at gmail.com
Tue Mar 10 11:58:34 CET 2015

I used QT creator to create a QT quick application. I only added shell32
library using QT creator which modified the.pro file as

win32: LIBS += -lshell32

However I am still getting the same error with the project files
created by QT creator.

qtmaind.lib(qtmain_win.obj) : error LNK2019: unresolved external
symbol __imp__CommandLineToArgvW at 8 referenced in function _WinMain at 16

I also included the following header files in main.cpp:

#include <windows.h>

#include <stdio.h>

#include <shellapi.h>

I am not sure how to go about debugging this problem.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150310/e90b6886/attachment.html>

More information about the Development mailing list