(Solved)Repeating Error 'SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@'?
-
When i am using Qt 5.4 add ins with MSVC 13 and make a program then try to build ;the follwing linking error coming out again and again.
1>LINK : fatal error LNK1117: syntax error in option 'SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@'
I found the solution too provided by a link
"here":http://www.qtcentre.org/threads/59315-Qt5-Visual-Studio-2013-build-error-SUBSYSTEM-WINDOWS-QMAKE_SUBSYSTEM_SUFFIX
this is temporary solution.
Is there permanent solution ? -
Hi, well you can fix it to be slightly more permanent (until the next release of Qt :-) by editing the .conf file for MSVC13, on my PC it's located in this folder: C:\Qt\5.4\msvc2013\mkspecs\win32-msvc2013
Open the qmake.conf file, more than halfway down look for this line:
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@
and change it to
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS