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.8k Topics 36.3k Posts
Qt 6.11 is out! See what's new in the release blog
  • Qt Creator build error

    Unsolved
    3
    0 Votes
    3 Posts
    191 Views
    SGaistS
    Hi and welcome to devnet, Do you have an anti-virus running ? They usually quarantine any application created through a build process.
  • Qt Creator is always looking for Ollama since the latest update

    Unsolved
    12
    0 Votes
    12 Posts
    860 Views
    R
    I would like to add that I haven't been able to reproduce the issue when creating and opening "Hello World"-type projects. I do have some $$system() calls in the .pro file where it happens, but these are necessary (many are for finding programs like pkg-config, which was mentioned). But none of the external system calls have anything to do with ollama, and I really only use it in Qt Linguist which is referenced through the External Tools menu in Qt Creator. Maybe over the weekend I will have time to investigate further.
  • Qt Creator 20 and local AI

    1
    3 Votes
    1 Posts
    120 Views
    No one has replied
  • 1 Votes
    1 Posts
    140 Views
    No one has replied
  • Qt Creator 20 released

    Unsolved
    2
    2 Votes
    2 Posts
    235 Views
    hskoglundH
    Thank you, looks good! A note for those (like me) who builds Qt Creator Plugins: Installing vanilla Qt 6.11.1 is not enough, you also need to install Qt TaskTree: [image: d9e1531e-09f0-426b-a1bd-6fe56c1f08c6.png] And you need to add this to the Plugin's CMakeLists.txt: set(CMAKE_CXX_STANDARD 20) (Otherwise I think CMake defaults to C++17 which is not good enough for Qt TaskTree).
  • Incompatibility between Enums generated by Qt creator.

    Solved
    3
    0 Votes
    3 Posts
    233 Views
    L
    It was a issue with the Qt Creator version. Using the same Qt Creator Version the editor does not generate different enums.
  • Not all Qt Creator versions are available for download at the archives

    Solved
    4
    0 Votes
    4 Posts
    281 Views
    cristian-adamC
    Then go to https://download.qt.io/official_releases/qtcreator/ and respectively https://download.qt.io/official_releases/qtcreator/11.0/11.0.1/
  • 0 Votes
    3 Posts
    347 Views
    cristian-adamC
    Thank you for posting this. Qt Creator 19.0.2 has a CMake find package dependency provider that checks to see if Qt packages are missing, and if so, then you can get an Issue with a link to automagically install the missing Qt component. But there is an issue when a Qt component has a dependency on other Qt components that might have missing dependencies. I have tried a Qt Widgets "Hello World" with missing system dev packages. With Qt Creator 19.0.2 and a Qt SDK Qt 6.11.1 I get this in General Messages: [cmake] Running /snap/bin/cmake -S /home/cristian/Projects/C++/HelloQtWidgets -B /home/cristian/Projects/C++/HelloQtWidgets/build/Desktop_Qt_6_11_1-Debug -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_COLOR_DIAGNOSTICS:BOOL=ON -DCMAKE_CXX_COMPILER:FILEPATH=/usr/lib/ccache/aarch64-linux-gnu-g++-13 -DCMAKE_C_COMPILER:FILEPATH=/usr/lib/ccache/aarch64-linux-gnu-gcc-13 -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_MAKE_PROGRAM:STRING=/usr/bin/ninja -DCMAKE_PREFIX_PATH:PATH=/home/cristian/Qt/6.11.1/gcc_arm64 -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/home/cristian/Projects/C++/HelloQtWidgets/build/Desktop_Qt_6_11_1-Debug/.qtcreator/cmake-helper/qtcreator-project.cmake -DQT_CREATOR_ENABLE_MAINTENANCE_TOOL_PROVIDER:BOOL=ON -DQT_CREATOR_ENABLE_PACKAGE_MANAGER_SETUP:BOOL=ON -DQT_ENABLE_QML_DEBUG:BOOL=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/cristian/Qt/6.11.1/gcc_arm64/bin/qmake in /home/cristian/Projects/C++/HelloQtWidgets/build/Desktop_Qt_6_11_1-Debug. [cmake] -- The CXX compiler identification is GNU 13.3.0 [cmake] -- Detecting CXX compiler ABI info [cmake] -- Detecting CXX compiler ABI info - done [cmake] -- Check for working CXX compiler: /usr/lib/ccache/aarch64-linux-gnu-g++-13 - skipped [cmake] -- Detecting CXX compile features [cmake] -- Detecting CXX compile features - done [cmake] -- Performing Test HAVE_STDATOMIC [cmake] -- Performing Test HAVE_STDATOMIC - Success [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] CMake Warning at build/Desktop_Qt_6_11_1-Debug/.qtcreator/cmake-helper/maintenance_tool_provider.cmake:190 (message): [cmake] Qt packages are missing: 6.11.1, gcc_arm64, qt.qt6.6111.linux_gcc_arm64 [cmake] [cmake] If you are using the Qt Online Installer, check the Issues view in Qt [cmake] Creator for a link that installs the missing component. [cmake] Call Stack (most recent call first): [cmake] build/Desktop_Qt_6_11_1-Debug/.qtcreator/cmake-helper/maintenance_tool_provider.cmake:241 (qt_maintenance_tool_install) [cmake] CMakeLists.txt:4 (find_package) [cmake] [cmake] [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR OpenGL) [cmake] CMake Error at build/Desktop_Qt_6_11_1-Debug/.qtcreator/cmake-helper/maintenance_tool_provider.cmake:252 (find_package): [cmake] Found package configuration file: [cmake] [cmake] /home/cristian/Qt/6.11.1/gcc_arm64/lib/cmake/Qt6/Qt6Config.cmake [cmake] [cmake] but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT [cmake] FOUND. Reason given by package: [cmake] [cmake] Failed to find required Qt component "Widgets". [cmake] [cmake] Expected Config file at [cmake] "/home/cristian/Qt/6.11.1/gcc_arm64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" [cmake] exists [cmake] [cmake] [cmake] [cmake] Configuring with --debug-find-pkg=Qt6Widgets might reveal details why the [cmake] package was not found. [cmake] [cmake] Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some [cmake] of the path variables that find_package uses to try and find the package. [cmake] [cmake] Call Stack (most recent call first): [cmake] CMakeLists.txt:4 (find_package) [cmake] [cmake] [cmake] CMake Error at CMakeLists.txt:4 (find_package): [cmake] Could not find a configuration file for package "Qt6" that is compatible [cmake] with requested version "6.5". [cmake] [cmake] The following configuration files were considered but not accepted: [cmake] [cmake] /home/cristian/Qt/6.11.1/gcc_arm64/lib/cmake/Qt6/Qt6Config.cmake, version: unknown [cmake] The version found is not compatible with the version requested. [cmake] [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred! [cmake] [cmake] The command "/snap/bin/cmake -S /home/cristian/Projects/C++/HelloQtWidgets -B /home/cristian/Projects/C++/HelloQtWidgets/build/Desktop_Qt_6_11_1-Debug -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_COLOR_DIAGNOSTICS:BOOL=ON -DCMAKE_CXX_COMPILER:FILEPATH=/usr/lib/ccache/aarch64-linux-gnu-g++-13 -DCMAKE_C_COMPILER:FILEPATH=/usr/lib/ccache/aarch64-linux-gnu-gcc-13 -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_MAKE_PROGRAM:STRING=/usr/bin/ninja -DCMAKE_PREFIX_PATH:PATH=/home/cristian/Qt/6.11.1/gcc_arm64 -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/home/cristian/Projects/C++/HelloQtWidgets/build/Desktop_Qt_6_11_1-Debug/.qtcreator/cmake-helper/qtcreator-project.cmake -DQT_CREATOR_ENABLE_MAINTENANCE_TOOL_PROVIDER:BOOL=ON -DQT_CREATOR_ENABLE_PACKAGE_MANAGER_SETUP:BOOL=ON -DQT_ENABLE_QML_DEBUG:BOOL=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/cristian/Qt/6.11.1/gcc_arm64/bin/qmake" terminated with exit code 1. [cmake] [cmake] Elapsed time: 00:01. which gives a hint that something with OpenGL is missing. The dependency provider can be skipped by using -DQT_CREATOR_ENABLE_MAINTENANCE_TOOL_PROVIDER:BOOL=OFF, which could help in the case that this mechanism has bugs.
  • Warning from windeployqt

    Solved
    3
    1 Votes
    3 Posts
    382 Views
    PerdrixP
    @Chris-Kawa Thank you. This started happening after I rolled back from VS 18.6.2 to 18.5.3, I tried to follow your advice, but the VS Installer complained about missing "stuff". In the end I had to completely uninstall VS and re-install - most annoying! However the good news is that "normal service" has now been resumed!
  • New UI widgets elements inaccessible to code model

    Moved Solved
    25
    0 Votes
    25 Posts
    19k Views
    M
    I had a similar problem , It was fixed only by deleting build folder and rebuilding again
  • Qt Creator 20 RC released

    Unsolved
    1
    1 Votes
    1 Posts
    139 Views
    No one has replied
  • Remote device: "access via" doesn't work

    Unsolved
    1
    0 Votes
    1 Posts
    176 Views
    No one has replied
  • Qt Creator, VSCode or CLion?

    Unsolved
    6
    0 Votes
    6 Posts
    964 Views
    cristian-adamC
    @chenwj said in Qt Creator, VSCode or CLion?: Meanwhile, using AI features in Qt Creator requires a commercial license. With Qt Creator 20 you can use the ACP Client to connect to an ACP Agent like Claude Agent, Codex CLI, or OpenCode and do any AI work. The ACP Client plugin is part of the OpenSource Qt Creator.
  • How to encode Creator run settings in cmake preset?

    Unsolved
    5
    0 Votes
    5 Posts
    745 Views
    A
    Ha, I got Jira to work. I'll keep an eye on the issue, thanks a lot!
  • qwindowgeometry not working as command line option

    Unsolved
    6
    0 Votes
    6 Posts
    706 Views
    JonBJ
    @Robert-Hairgrove Fair enough. If it were me I would try a quick one line Qt GUI program of my own to see whether it respects --qwindowgeometry (that's one of the command line arguments any Qt program picks up), plus save/restore if you're wanting to check that, to see where you start from.
  • 0 Votes
    2 Posts
    365 Views
    SGaistS
    Hi, Which version of Qt Creator are you talking about ?
  • Qt Creator 19 - Android manifest file editor not working

    Unsolved
    2
    1 Votes
    2 Posts
    471 Views
    sbelaS
    I have the same problem but in windows 10... did you find any solution ?
  • Qt Creator - streamline find current qml file usage?

    Unsolved
    1
    0 Votes
    1 Posts
    202 Views
    No one has replied
  • Qt Creator 19.0.2 released

    Unsolved
    1
    1 Votes
    1 Posts
    205 Views
    No one has replied
  • Anyone had success with compose-based devcontainers in Qt Creator

    Unsolved devcontainer docker compose
    2
    0 Votes
    2 Posts
    604 Views
    K
    @galkinvv Thanks for your workaround for this. It got me up and running. According to this We should be able to use mount-libexec and libexec-mount-point for this. However, I tried them and they don't work. Have you found out anything more about this? Kevin