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.2k Posts
  • Line: 0: The Design Mode requires a valid Qt kit.

    Moved Unsolved 17 Aug 2024, 12:00
    0 Votes
    6 Posts
    577 Views
    @Iann29 Hi, I know this is a little late and I was running into the same issue but this is what fixed to for me. I went into the kit menu and I a kit for Desktp Qt 6.9.1 MinGW 64-bit (default) that had always come up as an unsupported/unavailable kit. However, all I had to do was clone it in the kit menu, see here. [image: 468b3f2d-cea4-4c50-bf91-0600151c6c1b.png] Then when I created a new project with Qt Quick Application for Python with PySide6, it let me select not only the python kit but also my desktop one that allows the designer to work.
  • Valid link to Qt help book for cppreference.com

    Unsolved a day ago
    0 Votes
    3 Posts
    48 Views
    @gg123 See https://github.com/PeterFeicht/cppreference-doc and the https://github.com/PeterFeicht/cppreference-doc/releases page. The v20250209 release looks like this in Qt Creator 17: [image: 43a19d4f-b4c0-492d-850c-edda915d56e4.png]
  • Textboxes change size when layout added in Qt5 Designer

    Solved 7 days ago
    0 Votes
    7 Posts
    159 Views
    @Shap QPlainTextEdit will (should) behave the same as QTextEdit so far as sizing is concerned. They are both for multiline input, and can grow vertically. QLineEdit is for single-line input, and would not grow vertically. Same as the other widgets you talked about.
  • Testing Android APK with QtCreator fails with an error.

    Unsolved 15 days ago
    0 Votes
    34 Posts
    1k Views
    Thanks for sharing the detailed steps — it looks like you're almost there. The error about the missing ABI usually means QtCreator isn’t detecting the correct architecture for deployment. Adding ``` ANDROID_ABIS = arm64-v8a Double-check that the Kit you're using is actually set up with the correct Qt for Android version and the appropriate architecture. Also, make sure the NDK path is correctly configured in the SDK settings — mismatches there can silently cause issues like this. Running on an emulator first is definitely a smart move. Hopefully with those tweaks, you'll be able to deploy without issues. Let us know how it goes!
  • SVG file in qhelpgenerator / assistant

    Unsolved 22 Jun 2021, 09:39
    0 Votes
    23 Posts
    3k Views
    I finally managed to get proper help back again, so I'm sharing the solution juuuust in case some other lost soul comes here in search of an answer. Clone the QtCreator source code. Checkout version v7.0.2 (this is the last version that supports Qt5). Build it against Qt5. Select "QtWebEngine" as the help renderer. Not only did rolling back to v7.0.2 + Qt5 give me proper help, but it also fixed a whole plethora of other annoying bugs. And even if there was any actual functionality added since that version, I didn't notice it, so I didn't even lose anything. [image: 681d75c2-ecb0-4a7a-8680-f0fa0267bf36.png]
  • Upgrading from QT 5.13.1 to QT 5.15.2

    Unsolved 13 days ago
    0 Votes
    4 Posts
    107 Views
    @AlGig Newer versions of Qt may not support the old Android versions and hardware. The Android version in my phone is 14. It may not make a lot of sense to work with Android 6.
  • 0 Votes
    3 Posts
    205 Views
    @kkoehne Thank you! I had forgotten I had posted this!
  • 0 Votes
    12 Posts
    2k Views
    I thought linuxdeployqt does not support Qt6.x.x? Is there an alternative AppImage method that works for Qt6?
  • edit page slide bug

    Moved Unsolved 14 days ago
    0 Votes
    2 Posts
    76 Views
    @cuijg Could be a bug. You should report it on Qt Bug Tracker: https://bugreports.qt.io/secure/Dashboard.jspa
  • 0 Votes
    19 Posts
    11k Views
    @weiluI also ran into this problem. I couldn't find a solution to this problem. If you find one, could you explain it? I can add files manually through CMakeLists.txt, but I'd prefer to add them without it
  • Qt Creator 17 extension registry

    17 days ago
    5 Votes
    2 Posts
    133 Views
    Nice! Thanks
  • Qt Debugger Shows Only Disassembler View

    Moved Unsolved 22 days ago
    0 Votes
    3 Posts
    165 Views
    Which version of Qt Creator are you using? On which operating system are you debugging? In case you remote-debug on Android, you might be affected by this bug: https://bugreports.qt.io/browse/QTCREATORBUG-29928
  • Is it possible to use GitHub Copilot with QtCreator on macOS?

    Unsolved 19 days ago
    0 Votes
    2 Posts
    96 Views
    Hi and welcome to devnet, Did you enable the plug-in as suggested in the documentation ?
  • 0 Votes
    2 Posts
    112 Views
    @JasonWong Keep in mind that this is user forum. You should ask on Qt developer mailing list or file a change request in Qt bug tracker.
  • 0 Votes
    5 Posts
    241 Views
    @ankou29666 said in CMake warning : the target is mentionned as dependency but not declared: guess that importing Qt::HttpServer module also brings Qt::Concurrent and Qt::Network as implicit dependencies, that don't need to be declared explicitly ? correct, that's why you have to use PRIVATE, PUBLIC and INTERFACE in your target_link_libraries() call: https://cmake.org/cmake/help/latest/command/target_link_libraries.html#libraries-for-a-target-and-or-its-dependents
  • This topic is deleted!

    Unsolved 21 days ago
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • How to dynamically generate files in the build directory?

    Solved 22 days ago
    0 Votes
    10 Posts
    423 Views
    Ahhh, I see... now that I've taken a break, I didn't realize that my entire process was flawed. The user is going to be adding files to the folder at any point in time, so of course it wouldn't be best to generate those files at compile time, lol. Like you've mentioned, I'll just monitor the folder within C++ and have QML react to the changes. Thank you for the help!
  • This topic is deleted!

    Unsolved 24 days ago
    0 Votes
    1 Posts
    20 Views
    No one has replied
  • Qt Creator 17 released

    25 days ago
    1 Votes
    1 Posts
    138 Views
    No one has replied
  • 0 Votes
    6 Posts
    744 Views
    Whatever it is, it has to do something with your PC or your project. I am using Creator every day on a 3 year old HP ZBook with 64 GB of RAM and openSuSE Tumbleweed. It literally takes milliseconds to find slot functions. Besides, a nice feature for the Designer would be, if on can see in the slot list if a slot funktion exists yet. A * sign or so. Sometimes I have not the overview what kind of slots are connected und I must check it all - what is very slow now. The widget designer shows a list of signals. You can use the autoconnect feature with the on_<ui-element>_<signal-name> syntax. You can also manually connect to a slot named differently. You can use multiple connections, which you set up and disconnect at run time. The "Go to slot" function just implements the autoconnect version in the cpp file that includes the code generated from the form. If the slot is already implemented, it makes Creator jump to it. The logic of when to put an asterisk isn't trivial. The question makes me think whether the cpp file with your implementation is actually super-huge and somehow slowing Creator down. Can you boil the issue down to a small, compilable reproducer?