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
  • QT Creator crashes when opening a qmake project

    Unsolved qtcreator
    6
    0 Votes
    6 Posts
    1k Views
    D
    @cristian-adam Hi, unfortunately no crash dumps are collected.
  • Link for downloading Qt Creator 13.0.0(Community)

    Unsolved
    3
    0 Votes
    3 Posts
    450 Views
    jsulmJ
    https://download.qt.io/official_releases/qtcreator/13.0/13.0.1/ Are you sure you only need QtCreator? Maybe you also need Qt?
  • 0 Votes
    4 Posts
    2k Views
    cristian-adamC
    Qt Creator 13.0.x comes with LLVM 17. Just upgrade to https://download.qt.io/official_releases/qtcreator/13.0/
  • I compiled Windows target on Linux, but is there a standard way to do it?

    Unsolved
    5
    2 Votes
    5 Posts
    2k Views
    A.v.OA
    Update on Cross-Compiling In the mean time I created GitHub repository which demonstrates the use of a privately hosted Docker image assembled by using this GitHub repository and its script cpp-builder.sh. (It is a lot easier to download/pull the Docker image from nexus.scanframe.com:8090/gnu-cpp:dev) It accommodates building Qt Linux and Windows targets as well as performing unit testing. A GitLab runner uses it to execute a pipeline which executes a CMakePreset-workflow. The same Docker image is used to build, run, debug and test locally by mounting the X-server socket into the Docker VM. Preset allow workflows and individual presets to be executed using the script docker-build.sh. [image: 54a39532-fcca-49c9-bd87-cd0c54bc5837.png] Hopefully someone can benefit from my work on this :)
  • qcreator debug font size

    Unsolved
    1
    0 Votes
    1 Posts
    125 Views
    No one has replied
  • QT creator can't seem to find the module plugin for a separate directory

    Unsolved
    1
    0 Votes
    1 Posts
    131 Views
    No one has replied
  • Clangd header-insertion

    Moved Unsolved
    3
    1 Votes
    3 Posts
    987 Views
    DolfostD
    @Brynjolf Have You figured something out?
  • 0 Votes
    4 Posts
    585 Views
    S
    @sierdzio For future reference, this did not solve the issue.
  • 0 Votes
    2 Posts
    425 Views
    jsulmJ
    @anushka_prajose said in How to resolve error : No compiler can produce code for this Qt version. Please define one or more compilers for: x86-linux-generic-elf-64bit: What should be done ? You need Qt built for your target device. The device uses an ARM CPU as far as I can see and you're trying to use Qt built for x86_64 - this is not going to work. Please use shorter titles for your posts.
  • C++ error detected

    Unsolved
    7
    0 Votes
    7 Posts
    727 Views
    JonBJ
    @Ran_Flora As @Christian-Ehrlicher has said, the error message about "missing } for {" immediately after #include <iostream> makes it seem like that file (or something it includes) is somehow incorrect.....
  • Resizing Treeview icon

    Solved
    2
    0 Votes
    2 Posts
    264 Views
    A
    Okay, i found a way to do it i was looking in the QStandardModel documentation, thinking it would be there, but I found it in the QAbstractItemView documentation.
  • Can I have horizontal west-sided tabs ?

    Moved Unsolved
    8
    0 Votes
    8 Posts
    720 Views
    JoeCFDJ
    @GAlbert maybe you can try to customize Tab Bar if you use qtabwidget
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • No rule to make target ‘FireboyWaterGirl.’ Stop.

    Unsolved
    2
    0 Votes
    2 Posts
    236 Views
    sierdzioS
    Please post your .pro file (if using qmake) or CMakeLists.txt (if using cmake), maybe we'll spot some error there.
  • BUG while using QDesigner "goto slot"

    Moved Unsolved
    2
    0 Votes
    2 Posts
    308 Views
    Axel SpoerlA
    This behavior points at a corrupted project tree. It can happen e.g. when files were moved or renamed on disk, without using the rename function of Qt Creator. So the bug is outside of Qt. If memory serves well, we had a discussion about project file structure in another thread. That’s probably related. I also seem to remember that you asked the question before, in answered it, you reported a bug and I closed it for exactly the reason I explained.
  • Qt creator debugger stops at LdrInitShimEngineDynamic

    Moved Unsolved qt creator
    10
    0 Votes
    10 Posts
    2k Views
    G
    I had the same problem. Try these steps: Delete the %APPDATA%/QtProject folder. You may want to make a backup copy first, as all your QtCreator settings will be reset. If step 1 does not help, try reinstalling the MSVC compiler and CDB debugger (installed separately using Debugging Tools for Windows). I didn’t look into the problem in more detail, it seems like something happened to the debugger configuration.
  • Qt Creator 13 doesn't detect the Android virtual device

    Unsolved
    1
    0 Votes
    1 Posts
    133 Views
    No one has replied
  • Is it a bug in Qt Creator?

    Unsolved
    8
    0 Votes
    8 Posts
    566 Views
    O
    @JKSH said in Is it a bug in Qt Creator?: @open-src Looks like Qt Design Studio doesn't handle absolute paths in importPaths. Thanks, that‘s what I means. @JKSH said in Is it a bug in Qt Creator?: But I agree with the others: it is not a good idea to develop, build, and test apps as root Thanks, I know it, and I won't be using the root user in my official work.
  • Qt Creator Menus and tooltips don't display when headless

    Unsolved
    3
    0 Votes
    3 Posts
    561 Views
    ad1170A
    Great, works also for me. Thanks.
  • 0 Votes
    11 Posts
    2k Views
    H
    @Christian-Ehrlicher I'm convinced you're right for most use cases and applications. I also agree that relying on the working directory causes some hurt. But, I'm dealing with a game with hundreds of megabytes of assets. Baking this stuff into the executable would increase build times, even doing asset-pack files during dev-builds would slow things down. -> More Hurt. Regarding absolute paths: Maybe I'm missing something, what problem do you see with a project wide environment variable for my use case? Sometimes I have to compare two different checkouts of the same code base, so I have two project directories of the same code base at different commits (including assets) and build-A-GCC-Release/bin/foo needs assets from A/... and build-B-clang-Debug/bin/foo needs assets from B/...). So hardcoding paths or using defines or even having user wide configs (e.g. ~/.config/...).