PDA

View Full Version : Qt5 Visual Studio 2013 build error: SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@



syarram
3rd June 2014, 13:07
Hello,

I'm getting this following error:

error LNK1117: syntax error in option 'SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@'

when I try to build a Qt5 (Qt 5.3.0) project in visual studio 2013, which was loaded as .PRO file using qt plugin. How do I solve this problem? Thanks in advance.

guayabas
3rd June 2014, 22:26
Hi,

I had the same problem. Currently I partially solve it by removing such text (/SUBSYSTEM:WINDOWS%40QMAKE_SUBSYSTEM_SUFFIX%40) from the VS project (under Properties --> Linker --> Command Line). I am still trying to figure it out how to remove automatically.

Regards

syarram
11th June 2014, 10:16
Thank you, this temporary solution worked...

theRain
8th July 2014, 04:48
:) nevermind

neozest
4th December 2014, 22:28
I have same problem and fixed. It seems VS addin bug.
Anyway, go Project Property Pages -> Linker->Command Line. You can see additional options.
Remove tailing @QMAKE_SUBSYSTEM_SUFFIX@ for Subsytem Option.
/SUBSYSTEM:WINDOWS%40QMAKE_SUBSYSTEM_SUFFIX%40 ---> /SUBSYSTEM:WINDOWS

There is also decoding/encoding issue like '%27'.

lclemens@gmail.com
10th December 2014, 16:02
That fixed it - Gracias!