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.5k Posts
Qt 6.11 is out! See what's new in the release blog
  • [CDB] ModuleNotFoundError: No module named 'typing'

    Unsolved
    2
    0 Votes
    2 Posts
    47 Views
    SGaistS
    Hi and welcome to devnet, AFAIK, the typing module is part of Python's standard library. Can you try with an official release ?
  • 0 Votes
    1 Posts
    35 Views
    No one has replied
  • Agentic Chat Improvement in ACP plugin

    Unsolved
    5
    0 Votes
    5 Posts
    223 Views
    SGaistS
    @Jackie said in Agentic Chat Improvement in ACP plugin: Oh I see, sorry for posting in the wrong place. No worries ! You're not the first nor the last in that case. You came to the right place to get directions :-)
  • Setting up qmlls with neovim

    Unsolved
    5
    0 Votes
    5 Posts
    3k Views
    G
    For me (Arch Linux) its this library: unixodbc Installing the library fixed that issue. using this config it loaded: ---@type vim.lsp.Config return { cmd = { 'qmlls6' }, -- may be 'qmlls' for you depending on distro filetypes = { 'qml', 'qmljs' }, root_markers = { '.git' }, }
  • Constrain Clang-Tidy and Clazy to just one file

    Unsolved
    7
    0 Votes
    7 Posts
    454 Views
    SGaistS
    @Nils-Sjoberg said in Constrain Clang-Tidy and Clazy to just one file: @SGaist With great pleasure, English is not my native language. Done :-)
  • Qt scaffold project SIGSEGV debugging it

    Unsolved
    1
    0 Votes
    1 Posts
    104 Views
    No one has replied
  • Is there a way to generate multiple executable in the same project? (CMake)

    Unsolved
    3
    0 Votes
    3 Posts
    383 Views
    M
    Hi alex, i took me some time, i had to restructure the project so many components would become static libraries, but i have to say it was for the better. I like how everything became organized. Thanks for the pointers!
  • How to encode Creator run settings in cmake preset?

    Unsolved
    6
    0 Votes
    6 Posts
    3k Views
    cristian-adamC
    @Asperamanca https://codereview.qt-project.org/c/qt-creator/qt-creator/+/754371 fixes the issue. Do try it out when you have the chance! Thanks.
  • Qt6 project creation in CLion fails.

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    SGaistS
    Excellent ! Happy coding !
  • "QML module not found" error when importing custom qml module

    Unsolved
    4
    0 Votes
    4 Posts
    337 Views
    JKSHJ
    @Simmania said in "QML module not found" error when importing custom qml module: [cmake] CMake Error at custom_qml/MyButtons/CMakeLists.txt:4 (set_target_properties): [cmake] set_target_properties Can not find target to add properties to: [cmake] MyButtonsLib You've swapped the order of qt_add_library() and set_target_properties(). The order in your previous version was fine; you must define the target library first before you can set its properties. When removing line 4, I get the error message: [cmake] CMake Error at C:/Qt/6.11.2/msvc2022_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:1539 (message): [cmake] Metatype generation requires either the use of AUTOMOC or a manual list of [cmake] generated json files So that lines seems needed. You don't need it if you called qt_standard_project_setup() at the start of your project. This automatically enables AUTOMOC on all of your targets (and it also enables other features): https://doc.qt.io/qt-6/qt-standard-project-setup.html#description Note that I'm not sure about target_link_libraries(appstudio PRIVATE Qt6::Quick MyButtonsLib ) Maybe that should be target_link_libraries(appstudio PRIVATE Qt6::Quick MyButtonsLibplugin ) But it seems to make no difference. For STATIC modules, the official examples use *plugin: https://github.com/qt/qtdoc/blob/v6.11.2/examples/demos/mediaplayer/CMakeLists.txt#L31-L33 (Note: In practice, you could probably omit "MyButtonsLibplugin" and rely on qmlimportscanner to automatically find it... but I like to specify the link for clarity)
  • Follow-up on QTCREATORBUG-34790: still reproducible on 20.0.1

    Unsolved
    7
    0 Votes
    7 Posts
    485 Views
    SGaistS
    @Louis100 Hi, Check this post about accessing the bug report system.
  • Qt Creator fails to recognize the GDB whose version output contains extra numbers

    Solved
    10
    1 Votes
    10 Posts
    637 Views
    SGaistS
    @aha_1980 good point ! I did not think of the snapshots.
  • Trouble Running Project

    Moved Unsolved
    7
    0 Votes
    7 Posts
    571 Views
    JKSHJ
    @JKSH said in Trouble Running Project: Please use a currently-supported version of Qt (the latest release is Qt 6.11.3) and load a different demo. If you give us some details about what kind of functionality do you want to see and what operating system(s) you want to develop for, perhaps we can help you to find a suitable, more up-to-date demo. If you're after an instrument cluster demo, the most recent one I could find for desktop/embedded platforms is https://git.qt.io/public-demos/qtquick3d/-/tree/master/XaxisCluster -- this can run on Qt 5.15, but not on Qt 6. Note: Nowadays, manufacturers are using automotive-specific operating systems and MCUs for creating automotive software (including instrument clusters). So you'd want to look at Qt for Android Automotive, Qt for MCUs (Qt Quick Ultralite), and Qt Safe Renderer. These are commercial-only products, however.
  • accidentally hide the menu bar and left side bar. How to fixed it.

    Moved Unsolved
    2
    0 Votes
    2 Posts
    213 Views
    Chris KawaC
    In the locator (the little search box in lower left corner) type t Show Menu Bar and press enter. Once you have menu back in the View menu there's a Modes submenu. In these select either Icons and Text or Icons Only option to show the side bar.
  • qc20.0 cannot open the file in console output

    Unsolved
    11
    0 Votes
    11 Posts
    681 Views
    JonBJ
    @SimonSchroeder The question is why the change in behaviour: but qc18 is ok, qc20 cannot open the same FILE MACRO Your statements are true, but why does behaviour apparently differ from Creator 18 to 20?
  • QtCreator freezes von Ubuntu 26.04 after canceling the build

    Unsolved
    12
    0 Votes
    12 Posts
    4k Views
    B
    I moved the output folder to a local folder inside the VM. That seems to solve the problem. Only issue now is that when I run a build the Build Settings right beneath "Build directory" say: "The Makefile is for a different project. The build will be overwritten" This is only for the active build. When I change from debug to release, the message disappears in debug and appears in release and vice versa. It won't go away when I specify a full absolute path to somewhere in the local file system. It's bit strange, because Debug and Release builds are compiled into different folders without problem. Nothing is overwritten.
  • Qt Creator 20.0.1 released

    Unsolved
    4
    2 Votes
    4 Posts
    349 Views
    C
    @JKSH Thanks!
  • Delete unused QML files from project. How?

    Unsolved
    2
    0 Votes
    2 Posts
    189 Views
    SGaistS
    Hi, AFAIK, no. The most simple is to update your CMakeFiles.txt and either comment out the lines with the files or delete them.
  • Is it wise to use C++ modules these days?

    Unsolved
    4
    0 Votes
    4 Posts
    387 Views
    S
    Thx! Guess it is better to start with plain .cpp and .h file for now.
  • Elided settings limit error

    Moved Unsolved elide mode socket help
    13
    0 Votes
    13 Posts
    842 Views
    Christian EhrlicherC
    @Joe-von-Habsburg said in Elided settings limit error: any solution here? due to settings limit So did you check the settings for such a limit?