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 to install Qt Creator on Windows 7? Last working version?

    Moved Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    jsulmJ
    @garlicbox said in How to install Qt Creator on Windows 7? Last working version?: Can it be configured? And how to do it? Yes. Go to the Kit configuration. Add your custom Qt build there. If needed also the VS2017 compiler (should have been auto-detected by QtCreator). And then create a Kit with your Qt version and the compiler.
  • Using qmake for the first time

    Unsolved
    7
    0 Votes
    7 Posts
    818 Views
    PerdrixP
    OK thanks - I'll work it all out ... D.
  • Qt Creator remote editing and debugging?

    Unsolved
    4
    0 Votes
    4 Posts
    558 Views
    SGaistS
    @Nikolay-Levun Answered in your thread
  • Live Camera Showing Black Screen

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    QtFriend2024Q
    @SGaist Thank you!
  • Asking how to help improve Qt

    Unsolved
    2
    0 Votes
    2 Posts
    273 Views
    SGaistS
    Hi, The most simple way is to go to the bug report system and check the open issues. Find one that interest you and start hacking on it :-)
  • Prevent generation of qt.conf

    Unsolved
    2
    0 Votes
    2 Posts
    284 Views
    hskoglundH
    Maybe you can get around this problem by creating an empty qt,conf file at a place with higher priority than the current directory, I'm thinking of storing it in your executable as a resource ( i.e. :/qt/etc/qt.conf) more here: https://doc.qt.io/qt-6/qt-conf.html P.S. If Qt does not like an empty qt.conf, try (almost) the same as above: [Paths] Prefix = .
  • QtCreator missing examples (no Qt version drop down)

    Solved
    4
    0 Votes
    4 Posts
    587 Views
    B
    @ziller - Thanks for the reply, correct when I built Qt from source there weren't any examples (as I didn't build the doumentation), but as I did use the online installer initially for Qt6.8.1 it added those examples in the correct place yet they were still not seen after what I believe I did, which was install the stand alone QtCreator 16. It was at this point 'I think' the versions drop down for the examples disappeared, but I cannot be sure, hence posting). After posting I then installed from the maintenance tool the latest Qt6.9.1 MSVC, yet still no examples, but also a hint was that those newly installed kits didn't appear in the auto detected list. This was how I ended up seeing the 'Link to Qt' option which once done brought back all of what should of been the auto detected kits, and the examples for the versions installed by the maintenance tool. What's not clear is why they disappeared (I'm assuming the QtCreator 16 install as a stand alone wiped a settings/configuration for QtCreator - I'm going to try and look deeper at that today as time permits.
  • cc1plus.exe: out of memory | 60MB encrypted resource file

    Solved qrc rcc cc1plus.exe error resources
    13
    0 Votes
    13 Posts
    13k Views
    L
    @supaiku_ you call that necroposting? This is necroposting! I just discovered resources_big via this thread and it is a-maz-ing. It's also now documented: https://doc.qt.io/archives/qt-5.15/qtcore-cmake-qt5-add-big-resources.html I have a chunky-but-not-altogether-unexpected ~40MB referenced in my qrc, and it was blowing up with the dreaded "virtual memory exhausted: Cannot allocate memory" when compiling on a 32-bit target. No amount of exhaustive and exhausting memory tuning could prevent memory usage (not even involving swap!) from hitting the 2GB critical limit. I simply removed my qrc file from set(PROJECT_SOURCES in CMakeLists and reinstated it in qt5_add_big_resources(PROJECT_SOURCES instead. And boom, compilation blasted through the rcc step and barely broke 1GB usage getting the whole job done.
  • Creator crashes by opening a special cpp-file

    Unsolved
    5
    0 Votes
    5 Posts
    800 Views
    Andy314A
    @Axel-Spoerl said in Creator crashes by opening a special cpp-file: Does that happen with any file or just with that specific one? I have worked with a lot of files the last days, so I think its the only file.
  • Exec show hide problem i have

    Unsolved
    2
    0 Votes
    2 Posts
    322 Views
    SGaistS
    Hi and welcome to devnet, Are you trying to implement some sort of wizard ? If so, take a look a QWizard.
  • 0 Votes
    1 Posts
    191 Views
    No one has replied
  • Using Program Arguments with perf with Terminal Window

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    RokeJulianLockhartR
    @Alex-sw30, you might find strace useful for debugging this, since it should display the calls Qt Creator makes to invoke your application. Whether these differ with those options enabled or not might demonstrate something of use, although it's quite verbose.
  • How to debug a qt creator build dll memory leak in exe?

    Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • 0 Votes
    1 Posts
    157 Views
    No one has replied
  • How to open an exists project from the remote PC?

    Solved
    8
    0 Votes
    8 Posts
    966 Views
    SGaistS
    So it's exactly the same as for embedded systems. You cross-compile, copy and execute. Otherwise you also have VS Code (or alternatives) that have a remote dev feature through tunneling and some additional software installed on the other machine.
  • 0 Votes
    2 Posts
    322 Views
    Christian EhrlicherC
    Use a debugger and set a breakpoint in qsslsocket_openssl_symbols.cpp/tryToLoadOpenSslWin32Library: https://code.qt.io/cgit/qt/qtbase.git/tree/src/network/ssl/qsslsocket_openssl_symbols.cpp?h=5.3
  • Qt Creator 16 crash under Wayland during debugger break mode

    Solved
    4
    0 Votes
    4 Posts
    571 Views
    U
    I found that turning off the "Clang Code Model" plugin returned qt creator to normal operation, without the need for the QT_QPA_PLATFORM=xcb workaround.
  • 0 Votes
    2 Posts
    310 Views
    Axel SpoerlA
    @pi-squared said in Menu bar menu so long it cuts off, making me unable to add more buttons. (Yes, I'm being serious.): It works looks fine when running it, though. Do I understand that correctly - the first screenshot is from the Widgets Designer as part of Qt Creator, the second is from running the compiled executable? If I create large menus, I usually do it programmatically, not in Widgets Designer. I'd probably use a static constexpr std::array to store menu texts, maybe use a struct as a type that tells me whether a menu's action is enabled by default. Maybe I'd even keep an enum around that has a key for each action. Just loop over the array and add actions. That's much easier to maintain, than to change an entry in Widgets Designer. It hasn't been programmed to handle super large menus...
  • 0 Votes
    4 Posts
    469 Views
    P
    I forgot to mark it as solved
  • Disabling TMP files in Qt Creator 16.0.0

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    J
    Thank you @cristian-adam That is exactly what I needed. (I searched the documentation website for that environment variable and found nothing. Where should I be looking for information on useful environment variables for Qt tools?)