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.7k Posts
  • Qtcreator 13.0.0 generates empty compile_commands.json for clangd

    Unsolved
    3
    0 Votes
    3 Posts
    41 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
    32 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 modify current editor margins

    Unsolved plugin c++ qt creator
    5
    0 Votes
    5 Posts
    408 Views
    SebastianMS
    My experiments with modifying Current Text Editor left side margin are stored in ZenMode_QtCreatorPlugin branch. Unfortunatelly - no success.
  • Qt Creator plugin - how to hide output panes

    Solved
    6
    0 Votes
    6 Posts
    139 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
    1k 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
    37 Views
    No one has replied
  • bugreports.qt.io what happened

    Unsolved
    2
    0 Votes
    2 Posts
    70 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
    258 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
    129 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
    85 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
    162 Views
    SGaistS
    Starting Qt Creator with the QT_DEBUG_PLUGINS environment variable set to 1 might have shown the culprit.
  • Qt Creator can't create new project

    Unsolved
    3
    0 Votes
    3 Posts
    123 Views
    SGaistS
    Hi and welcome to devnet, Beside the suggestion of @JonB, another thing you can try is to start Qt Creator with -temporarycleansettings to see if there might be something off with the settings.
  • QtCreator 18.0.0 often throws file errors when modifying code and Ctrl+S.

    Unsolved
    5
    0 Votes
    5 Posts
    139 Views
    CalciferC
    @cristian-adam said in QtCreator 18.0.0 often throws file errors when modifying code and Ctrl+S.: @Calcifer You could use Process Monitor with qtcreator.exe and find out what is going on when you get the message box. Thank you! I have got Process Monitor opening, and trying to add my workdir to the whitelist of anti-virus software, that should work.
  • Promoted Widget 'header not found' on compile

    Unsolved
    8
    0 Votes
    8 Posts
    186 Views
    T
    @JonB Thanks include_directories(<include directory>) worked.
  • Qt Creator debugger, very slow

    Unsolved
    8
    0 Votes
    8 Posts
    6k Views
    T
    @sandmeteor, very helpful, thanks a lot!
  • Qt Creator 18 not showing debug fault reason information.

    Unsolved
    4
    0 Votes
    4 Posts
    149 Views
    cristian-adamC
    @Sosowski You might have to install gdb from the package manager. Then you would have to change the debugger in the Kit's settings.
  • Upgrade Qt & Mingw, GDB does not stop console applications in C

    Moved Solved
    4
    0 Votes
    4 Posts
    184 Views
    V
    Hi Thanks For your answer, It's Qt Creator, i use an external terminal. I used the Debbuger Log, but it closes when I close the application. Attached is the random error message that appears when I stop the application in debug mode and want to restart it. Thanks, VIncent [image: a29919e9-237b-470c-9f4e-1f3901ab9628.PNG]
  • QtCreator + GitHub Copilot Plugin

    Unsolved
    1
    0 Votes
    1 Posts
    74 Views
    No one has replied
  • QTCreator stuttering

    Unsolved
    3
    0 Votes
    3 Posts
    104 Views
    cristian-adamC
    @asenzz It has been mentioned in the past that the Android plugin could be the cause of short freezes. But we do need to know more details.