Skip to content

Qt Creator and other tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
7.6k Topics 35.5k Posts
  • Qt Creator: switch project to produce dll

    2
    0 Votes
    2 Posts
    586 Views
    sierdzioS
    Just compile on Windows, it will use the native format for the platform.
  • Share Qt code as packages like Cocoapods does

    7
    0 Votes
    7 Posts
    2k Views
    sierdzioS
    Looks good! I'll post the link to my G+ page.
  • Qt Creator: Switches for Windows Phone and RT (.pro files)

    1
    0 Votes
    1 Posts
    469 Views
    No one has replied
  • C++ function argument continuation indented too much

    2
    0 Votes
    2 Posts
    992 Views
    JKSHJ
    Hi, In Qt Creator, go to Tools -> Options -> C++ -> Code Style -> Edit... -> General -> "Align continuation lines" and play with the settings
  • 0 Votes
    6 Posts
    1k Views
    sierdzioS
    Great, happy further coding :-)
  • 0 Votes
    4 Posts
    923 Views
    A
    Without picture it is hard to diagnose the problem. I suspect that the problem is related to OpenGL. Take a look "here":http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL Try to add QT_ANGLE_PLATFORM to the system environment and start qtcreator again. @ QT_ANGLE_PLATFORM=warp @ If it is not OpenGL then Try uninstall Qt and QtCreator if you use separate one. Delete all files if any in C:\Qt directory or whatever directory you have used to install Qt. If directory C:\Users<YouUserName>\AppData\Roaming\QtProject exists then move it to some other place if you need to save anything in qtcreator configuration. Or just delete it if you don't need to save anything. And install it again.
  • Qmake single project, multiple toolchains

    2
    0 Votes
    2 Posts
    1k Views
    A
    I am not currently using QBS, but it looks like it is more geared towards handling multiple targets and code generation. Is there a way for QBS to do this, where you can set specify subprojects to be local or remote?
  • Error C1083 "No such file or directory" for <QtSQL>

    4
    0 Votes
    4 Posts
    2k Views
    M
    I had the same problem with Qt 5.4. Apparently "clean" and "rebuild" did NOT do a complete clean and rebuild. I needed to manually run "qmake" and then the error went away.
  • QBS - abort build and print error message

    1
    0 Votes
    1 Posts
    895 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    JKSHJ
    [quote author="jepessen" date="1422779586"]If I want to study this feature and try to find a way for moc to handle namespaces and/or folders, which file I should check in Qt source? moc.cpp or another one?[/quote]I'm not completely sure myself, but I'm guessing you'd need to look at a few different files in the moc folder: https://qt.gitorious.org/qt/qtbase/source/src/tools/moc/ If you'd like to talk to the Qt engineers about this (e.g. to show them your proposal and/or ask for advice), subscribe and post to the "Development mailing list":http://lists.qt-project.org/mailman/listinfo/development
  • How can I include libssh in windows ?

    4
    0 Votes
    4 Posts
    5k Views
    SGaistS
    I'd say that your application can't find the libssh dlls. Go to the Run part of the Project Panel and update the PATH environment variable by adding the path to the libssh dlls
  • QtCreator: difference between importing Git and Gitorious repos

    2
    0 Votes
    2 Posts
    753 Views
    sierdzioS
    All Qt source code is hosted by Gitorious, perhaps it is there for convenience. Or it is there to allow some additional protocols, I do not know.
  • How can I repare my Qt Assistant application [Solved]

    8
    0 Votes
    8 Posts
    2k Views
    B
    Done :D
  • Easy cross platform way to detect architecture in Qt Pro or QMake system?

    4
    0 Votes
    4 Posts
    4k Views
    SGaistS
    @ contains(QMAKE_TARGET.arch, x86_64) { // cool 64bit stuff } else { // cool 32bit stuff }@ Would be cleaner
  • [SOLVED] Problem with Signals in QThread.

    12
    0 Votes
    12 Posts
    3k Views
    A
    I've an other Question: After create my_worker and try to move it in my QThread I got this error during execution: @QObject: Cannot create children for a parent that is in a different thread. (Parent is QNativeSocketEngine(0x15d345b8), parent's thread is QThread(0x15cfdc78), current thread is QThread(0x15d345d8).@ And worker stop to work... I don't know why ? Is it problem with my QTcpServer ? I haven't any exec method, because Worker herit from QObject and My Worker stop to work after one request attempt to my server. EDIT : Problem solved: I'm using : @connect(my_soc, SIGNAL(readyRead()), this, SLOT(tcp_receve_commands()), Qt::DirectConnection); connect(my_soc, SIGNAL(disconnected()), this, SLOT(kill_thread()), Qt::DirectConnection);@ Now, because without Qt::DirectConnection, connections aren't executed in the Thread. Thanks a lot all for your help, my problem is solved ! I love Qt ^^ !
  • Problem with moc files on Visual Studio 2010 and Incredibuild

    7
    0 Votes
    7 Posts
    6k Views
    U
    Hey, I know this is an old post but I have some news regarding to it. Up until recently, it wasn't possible to build IDL's in parallel. A pre-release version of IncrediBuild now enables parallel build of moc and midl. Contact IncrediBuild support if you want to get a copy of this pre-release version. You can visit this page for further instructions: https://www.incredibuild.com/qt-moc-and-midl.html Good luck, Uria (IncrediBuild)
  • 0 Votes
    7 Posts
    3k Views
    J
    I found the solution.. https://qt-project.org/forums/viewthread/35646
  • VS2013 add in doesn't work correctly

    3
    0 Votes
    3 Posts
    969 Views
    C
    I use Qt with VC and XCode without any problems and without any additional plug-ins. You can link with Qt in the same mode you link with any other libraries. Just mentioning that in addition to a regular library, if we need to moc or uic or rcc you need to add custom build step in the VC or XCode project for *.h or *.ui or *.rcc That's all ...
  • (Solved)Repeating Error 'SUBSYSTEM:WINDOWS@QMAKE_SUBSYSTEM_SUFFIX@'?

    3
    0 Votes
    3 Posts
    4k Views
    IamSumitI
    It looks promising .. Great Help Thank you very much :)
  • Start point for understanding Qt Creator sctructure.

    2
    0 Votes
    2 Posts
    685 Views
    sierdzioS
    You can check out the bugtracker ("link":https://bugreports.qt.io/secure/Dashboard.jspa) to see reported bugs in Qt Creator. And to get more info on how it is built, it is probably better to ask on the Qt Creator mailing list and IRC channel. "Link":https://qt-project.org/contribute.