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.4k Posts
  • Help needed using conan package manager inside QtCreator15.0.0

    Solved conan qtcreator15 cmake
    17
    0 Votes
    17 Posts
    2k Views
    V
    The error occurs because the auto-setup script created by QtCreator (build/.qtc/package-manager/conan_provider.cmake) cannot determine the current C++ standard. Take a look at the function function(detect_host_profile output_file). The error is fixed by moving the C++ standard setting to the very beginning of your CMakeLists.txt script, before the project keyword. For example, the correct CMakeLists.txt: cmake_minimum_required(VERSION 3.16) # it is important that the standard be defined before the project keyword set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) project(i18n_strict LANGUAGES CXX)
  • 0 Votes
    3 Posts
    45 Views
    B
    @Pl45m4 thank you for the reply. I have found the set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY") context here. and yes using msvc for opencv usage was chatgpt`s suggestion.Im very new to this. By initial parameters do you mean mingw and ninja?
  • Local LLM-assisted text completion for Qt Creator

    3
    3 Votes
    3 Posts
    490 Views
    cristian-adamC
    First peak at the Chat functionality in #llama.qtcreator. I used it to talk to gpt-oss 20b to create me a qt c++ chat widgets application that chats with a llama.cpp server using its json api. See how it went at ... https://youtu.be/qWrzcx6QhOA
  • Emoji on button labels causes a silent crash

    Solved
    6
    0 Votes
    6 Posts
    156 Views
    SGaistS
    Thank you !
  • Executable Failed... Command Aborted Message Box when debugging

    Moved Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    R
    Reinstalling Qt didn't helped, but I noticed that QtCreator settings remained unchanged Renaming forlers C:\Users\%username%\AppData\Local\QtProject C:\Users\%username%\AppData\Roaming\QtProject resolved problem, Qt created new pure settings, and debugging runs
  • Config.json error

    Moved Unsolved
    8
    0 Votes
    8 Posts
    232 Views
    Axel SpoerlA
    These JSON files should not have to be modified. There is something wrong with the desktop configuration.
  • How to link to offline Qt Documentation with QDoc

    Unsolved
    2
    0 Votes
    2 Posts
    84 Views
    Z
    Hi, use "depends = ..." in your qdocconf file to make qdoc aware of the Qt index files it should use to resolve the links to the Qt classes, and point qdoc to the path were it finds these with the -indexdir command line option. Documentation: https://doc.qt.io/qt-6/22-qdoc-configuration-generalvariables.html#depends Usage in Qt Creator developer documentation: https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/doc/qtcreatordev/config/qtcreator-developer.qdocconf#n48
  • Qt Creator 17.0.1 released

    Unsolved
    1
    3 Votes
    1 Posts
    62 Views
    No one has replied
  • Qt Creator: query on GraphsView and C++ model interaction:

    Solved
    9
    0 Votes
    9 Posts
    554 Views
    A
    @jeremy_k , @JKSH , thanks for your comments and observations. some good food for thought. I think this query can now be regarded as solved, since the originally proposed solution works.
  • No output in "Application Output" with debugger

    Unsolved
    5
    1 Votes
    5 Posts
    976 Views
    mbruelM
    same issue with QtCreator 15.0.0 and 17.0.0 on Windows 11 using either KIT 6.4.1 MSVC 2019 64bit or 6.9.1 MSVC 2022 64 bit quite problematic isn't it?!? how come oO can't debug properly anymore without @cristian-adam workaround... (on Windows)
  • 0 Votes
    2 Posts
    1k Views
    Pl45m4P
    @icebergenergy Let the QtCreator devs know via mailing list or implement the functionality yourself and submit the patch via gerrit or github.
  • A Sincere Request: Please Bring AI Assistant to the Open-Source Edition of Qt Creator

    Unsolved
    6
    1 Votes
    6 Posts
    3k Views
    cristian-adamC
    @JasonWong you can join the Developing Qt with Agentic AI webinar. [image: 27fc6cf1-d5d8-4d87-99a1-ef3790e1e78e.jpg] I don't know if there is a Q&A section, but if there is, you can ask the question above.
  • 0 Votes
    4 Posts
    892 Views
    JonBJ
    Is this the same crash as https://forum.qt.io/topic/163072/unexpected-crash-when-using-custom-delegate-in-qcombobox ? Whatever OP might expect, it should not crash Creator if it does that!
  • Tracepoint messages: including the values of variables.

    Unsolved
    4
    0 Votes
    4 Posts
    368 Views
    JonBJ
    @CrazyCarrot I think the SO guy was falsely imagining or confusing with VS! Without getting into it, I found VS had more features in it than Qt Creator. It is just possible that Creator's Message box, which I believe appears for the "tracepoint", passes that on "raw" to the underlying debugger, so perhaps some gdb syntax for it would work with gdb debugger or if there is any equivalent for MSVC, but I don't know and wouldn't hold my breath.
  • QT Creator: hotkeys to set active project in the workspace

    Solved
    4
    1 Votes
    4 Posts
    2k Views
    C
    I know this is an old thread, but someone might find this helpful: (Qt Creator 17 on Mac) Press Cmd+T for the selection dialog. Once it pops up, hold Cmd and press T to cycle through your open projects. Release Cmd and the selected project is activated and the dialog disappears. Note: The dialog has three columns Project, Deploy, Run. For the above to work the column Project has to be active (dark selection field there). It looks like that each time you start Qt Creator the active column will be Deploy. In that case just click once a project name or use arrow keys to activate the Project column, and from that time it should work again (until you quit Qt Creator).
  • 0 Votes
    7 Posts
    668 Views
    cristian-adamC
    @hackerturtle 00007635 5.66594458 [18472] qtc.projectexplorer.toolchain.msvc: readEnvironmentSetting: "call \"D:/Program Files/Microsoft Visual Studio/2022/VC/Auxiliary/Build/vcvarsall.bat\" x86" "C:\\WINDOWS\\system32\\cmd.exe /D /E:ON /V:ON /c C:\\Users\\21421\\AppData\\Local\\Temp\\QtCreator-UTRrUJ\\cwmuNx.bat" Env: 79 00007636 5.66596460 [18472] qtc.utils.process: Process 30 starting (blocking without event loop): C:\WINDOWS\system32\cmd.exe /D /E:ON /V:ON /c C:\Users\21421\AppData\Local\Temp\QtCreator-UTRrUJ\cwmuNx.bat 00007637 5.67927456 [18472] qtc.projectexplorer.toolchain.msvc: No updates for "Visual Studio Community 2022 17.14.36401.2 (x86)" It has to do with the Qt Creator's way of checking if the Visual C++ environment has been changed. This shouldn't trigger any pop-up, but something in your environment causes this behavior.
  • QtCreator 17.0.0 freezing every 10 seconds

    Unsolved
    3
    0 Votes
    3 Posts
    395 Views
    A
    Indeed! As soon as I killed the adb processes, the freezes stopped immediately. Thanks a lot, you really saved my day!
  • Qt Creator editor: Can we insert a column of sequential numbers?

    Unsolved
    7
    0 Votes
    7 Posts
    596 Views
    Pl45m4P
    @JonB said in Qt Creator editor: Can we insert a column of sequential numbers?: Purely ooi, why does it change from cardinal words to ordinal ones after SEVENTH? :) Because: @cristian-adam said in Qt Creator editor: Can we insert a column of sequential numbers?: This works with ... AI :))
  • Missing arch linux debug symbols

    Solved
    7
    0 Votes
    7 Posts
    685 Views
    C
    I ended up cloning the latest version from github: git clone https://github.com/qt/qtbase then running cmake install with the cmake variables I need like vulkan
  • QtCreator:How to use kits qt5.12.12 debug project in QtCreator 16/17

    Unsolved
    2
    0 Votes
    2 Posts
    395 Views
    cristian-adamC
    You need to update your gdb, not the whole toolchain. See https://www.qt.io/blog/mingw-and-side-by-side-manifests for details.