Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Build QtCreator with VS 2013 on Windows
Forum Updated to NodeBB v4.3 + New Features

Build QtCreator with VS 2013 on Windows

Scheduled Pinned Locked Moved Qt Creator and other tools
qtcreatorvs2013
3 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • imyrvoldI Offline
    imyrvoldI Offline
    imyrvold
    wrote on last edited by
    #1

    I am trying to build QtCreator from git, using https://wiki.qt.io/Building_Qt_Creator_from_Git .

    I start up VS2013 x86 Native Tools Command prompt, and cd into the qt-creator build folder.
    I executes the command:
    qmake -r ../qt-creator/qtcreator.pro

    This works fine, and then I do the nmake command.

    The building of QtCreator goes fine until it comes to the file expanddata.cpp, line 47.
    It looks like the compiler doesn't support the initializer lists used in the file:
    return { path, displayName };

    I have read in http://blogs.msdn.com/b/vcblog/archive/2013/06/27/what-s-new-for-visual-c-developers-in-vs2013-preview.aspx that this is indeed supported in vs2013, so I don't understand why it doesn't work.

    If I fix the file by initializing the QStringList in an ordinary way, the compiler stops again when it meets a new file with the same initializing of list.

    How can I make this work?

    expanddata.cpp
    C:\Users\MyrvoldI\Documents\MyQtCreator\qt-creator\src\plugins\projectexplorer\expanddata.cpp(47) : error C2661: 'QStringList::QStringList' : no overloaded function takes 2 arguments

    1 Reply Last reply
    0
    • hskoglundH Online
      hskoglundH Online
      hskoglund
      wrote on last edited by
      #2

      Hi, had the same problem, solved it by updating VS2013 to Update 4.

      1 Reply Last reply
      0
      • imyrvoldI Offline
        imyrvoldI Offline
        imyrvold
        wrote on last edited by
        #3

        Thanks! That worked.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved