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.4k Posts
Qt 6.11 is out! See what's new in the release blog
  • Is there a way to generate multiple executable in the same project? (CMake)

    Unsolved
    2
    0 Votes
    2 Posts
    59 Views
    Axel SpoerlA
    Hello, you can have multiple executables in one CMake project, and deal with it in one single Qt Creator instance. As a template you can git clone "https://codereview.qt-project.org/qt/qtqa" and load .../src/fuzzgen/CMakeLists.txt in Qt Creator. It's a project with multiple executables. You can select the run target like that: [image: aa73058f-e72b-45f2-9e27-b532d2583f5e.png]
  • Cant find a way to implement MPV player into my project

    Unsolved
    4
    0 Votes
    4 Posts
    69 Views
    SGaistS
    Not that I want to discourage you but did you consider using Qt Multimedia ? It already provides support for playing music using ffmpeg under the hood. That said, did you already check the mpv C client api ?
  • having an issue

    Moved Unsolved
    2
    0 Votes
    2 Posts
    84 Views
    SGaistS
    Hi, Which version of Qt Creator ? Which version of Qt ? On which OS ? Does it happen if you use a default project ? Is it a complex class ? Do you have a more complete error message ?
  • Visual Studio 2026 with Qt Visual Studio Tools 3.5.0 extension very very slow

    Moved Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    T
    I have similar issue, working on a fairly large project. When build completes and VS is about to launch a debug instance. The process freezes for 5-10 seconds. I'm also getting repeated warnings from Visual Studio that the extension caused VS to become unresponsive. Previous Qt Vs Tools version was working fine.
  • QtCreator experiences performance degradation with each new release

    Unsolved
    9
    0 Votes
    9 Posts
    342 Views
    Andy314A
    A question: How is this integrated. Uses it the full codemodel for the project (I have 140000 LOC) or looks it only the corrosponding CPP-File what should be fast ? I will check the other hints.
  • Creator / cmake: Only build the executable I want to start?

    Unsolved
    7
    0 Votes
    7 Posts
    523 Views
    A
    @cristian-adam I think I'll write a suggestion for an additional "Build current executable only (disable other build targets)"
  • GDB Not Responding

    Moved Solved
    3
    0 Votes
    3 Posts
    509 Views
    D
    This is not a Qt problem, more details. Qt creator feature request here.
  • Creator / cmake: Header file of promoted widgets not found

    Solved
    3
    0 Votes
    3 Posts
    159 Views
    F
    I never thought I'd have to add the current folder (.). That solved my issue indeed.
  • Cannot link QtCreator to existing Qt installation.

    Unsolved
    3
    0 Votes
    3 Posts
    174 Views
    B
    @cristian-adam Ah, yes, that did the trick. Thanks!
  • Creator error but command line works.

    Unsolved
    6
    0 Votes
    6 Posts
    344 Views
    SGaistS
    @oldbrad said in Creator error but command line works.: The moral of this tail is you can NOT install over a Linux package manager installation. Glad you found a solution but the rule is: you shall not install a custom build of a library, whether Qt or another one, over a distribution provided one. You could break your system doing that. However, nothing should prevent them from being properly co-located and used independently by your application.
  • QtCreator 20.0.0 cannot display most object member values when compiled by clang 21.1.4

    Unsolved
    9
    0 Votes
    9 Posts
    378 Views
    cristian-adamC
    @tkansgar I recently stumbled upon this https://github.com/llvm/llvm-project/blob/main/llvm/utils/release/build_llvm_release.bat There you can see how llvm is being built on Windows. You can have something similar for Linux.
  • How to hide bottom panel

    Moved Unsolved
    2
    0 Votes
    2 Posts
    133 Views
    Christian EhrlicherC
    You should at least mention that your problem is within QtCreator when you are not even able to post in the correct category...
  • Issue: Setter & Getters Generation using Alt+Enter

    Moved Unsolved
    3
    0 Votes
    3 Posts
    160 Views
    S
    No i don't have member function. making a new project solved this problem
  • QtCreator freezes von Ubuntu 26.04 after canceling the build

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    J
    @berliner : It was fixed in https://codereview.qt-project.org/c/qt-creator/qt-creator/+/708134 commit. However, it went to Creator 19.0 so please try this version to verify whether it fixes your issue.
  • function is not clickable in Qt Creator

    Moved Unsolved
    2
    0 Votes
    2 Posts
    304 Views
    SGaistS
    Hi, You should add: Which version of Qt Creator Which version of Qt On which OS Try to record a small video showing the issue
  • Examples don't show up

    Solved
    16
    0 Votes
    16 Posts
    4k Views
    G
    Hi, I've solved this problem. In README.md, I found an extra step to install the documentation. I should've run these commands after installing Qt: cmake --build . --target docs sudo cmake --build . --target install_docs But, since I had deleted my qt-build and /opt/Qt6/examples, I did these following to make the examples, along with the documentation, accessible from within Qt Creator: mkdir qt-build && cd qt-build ~/qt-sources/configure -prefix /opt/Qt6 -skip qtwebengine -nomake tests -make examples -- -DQT_BUILD_EXAMPLES_BY_ DEFAULT=OFF -DQT_INSTALL_EXAMPLES_SOURCES=ON cmake --build . --parallel --target docs sudo cmake --install . --component examples_sources sudo cmake --build . --parallel --target install_docs After that, the examples and documentation are accessible from Qt Creator: [image: edb125fb-5997-469c-bdb2-f50239796b90.png] Screenshot of Examples [image: 5a9e5824-ab94-48fc-8351-7bb5b5ba89d8.png] Screenshot of Help
  • QtCreator 20 defaulting to Unix makefilesfor cmake on Ubuntu

    Solved
    4
    1 Votes
    4 Posts
    783 Views
    cristian-adamC
    And if you have Ninja installed via Qt SDK, you should have in your QtCreator.ini something like: [CMakeSpecificSettings] NinjaPath=/Users/cristian/Qt/Tools/Ninja//ninja which should get CMAKE_MAKE_PROGRAM set to this value.
  • Qt Creator is always looking for Ollama since the latest update

    Unsolved
    13
    0 Votes
    13 Posts
    5k Views
    R
    I found out that if I create a new project without any translation files, it opens the project normally. Then if I add a TRANSLATIONS section to the .pro file, I get the error described above. So it might have something to do with Qt Linguist? But I can use different AI models in Lnguist, not necessarily ollama?
  • Creator: clangd uses wrong C++ version - how to fix?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    cristian-adamC
    Go to Tools > Debug Qt Creator > Inspect C++ Code Model ... there you should get access to some information that the code model uses. Otherwise you would have to enable some logging to get more info.
  • How to Enable Python Type Hints in Qt Creator?

    Unsolved
    19
    0 Votes
    19 Posts
    8k Views
    cristian-adamC
    @cristian-adam said in How to Enable Python Type Hints in Qt Creator?: I've opened up QTCREATORBUG-34195: Python debugging not having pretty printers for Pyside6 Qt types. The bug report has been closed, and this is how Qt Creator master (21) looks like: [image: e72021e9-d1f7-4576-877c-ebb5aa2a6ac4.png]