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.7k Topics 35.8k Posts
  • Qt Creator plugin - how to modify current editor margins

    Unsolved plugin c++ qt creator
    6
    0 Votes
    6 Posts
    520 Views
    SebastianMS
    My change to center editor content is on Qt gerrit. https://codereview.qt-project.org/c/qt-creator/qt-creator/+/701362 Let's see how Qt devs react to this.
  • Raspberry Trixie und Qt Creator

    Unsolved
    10
    0 Votes
    10 Posts
    164 Views
    Axel SpoerlA
    There was a known issue in the framebuffer backing store, where menus weren't displayed correctly. IIRC it was fixed in Qt 6.5. Which version are you using?
  • How do we fix "C and C++ compiler paths differ. C compiler may not work."

    Unsolved
    14
    0 Votes
    14 Posts
    9k Views
    C
    Thanks Ronel_qtmaster, that was exactly the problem. So in Qt Creator, for my project, via [Manage Kits...], I removed the two existing entries pointing to clang, and the only entry remaining was GCC (x86 64bit at "/bin/gcc" with type GCC Below 'Manual' I added an entry named "G++", pointing to "bin/g++" Then the project was automatically refreshed with this new information. And after a new Build > Run qmake , the error had disappeared ! Thanks and happy new years eve !
  • After I changed the names of several controls, Qt Creator crashed and closed.

    Moved Unsolved
    4
    0 Votes
    4 Posts
    48 Views
    SGaistS
    Hi, From the looks of it: I[03:28:45.275] <-- reply(2) PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var LLVM_SYMBOLIZER_PATH to point to it): You seem to have found a way to make llvm crash.
  • QTCreator18.0.1 unidentifiable Chinese code in ubuntu18.04

    Unsolved
    7
    0 Votes
    7 Posts
    75 Views
    Z
    @aha_1980 ok,I gave it a try and it was normal,thanks.
  • QtCreator 17 + Qt6.10.1 + Raspberry Pi => No executable file was specified

    Solved
    2
    0 Votes
    2 Posts
    55 Views
    M
    Solution was to install gbdserver on the Raspberry Pi.
  • QtCreator Multiple Help Documentation Versions

    Unsolved
    3
    0 Votes
    3 Posts
    71 Views
    KenAppleby 0K
    @Chris-Kawa Thanks, that's very helpful. The Maintenance Tool with --show-virtual-components shows documentation and examples, as you say. Very useful. My Qt/Docs folder contains only a 6.10.1 subfolder. But I continue to get 6.8.5 docs offered. My Maintenance Tool, when set to show "Latest supported releases" lists 6.10.1, 6.9.3, 6.8.3, 6.7.3, 6.5.3 which seems wrong because the 6.8 version should be 6.8.5 I think. All except 6.10.1 are empty. I suspect my Maintenance Tool installation is broken, so I will try reinstalling that.
  • Qt Creator: Ordering of debug/release builds?

    Solved
    7
    0 Votes
    7 Posts
    211 Views
    cristian-adamC
    @KH-219Design said in Qt Creator: Ordering of debug/release builds?: @cristian-adam am I understanding correctly that the key insight (or the key cmake feature that unlocks the possibility) is to use ExternalProject ? Only if you need the Visual Studio CMake generator. If you are using Ninja, then add_subdirectory is enough.
  • getting non-simply named items in Header and Source Files in the project tree (Cmake)

    Unsolved
    2
    0 Votes
    2 Posts
    75 Views
    cristian-adamC
    @janhec have a look at CMake's source_group which is also used by Qt Creator to organize the project view.
  • Qtcreator 13.0.0 generates empty compile_commands.json for clangd

    Unsolved
    3
    0 Votes
    3 Posts
    90 Views
    Z
    You probably cannot do anything about that directly, and I'm not even sure if or how Qt Creator could find out what to write into the commands for this. A possible workaround to still be able to sensibly work with the project in Qt Creator might be to let CMake generate the compilation database, and then use the Compilation Database plugin (disabled by default, I think, so you might need to turn that on first) to directly open the project as a compilation database project instead of a CMake project https://doc.qt.io/qtcreator/creator-how-to-use-compilation-databases.html
  • Installed library is not seen in Qt Creator

    Solved
    4
    0 Votes
    4 Posts
    95 Views
    SGaistS
    I encourage you to go to the QSerialPort documentation. It's a the top of the page. Installing a module and making use of it in your project are two very different things. There's no reason for the installer nor the maintenance tool to go affect your projects. The "adding a library" part is for non Qt modules.
  • Local LLM-assisted text completion for Qt Creator

    10
    3 Votes
    10 Posts
    2k Views
    SGaistS
    @cristian-adam you forgot to say please ;-)
  • Qt Creator plugin - how to hide output panes

    Solved
    6
    0 Votes
    6 Posts
    266 Views
    SebastianMS
    Thank you. That covers case action.setChecked("QtCreator.ToggleLeftSidebar", false) - so I can hide sidebars. Similary with action.setChecked(""QtCreator.Modes.IconsOnly", true).
  • qDebug() doesn't show messages in Qt Creator/Application Output

    Moved Solved
    44
    0 Votes
    44 Posts
    2k Views
    JonBJ
    @cristian-adam Very interesting, thank you. It turns out there is some vsdbg.exe, which I take to be the actual debugger as its own executable. Which you can "drive", if you know what to send it. I didn't care about DWARF, PDB etc. I was interested in which debuggers allow a host to "talk" to them and vice versa, send it commands, read variables, etc. Which is what Creator will require. I know gdb can do it. I didn't know there was a standalone executable for the debugger from VS, I thought it was a built in.
  • Qt Creator 18.0.1 released

    Unsolved
    1
    1 Votes
    1 Posts
    57 Views
    No one has replied
  • bugreports.qt.io what happened

    Unsolved
    2
    0 Votes
    2 Posts
    110 Views
    SGaistS
    Hi, The Qt Company had to migrate their Jira instance. Everything is explained in this Wiki article.
  • Examples don't show up

    Unsolved
    15
    0 Votes
    15 Posts
    521 Views
    G
    @jsulm In /opt/Qt6/doc/ there are two folders called config and global. The contents of /opt/Qt6/examples are shown in the picture below: [image: 3efa5588-09ab-4525-b95d-1680d94f7516.png] Both folders are owned by root and have their permissions set to rwxr-xr-x
  • Project does not configure correctly when created on Linux Fedora.

    5
    0 Votes
    5 Posts
    270 Views
    S
    @jsulm I wondered about that myself. But it does not seem to be the issue. I fixed it by installing the dependencies from @cristian-adam comment :)
  • 0 Votes
    4 Posts
    174 Views
    jsulmJ
    @srimuthu I think you will have to implement this by yourself. If you move the scroll bar to the top to see older messages you need to fetch those messages and add them to the widget, then the scrollbar should adjust.
  • Qt Creator 18 in Qt 6.10 dies on Windows 11 Insiders with no output

    Moved Solved
    7
    0 Votes
    7 Posts
    284 Views
    SGaistS
    Starting Qt Creator with the QT_DEBUG_PLUGINS environment variable set to 1 might have shown the culprit.