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
  • 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
    754 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
    974 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
    687 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.
  • I need help with Qt's version control feature

    5
    0 Votes
    5 Posts
    1k Views
    batman.890825B
    I will check it as soon as I deal with this problem http://qt-project.org/forums/viewthread/52315/
  • Qt GUI application

    4
    0 Votes
    4 Posts
    1k Views
    JKSHJ
    Hi, An easier way is to uninstall Qt Creator 3.2 and download Qt 5.4: http://www.qt.io/download-open-source/ The installer includes Qt Creator 3.3, and it will set up your kits for you.
  • Creating new Project in QtCreator

    Locked
    2
    0 Votes
    2 Posts
    663 Views
    SGaistS
    Hi, Looks like a duplicate of this "thread":http://qt-project.org/forums/viewthread/52278/ Let's keep the discussion only on one thread. Closing this one
  • How do I test for clang in qmake .pro?

    3
    0 Votes
    3 Posts
    1k Views
    SGaistS
    Hi, you can use the clang scope. Out of curiosity why do you need that scope ? clang and gcc's output are compatible.
  • Qt Assistant cannot open collection file

    1
    0 Votes
    1 Posts
    824 Views
    No one has replied
  • [Help] How do I restore deleted file from Qt Creator?

    2
    0 Votes
    2 Posts
    4k Views
    p3c0P
    Hi, I don't think so. The option is very clear. May be you should try Data Recovery Softwares. Try your luck.
  • Qt Creator on Mac OS: Ctrl + Tab for switching documents

    6
    0 Votes
    6 Posts
    2k Views
    N
    Finally something that works !!! Thank you so much, hskoglund !
  • .pro is not part of the project

    1
    0 Votes
    1 Posts
    617 Views
    No one has replied
  • [SOLVED] Can qbs be used to compile Win32 applications?

    2
    0 Votes
    2 Posts
    1k Views
    Z
    This is how it's done apparently: @ import qbs CppApplication { type: "application" // To suppress bundle generation on Mac consoleApplication: true destinationDirectory: "../../../__build-output" cpp.cxxFlags: { if (qbs.toolchain.contains("gcc")) { return [ "-std=c++14" ] } else if (qbs.toolchain.contains("clang")) { return [ "-std=c++14"] } } cpp.linkerFlags: { if (qbs.targetOS.contains("windows")) { if (qbs.toolchain.contains("msvc")) { return [ "/subsystem:windows" ] } } } cpp.staticLibraries: { if (qbs.targetOS.contains("windows")) { if (qbs.toolchain.contains("msvc")) { print("Loading static libraries for: Windows MSCV!") return [ "User32.lib", "kernel32.lib", "gdi32.lib" ]; } else if (qbs.toolchain.contains("mingw")) { print("Loading static libraries for: Windows MinGW!") return [ "user32", "kernel32", "kernel32" ]; } else { print("Invalid toolchain!"); } } else if (qbs.targetOs.contains("linux")) { if (qbs.toolchain.contains("gcc")) { print("Linux GCC is not currently supported...") } else if (qbs.toolchain.contains("clang")) { print("Linux Clang is not currently supported...") } } else { print("Unsupported Target OS...") return [] } } files: [ "../../src/main.cpp", "../../src/video/windows.cpp", "../../src/video/windows.h", ] Group { // Properties for the produced executable fileTagsFilter: product.type qbs.install: true } } @
  • 0 Votes
    5 Posts
    1k Views
    K
    no error messages at all! I had this happen once on a different machine - having 2 versions of mingw with code blocks ended up deleting the .exe whenever I ran any application developed via code blocks. Reinstalling everything and then running applications fixed it. No energy to redo all that in this old xp :( I do have 2 versions of mingw on this machine, one installed via Qt, old one from code blocks. Sorry for the double post, 5 year old running circles around me literally. Other code - ones I wrote, QCustomplot all continue to work normally.