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.4k Topics 34.3k Posts
  • qmake: Get parent path / chop one path level

    Unsolved
    21
    0 Votes
    21 Posts
    10k Views
    SGaistS

    @kkmspb you're welcome!

    That's likely related to the old forum which rendered double $ as single hence using a space was mandatory in the answer to show that two were required.

  • how to use Performance Analyzer on Windows

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    JonBJ

    @shokarta
    perf is only available on Linux, not Windows. E.g. https://stackoverflow.com/questions/34641644/is-there-a-windows-equivalent-of-the-linux-command-perf-stat. I don't think MinGW offers a perf. You would have to search around for your own equivalent, and change command line. Basically you might want to try to do it externally from Creator.

    Linux perf I think would not tell you anything/much about what's going on in JS scripts. Don't know about Windows, MSVC has a profiler, don't know if you can use it best outside VS.

    https://forum.qt.io/topic/129737/qtcreator-5-performance-analysis-on-a-windows-10-platform
    https://training.kdab.com/portfolio/debugging-and-profiling-qt-applications-on-windows/
    https://wiki.qt.io/Profiling_and_Memory_Checking_Tools
    https://stackoverflow.com/a/34689067/489865

  • 0 Votes
    6 Posts
    1k Views
    J

    For latecomers, you could keep track of this issue here: https://bugreports.qt.io/browse/QTCREATORBUG-32283

  • Qt VS Tools not (fully) working with MSVC 2022 & Qt 6.8.0

    Unsolved
    4
    0 Votes
    4 Posts
    906 Views
    JKSHJ

    @dano said in Qt VS Tools not (fully) working with MSVC 2022 & Qt 6.8.0:

    but now the Qt VS Tools (version 3.3.1 (rev.1)) seem to have stopped working.

    Do you mean this bug? https://bugreports.qt.io/browse/QTVSADDINBUG-1284

    If not, please elaborate -- What exactly has stopped working?

  • 0 Votes
    2 Posts
    425 Views
    C

    +1. View is greyed out. Also having a weird problem of this version hogging focus.

    Arch Linux Latest w/ Sway (Wayland)

  • How to configure QtCreator to use Clang 19 instead of GCC

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    Pete CarterP

    @cristian-adam

    Thanks man

  • How do I create a CMakePresets.json file with Qtcreator?

    Unsolved
    3
    0 Votes
    3 Posts
    472 Views
    cristian-adamC

    Thank you for creating https://bugreports.qt.io/browse/QTCREATORBUG-32220!

  • 0 Votes
    2 Posts
    62 Views
    Guy GizmoG

    I've figured it out: the trick is to use the menu item "Build for run configuration..." and assign that the Command+B keystroke.

  • Default project fails

    Unsolved
    21
    0 Votes
    21 Posts
    461 Views
    JonBJ

    @jimbrownqtuser said in Default project fails:

    The solution was to change the desktop kit so the C++ compiler was GCC instead of CLANG.

    Indeed! I can only say that my 24.04 installation (with Qt6) did this already, I never had a problem.
    It's obviously not helpful that it creates a project yet then cannot handle it.

  • Power usage is very high for Qt Creator 15.0.0

    Unsolved
    2
    0 Votes
    2 Posts
    62 Views
    SGaistS

    Hi,

    It's likely the code model that is at play.
    You need to do some more spelunking to determine what exactly are the hot paths.

  • CMake Tool is unconfigured. CMake generator will be ignored.

    Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    8Observer88

    @cristian-adam said in CMake Tool is unconfigured. CMake generator will be ignored.:

    Try to register a manual CMake tool and set that as default.

    Sometimes this helps.

  • 0 Votes
    4 Posts
    82 Views
    SGaistS

    Was that a Qt 4 project or already a Qt 5 one ?
    Can you share the .pro file ?

  • Cannot find the Qt platform plugin after migrating to Qt 6

    Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • 0 Votes
    22 Posts
    30k Views
    osirisgothraO

    The problem? PLUGIN writers are not respecting/inheriting QPalette properly, and are using hard coded defaults and saying "ah good enough". It seriously sucks having to forfiet the entire dark mode just because state charts are white--but i couldnt stand the constant going back/forth from dark to white. So in essence, for me, dark mode isn't useful.

    Yes there is dark mode, no plugin and qch help makers are ignoring the palette and giving us no possible way to customize it.

  • need some help, please~~~

    Moved Solved
    3
    0 Votes
    3 Posts
    75 Views
    H

    issue was resolved when i regenerate this component~~
    It should be an issue where the class name and component name do not correspond

  • 0 Votes
    1 Posts
    32 Views
    No one has replied
  • Preview a Mockup

    Unsolved
    2
    0 Votes
    2 Posts
    55 Views
    Christian EhrlicherC

    Not sure if it's correctly translated from german but 'Extras' -> 'Formular Designer' -> 'Preview'

  • QT Design problem with qt target

    Unsolved
    3
    0 Votes
    3 Posts
    69 Views
    M

    Yes, I tried. But it is not possible to compile the project on qt5 and it is not possible to reopen the same project from qt design studio if I change the settings in the CMake file

  • 0 Votes
    6 Posts
    168 Views
    SGaistS

    Don't hesitate to open new topics if other issues arise.

  • Fake error with structure

    Unsolved
    9
    0 Votes
    9 Posts
    186 Views
    JonBJ

    @Bondrusiek
    If you do not Use clangd then it uses an old, internal one which is not maintained/changed much any longer.