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
  • qc20.0 cannot open the file in console output

    Unsolved
    3
    0 Votes
    3 Posts
    93 Views
    hskoglundH
    Hi, I think the FILE macro is not the best way to find your main.cpp file since it usually skips giving you the full path to the file. For the MSVC compiler you can try the /FC compile switch
  • Qt Vs Tools Project creation failing for Linux (SSH|WSL)

    Moved Unsolved
    6
    0 Votes
    6 Posts
    190 Views
    G
    I have prodded the wizard some more and found the following: If you take the above config and remove the Debug Configuration it successfully created the project. (Although there's some issues when compiling) Setting the build system to "CMake Project for Qt" always fails with "Object reference not set to an instance of an object." once a linux target is selected The with the project created for WSL Visual Studio complains that this is targetting WSL1 and that the QT Installation path isn't set correctly So yeah I guess I'll have to this very diffently than expected
  • Trouble Running Project

    Moved Unsolved
    4
    0 Votes
    4 Posts
    147 Views
    SGaistS
    @Qreator35 Hi, You might want to give a bit more explanation about what is happening. The screenshots might be out of order or you are showing that you have progressed between different errors. etc. Please add details.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • 0 Votes
    15 Posts
    455 Views
    JonBJ
    @HansKottmann said in qDebug() is not working anymore in QT-Creator (Installed from QT-Installer from QT.io, OS: Manjaro Linux: The only thing I've changed is the args QStringList, it looks now exactly like yours, the only difference are the quotation marks at the beginning and the end of the file path string because filenames can have white spaces: I already explained earlier that you are calling errorString() too early. So did @jsulm . And what to do about it. Your Unknown Error currently does not indicate anything has gone wrong. You need to change your code. Your understanding of whitespace as it appears when you type a command into a shell versus how to pass arguments to spawned processes is not right. The arglist should be as a wrote and not have quotes. Or send the whole command line to bash -c.
  • Elided settings limit error

    Moved Unsolved elide mode socket help
    11
    0 Votes
    11 Posts
    304 Views
    Christian EhrlicherC
    Moved the 'QtCreator and other tools' as this is a question on QtCreator debug output even though OP did not mentioned it.
  • QtCreator freezes von Ubuntu 26.04 after canceling the build

    Unsolved
    11
    0 Votes
    11 Posts
    3k Views
    Nils SjobergN
    Upgrade to QtCreator 19+ with the known fix, or move the build folder from a shared folder (vboxsf) to a local disk (ext4) inside the virtual machine, perhaps because the problem is related to I/O against a shared folder with Windows, and not to the QtCreator version itself.
  • Qt desktop app crashing at startup

    Solved
    13
    0 Votes
    13 Posts
    623 Views
    SGaistS
    @Jennise-Hall said in Qt desktop app crashing at startup: @SGaist LOL useful information though. Agreed ! :-)
  • QT 20.0.1 INSTALLATION ISSUE

    Unsolved
    2
    0 Votes
    2 Posts
    99 Views
    Nils SjobergN
    Download from qt.io/download-qt-installer-oss (not the generic address) and log in with a new/clean Qt account that has not previously been linked to a commercial or trial license.
  • Qt Creator 20.0.1 released

    Unsolved
    1
    2 Votes
    1 Posts
    84 Views
    No one has replied
  • QtCreator 20.0.0 cannot display most object member values when compiled by clang 21.1.4

    Unsolved
    10
    0 Votes
    10 Posts
    609 Views
    T
    Hi again, in the meantime our clang experts are working on a solution for using lldb. I'm sure they will do it well. I still have another issue with lldb. But therefore I will start another thread or even create a bug ticket. And for the issue with gdb not showing the object member values (which was my original one) I first will try to find out, whether there is a new gdb version doing it better.
  • Is there a way to generate multiple executable in the same project? (CMake)

    Unsolved
    2
    0 Votes
    2 Posts
    197 Views
    Axel SpoerlA
    Hello, you can have multiple executables in one CMake project, and deal with it in one single Qt Creator instance. As a template you can git clone "https://codereview.qt-project.org/qt/qtqa" and load .../src/fuzzgen/CMakeLists.txt in Qt Creator. It's a project with multiple executables. You can select the run target like that: [image: aa73058f-e72b-45f2-9e27-b532d2583f5e.png]
  • Cant find a way to implement MPV player into my project

    Unsolved
    4
    0 Votes
    4 Posts
    213 Views
    SGaistS
    Not that I want to discourage you but did you consider using Qt Multimedia ? It already provides support for playing music using ffmpeg under the hood. That said, did you already check the mpv C client api ?
  • having an issue

    Moved Unsolved
    2
    0 Votes
    2 Posts
    159 Views
    SGaistS
    Hi, Which version of Qt Creator ? Which version of Qt ? On which OS ? Does it happen if you use a default project ? Is it a complex class ? Do you have a more complete error message ?
  • Visual Studio 2026 with Qt Visual Studio Tools 3.5.0 extension very very slow

    Moved Unsolved
    7
    0 Votes
    7 Posts
    4k Views
    T
    I have similar issue, working on a fairly large project. When build completes and VS is about to launch a debug instance. The process freezes for 5-10 seconds. I'm also getting repeated warnings from Visual Studio that the extension caused VS to become unresponsive. Previous Qt Vs Tools version was working fine.
  • QtCreator experiences performance degradation with each new release

    Unsolved
    9
    0 Votes
    9 Posts
    529 Views
    Andy314A
    A question: How is this integrated. Uses it the full codemodel for the project (I have 140000 LOC) or looks it only the corrosponding CPP-File what should be fast ? I will check the other hints.
  • Creator / cmake: Only build the executable I want to start?

    Unsolved
    7
    0 Votes
    7 Posts
    668 Views
    A
    @cristian-adam I think I'll write a suggestion for an additional "Build current executable only (disable other build targets)"
  • GDB Not Responding

    Moved Solved
    3
    0 Votes
    3 Posts
    586 Views
    D
    This is not a Qt problem, more details. Qt creator feature request here.
  • Creator / cmake: Header file of promoted widgets not found

    Solved
    3
    0 Votes
    3 Posts
    235 Views
    F
    I never thought I'd have to add the current folder (.). That solved my issue indeed.
  • Cannot link QtCreator to existing Qt installation.

    Unsolved
    3
    0 Votes
    3 Posts
    230 Views
    B
    @cristian-adam Ah, yes, that did the trick. Thanks!