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.5k Posts
  • ERROR IN THE QTCREATOR, RELATED TO CMAKE AUTO SETUP CONFIG

    Unsolved
    3
    0 Votes
    3 Posts
    794 Views
    cristian-adamC
    @Amirreza-Taghizadeh Go to Qt Creator > Preferences > CMake > General and unselect Package manager auto setup. Your project has two errors: project could not find requested file: C:/Users/Asus/Projects/untitled4/build/Desktop_Qt_6_7_3_MSVC2019_64bit-Debug/.qtc/package-manager/auto-setup.cmake CMake Error at C:/Qt/Tools/CMake_64/share/cmake-3.29/Modules/FindThreads.cmake:66 (message): FindThreads only works if either C or CXX language is enabled The first error is due to the missing .qtc/package-manager/auto-setup.cmake which should be copied by Qt Creator before running CMake to configure your project. The second error, is weird, as if your project doesn't have the C and CXX languages declared. How does your project() function call at CMakeLists.txt:3 looks like?
  • View files at specific git revisions in Qt Creator

    Unsolved
    4
    0 Votes
    4 Posts
    780 Views
    aha_1980A
    Regarding 2: That is a good point, I've pushed https://codereview.qt-project.org/c/qt-creator/qt-creator/+/595464 to allow showing a log for all branches. That should solve your problem. Regarding 1: Have you alread tried adding the -client-Option? Attempt to connect to already running first instance Regards
  • Building an Instrument Cluster for Your Car

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    Q
    After some more digging I think I found them here: https://git.qt.io/public-demos/qtdesign-studio/-/tree/master/examples/ClusterTutorial?ref_type=heads
  • There is no GDB binary available for binaries in format "x86-windows-msys-pe-64bit".

    Solved
    10
    1 Votes
    10 Posts
    5k Views
    C
    recently started my studies and we require QT for the course but I have the same problem, I've tried several mirrors of the installer but with no luck, don't know how to go forward as I'm completely new to all of this.
  • 'QLibrary' file not found

    Unsolved
    3
    0 Votes
    3 Posts
    350 Views
    D
    @cristian-adam Thank you!
  • 0 Votes
    3 Posts
    297 Views
    H
    @JonB Thanks for the answer. I will delete the post from here and repost it.
  • stdio.h not found in QT for MVSC2019

    Unsolved
    3
    0 Votes
    3 Posts
    443 Views
    K
    Many thanks, JOnB, it was actually "C://Program Files (x86)//Windows Kits//10//Include//10.0.19041.0//ucrt" But your suggestion put me on the right track! Thanks again for your quick answer.
  • Qt Creator cannot set up MSVC2019 compiler successfully.

    Solved
    4
    0 Votes
    4 Posts
    782 Views
    C
    Yes, you're right. Thank you for your help.@cristian-adam
  • My QT version cannot detect the Android environment, but I have already downloaded it.

    Unsolved
    4
    0 Votes
    4 Posts
    376 Views
    A
    With Qt 6.5 you should have NDK 25 selected as default NDK instead of 21.
  • cmake 工程不能引用libmodbus三方库

    Unsolved
    2
    0 Votes
    2 Posts
    315 Views
    Christian EhrlicherC
    Please write in English or use the appropriate subforum for your language.
  • Qt Creator text editor color scheme for global variables dosn't seem to work

    Unsolved
    1
    0 Votes
    1 Posts
    147 Views
    No one has replied
  • QMenu is missing

    Moved Unsolved
    2
    0 Votes
    2 Posts
    272 Views
    C
    Menu bars only exist in QMainWindow in Designer. If you are working with a QWidget-based form then you will need to code inserting a QMenuBar and Qmenu items into a layout. As it says in the docs, "Menus are added to the menu bar by modifying the Type Here placeholders. One of these is always present for editing purposes, and will not be displayed in the preview or in the finished window." [image: b05e2834-c21c-4939-8f82-ebf28bb20f27.png] or [image: da6338ee-505b-4e41-9da2-a76333e8b15d.png]
  • Problem about qtcreator with qt5 and qt6 coexist

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    D
    Hi guys,when i run the example project,there is another error which tells me that I dont have Qt platform plugin. As below: [image: 0ad04da2-5236-4d80-934e-c0dd00e75ac5.png]
  • Qt Creator Hangs when Opening Project

    Moved Unsolved
    2
    0 Votes
    2 Posts
    368 Views
    Pl45m4P
    @sarsarsar Hi, what OS are you using? How did you install Qt / QtCreator? How does your project structure look like? Do you have any *.pro.user files in there? Was this project imported from somewhere else? If so delete everything except the *.pro file and all the code files, delete the build folder, if any, and try again.
  • Remote debugging fails with a cryptic message

    Moved Unsolved
    4
    0 Votes
    4 Posts
    828 Views
    S
    I am using crosstool-ng-1.25.0 as my toolchain. Host uBuntu 20.4 64bit Qt5.12.8 QtCreator 4.11.0 RasPi CM4 Debian12.6 64bit Set GDB on the host to /bin/gdb-multiarch This was installed with sudo apt-get install gdb-multiarch. When I started debugging with this setting, a message similar to the poster's was displayed. I reset the GDB on the host to ~/x-tools/aarch64-rpi4-linux-gnu/bin/aarch64-rpi4-linux-gnu-gdb (Binaries built with crosstool-ng) and re-ran, and it ran normally without terminating the process. Is this helpful?
  • 0 Votes
    12 Posts
    6k Views
    M
    Same Issue faced in qt creator 14.0.1 version as well. It got resolved after disabling the use of Python dumper (Tools > Options > Debugger > CDB Tab > Use Python dumper). The reason can be found here https://doc.qt.io/qtcreator/creator-preferences-debugger-cdb.html Thanks @Benjamin07-0
  • Qt Creator Pyside6 project QML modules not found

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    A
    So after trying all possible suggestions from the yellow popup this is what worked: the untitled9.pyproject file contents { "qmlImportPaths": [ "/home/jon/Documents/QtDesignerProjects/untitled9/.qtcreator/Python_3_12_4venv/lib/python3.12/site-packages/PySide6/Qt/qml/" ], "files": [ "main.py", "main.qml" ] } This is according to the message for Qbs projects, declare and set a qmlImportPaths property... Now I can import Qml modules and have autocomplete in the Qml editor
  • Text in Qt Designer more or less unreadable

    Moved Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    kkoehneK
    Looks like the issue is also fixed in upcoming Qt 6.8.0. I can't reproduce it in the latest RC packages, at least.
  • "No suitable kits found." "No QML utility installed." Fedora 40, Qt 6.7.2.

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    L
    At the very least the qt6-qtdeclarative but depending on what you want to develop, just get them all. Actually, the package I needed was qt6-qtdeclarative-static, which installed qt6-qtdeclarative-devel. Thanks for the reply.
  • Creator: Quickly disable auto-indent?

    Unsolved
    4
    0 Votes
    4 Posts
    834 Views
    A
    Well, I posted a suggestion for "undo indentation /formatting only" via Qt Support now...