Results 1 to 6 of 6

Thread: Qt5 Visual Studio 2013 build error: SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@

  1. #1
    Join Date
    Jun 2014
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Qt5 Visual Studio 2013 build error: SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@

    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.

  2. #2
    Join Date
    Jun 2014
    Posts
    1
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Re: Qt5 Visual Studio 2013 build error: SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@

    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

  3. #3
    Join Date
    Jun 2014
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt5 Visual Studio 2013 build error: SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@

    Thank you, this temporary solution worked...

  4. #4
    Join Date
    Apr 2014
    Posts
    2
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt5 Visual Studio 2013 build error: SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@

    nevermind
    Last edited by theRain; 8th July 2014 at 06:13.

  5. #5
    Join Date
    Dec 2014
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: Qt5 Visual Studio 2013 build error: SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@

    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'.

  6. #6
    Join Date
    Jul 2011
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt5 Visual Studio 2013 build error: SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@

    That fixed it - Gracias!

Similar Threads

  1. Gotcha warning - Qt5 source build on Windows with Visual Studio
    By d_stranz in forum Installation and Deployment
    Replies: 3
    Last Post: 15th November 2014, 15:18
  2. Replies: 1
    Last Post: 15th September 2013, 09:49
  3. Build static QT 5.1.0 on Windows x64 with Visual Studio 2012
    By AsfK in forum Installation and Deployment
    Replies: 3
    Last Post: 18th August 2013, 14:38
  4. Replies: 1
    Last Post: 19th February 2013, 12:19
  5. Can't build qwt with visual studio
    By Patrik in forum Qwt
    Replies: 10
    Last Post: 14th April 2011, 01:56

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.