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 36.0k Posts
  • 0 Votes
    5 Posts
    113 Views
    A
    Seems yet another account in yet another service is the only way to go. I'll post my report in the bug tracker and solve this one.
  • QtCreator cannot find CMake conan dependency files when using Conan 2.24

    Unsolved
    8
    0 Votes
    8 Posts
    297 Views
    C
    Oh, I think I know why that is... I didn't include this to simplify the example I prepared, but the actual conanfile.py recipe builds upon/inherits a shared/common recipe from another conan package (basically I have a conan package with reusable base recipes that my project then merely tweaks). Therefore the conanfile.py in my workspace doesn't explicitly specify CMakeDeps but the "parent" recipe does. I'll update the example accordingly so that you are able to reproduce the issue. Update: @cristian-adam I've updated the bug report with this information and attached and update sample which reproduces the problem.
  • VSCode: No CMAKE_CXX_COMPILER could be found. (proj created in Creator)

    Moved Solved
    2
    0 Votes
    2 Posts
    57 Views
    F
    My bad. PATH not correctly configured, cmake couldn't find the compilers. Issue resolved after pointing PATH to compilers installed along with Qt Creator.
  • Qt Creator 19 Beta2 released

    Unsolved
    1
    3 Votes
    1 Posts
    33 Views
    No one has replied
  • Qt Creator CMake Presets: Temporary kit creation falls back to the wrong kit/toolchain

    Unsolved
    3
    1 Votes
    3 Posts
    78 Views
    E
    thanks @cristian-adam, i created a bug report.
  • Memory usage issue with Qt Creator updated to version 18.0+

    Unsolved
    4
    0 Votes
    4 Posts
    165 Views
    X
    @cristian-adam I've made a new breakthrough here: I suddenly recalled the experience of locating problems through Windows' system logs when I used to check project anomalies, so I tried to look for answers in my system logs. Surprisingly, at the same time as my Creator's anomaly, there were large-scale system errors. The error process came from the Windows background program backgroundTaskHost.exe, and the source of the error was an unconnected HP printer. I consulted an AI, which told me that when Creator uses Designer to open a .ui file, it scans all connected devices on the computer in full. Coincidentally, the driver or cache of this device of mine might have had some abnormalities, causing a failure in the access of Devices-AccessBroker, and then repeatedly accessing this non-existent device, resulting in a large accumulation of memory usage. Even after I tried to delete the device from the Device Manager, the anomaly was still triggered. Now I'm trying two things: disabling Creator's full device scan function and completely removing this annoying virtual device from my computer. I will try every method I can find and also hope you can give me some more professional advice and help. Thank you very much! [image: f08becec-18f1-4ec4-ad01-6fa64d1685a2.png]
  • Get exit code in terminal

    Unsolved
    11
    0 Votes
    11 Posts
    300 Views
    cristian-adamC
    @JonB said in Get exit code in terminal: @cristian-adam If you/someone is going to use that code to really patch Creator, adjust its spelling to report "exiting" rather than "existence" ;-) 🤣 Sometimes the fingers have their own mind.
  • QT Creator for plain C++ under windows, executable complains about missing DLL

    Unsolved
    8
    0 Votes
    8 Posts
    192 Views
    M
    I'll do that! Thanks for the pointers
  • Custom parser fails to capture QML errors from application output

    Unsolved customparsers
    6
    0 Votes
    6 Posts
    170 Views
    SebastianMS
    Qt Creator v18.0.1. Qt Creator nicely captures and presents errors from BUILD time. However, not from RUNTIME.
  • Missing Kit Details QtCreator 18.0.2

    Moved Solved
    3
    0 Votes
    3 Posts
    90 Views
    N
    Thanks I did as you suggest, but initially got the same result. What finally worked, and I missed before is to use the File/Open File or Project. I must have used File/Open Workspace before, thinking that since it was an old project full of source file that would do the trick. Using File/Open File or Project and picking the CMakeLists.txt file clearly ran a bunch more steps to get things going.
  • QtCreator freezes after codefolding

    Unsolved
    8
    0 Votes
    8 Posts
    249 Views
    JonBJ
    @Andy314 said in QtCreator freezes after codefolding: Reporting this bug is pointless, since the bug is already known Do you mean you found a bug for this already reported on the bug reports site (which used to have a simple URL and is now something unmemorable in Atlassian!)? If so could we have the link please? I suspect your best will just be to continue binary chopping the remaining bad file. I don't really know whether that will eventually repro in a small case --- it would not surprise me if behaviour depends on entire content in whatever circumstance and does not show up in isolated fragments. Although it is not your current case, I am also pretty sure that (sometimes) bad behaviour depends on what you do when in what order --- I think a given file can fold OK one time and then another time (after you have done stuff?) it does not, though content remains same. Having said that, if you have a "crash" maybe that can be reproed from some one particular line you have or similar, so binary chop may be worth pursuing. Honestly I wonder whether you & I using folding is "unusual" among Qt devs. Because I experience problems regularly I can only imagine that it has not been reported by others. Maybe I should sit down sometime and try to repro the various issues I see in Creator editing. One problem I have is that I only use the Qt/Creator released with my last Ubuntu. Although the problems I see seem to have been there since about Creator 4, that means that my Creator is not the latest for reporting and so I cannot report without likely being told to try a newer version to see....
  • QML Preview not working

    Unsolved
    2
    0 Votes
    2 Posts
    69 Views
    JKSHJ
    Hi @t.vanbesien, it works fine for me in Qt Creator 19.0-beta1 with Qt 6.10.2 on Windows: Create a new "Qt Quick Application" project Select "Build" > "QML Preview" Change the window's title Add color: "green" Steps #3 and #4 trigger instant updates in the preview window.
  • How to customize settings for creating getter and setter methods?

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    M
    Seems to be possible to change it now for anyone that might come to this thread in the future https://doc.qt.io/qtcreator/creator-reference-preferences-cpp-quick-fixes.html
  • Qt Creator plugin - how to modify current editor margins

    Solved plugin c++ qt creator
    7
    0 Votes
    7 Posts
    963 Views
    SebastianMS
    Above change was accepted and merged. In upcoming release it should be available.
  • Qt Creator doesn't respect set code style

    Unsolved
    1
    0 Votes
    1 Posts
    39 Views
    No one has replied
  • Qt Creator Git Log output format

    Solved
    14
    0 Votes
    14 Posts
    1k Views
    JonBJ
    Just did a new commit with multiline comment, but put blank line immediately after first line. Now shows up multiline in Creator's Git Log commands. Perfect, thanks :)
  • Does Qt Creator save its window state when it closes?

    Solved
    9
    0 Votes
    9 Posts
    305 Views
    JonBJ
    @Robert-Hairgrove Having Creator maximized, opening any modal dialog (doesn't have to be Sessions) on it and then dragging that dialog makes Creator main window go non-maximized. That would indeed count as though you had chosen to do that, so it will now save itself non-maximized for next restore. I don't know why it does this, but I would imagine it is a GNOME/Mutter thing, not a Creator one. I don't know anything about Qt Maintenance tool or what that might do to Creator as I have never used it. I only take the Qt + Creator which comes with the current Ubuntu release.
  • Can we have a text minimap in the Qt Creator?

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    cristian-adamC
    @Zueuk Qt Creator 19 has now a Minimap. I ported the plugin mentioned by @guerinoni to the Qt Creator's Extension Store. The good news is that you can have both if you really want: [image: qtcreator-19-minimap-minimap.png] [image: qtcreator-19-minimap-minimap-dark.png] The Extension Store plugin is replacing the scrollbar, whilst Qt Creator's Minimap is an overlay.
  • Qt Creator 19 Beta released

    Unsolved
    1
    2 Votes
    1 Posts
    59 Views
    No one has replied
  • fakevim number lines bugging in last line

    Moved Unsolved
    11
    0 Votes
    11 Posts
    966 Views
    aha_1980A
    @mikewy0527 Awesome, thanks for your contribution. Patch is under review here: https://codereview.qt-project.org/c/qt-creator/qt-creator/+/707785 Regards