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.5k Topics 34.8k Posts
QtWS25 Last Chance
  • Getters/setters added twice

    Unsolved
    4
    0 Votes
    4 Posts
    106 Views
    SGaistS
    @angela2016 Nice catch ! Since you found the bug and the fix, please submit a patch :-)
  • no kits found and

    Unsolved
    3
    0 Votes
    3 Posts
    107 Views
    cristian-adamC
    @que_t make sure you have CMake installed / configured in Qt Creator.
  • New AI Assistant

    Unsolved
    5
    0 Votes
    5 Posts
    265 Views
    JoeCFDJ
    @Alex777 https://doc.qt.io/qtcreator/creator-qtaiassistant.html Qt AI Assistant is available for selected commercial Qt developer license holders. For more information on licensing, select Compare in Qt pricing.
  • Qt Creator Search and Replace

    Solved
    21
    0 Votes
    21 Posts
    3k Views
    osirisgothraO
    Important tips: In-Selection Search and Replace does not work on a partial line - you must have at least one newline selected (The selection overlapping into the next line even if no text is selected). Regular expressions must be properly escaped if you wish to use the mode to find certain strings be sure to read up on regex, every symbol can be escaped to do normal text matches but you may just want to turn it off temporarily. This is important for workflows and fast-paced usage: Go into your text editor options and find the search scope highlight colors, set it to something super-obvious. For me I went with black text on yellow background. This way you are never mistaken on just what is going to get replaced. This way, if I don't see the black-on-yellow test I know right off the bat its gonna be a whole-file search. Use your subconscious powers to your advantage :3 Finally, to clarify about regular expressions, they do in fact work (at least now they do) with selection-scoped searches unlike what it used to be. As long as the search scope is showing, the selection will be replaced. Be sure to set the selected text highligting (not the search scope highlighting, the one that higlights every occurance) to something less distracting or your mind might confuse it with 'search highlight'. I see a lot of themes/styles can cause this, so be careful about that. To review: 1) selection scope is based on the highlight, be sure to set it up (many themes set this to a not-so-useful setting, so check it) 2) use highlights to guide you and you'll soon be able to make decisions about searches without thinking based on why you see
  • Window 11, Qt 6.8.0 - Errors in QtCreator when trying to build a project with Cmake

    Unsolved
    2
    0 Votes
    2 Posts
    173 Views
    cristian-adamC
    The setup that you have should work. You can get rid of the cmake auto-setup (which should always work) by disabling the feature in Preferences > CMake > Package manager auto setup. [image: ae1c7db8-e018-4ae6-9788-0889c6dbcfdf.png] Then create a new project / remove the build directory of the existing project and reload the project.
  • 0 Votes
    5 Posts
    177 Views
    Axel SpoerlA
    You can also try to clean the build directory with Build->Clean or just deleting the build tree manually. I’ve had such failures after updates before and they can have all kinds of reasons.
  • imports don't work after building design studio project

    Unsolved
    1
    0 Votes
    1 Posts
    52 Views
    No one has replied
  • How to compile a project as static build on RaspBerry Pi 5

    Unsolved
    2
    0 Votes
    2 Posts
    59 Views
    SGaistS
    Hi and welcome to devnet, Might be a silly question but is Qt installed on these other devices ?
  • Does QtCreator support code thumbnail like Kate or VS2022?

    Solved
    7
    1 Votes
    7 Posts
    419 Views
    goldenhawkingG
    I just checked it out , for msys2-qt users: for msys2 UCRT-64 as an example: git clone https://github.com/cristianadam/qt-creator-minimap pacman -S ucrt64/mingw-w64-ucrt-x86_64-qt-creator-devel cd qt-creator-minimap/ mkdir build cd build/ cmake .. cmake --build . cp ./lib/qtcreator/plugins/libMinimapPlugin* /ucrt64/lib/qtcreator/plugins/
  • QT Creator not showing autocomplete for C++ methods

    Solved
    7
    0 Votes
    7 Posts
    306 Views
    J
    P.S. I have noticed now some stupid X-small-font warning like: "ClangD was automatically disabled because it can consume much resources on my system bla bla..." (although have 8 Gigs and I7). Seems I somehow succeeded to remove that "fuse" even for new projects now, not sure how. Oh God... I have developed code under Visual Studio 2008 before a decade ago with Intellisense with only 2,5 Gigs RAM ...
  • Creator: Clone/Copy dozens of run configurations?

    Unsolved
    6
    0 Votes
    6 Posts
    248 Views
    JonBJ
    @SimonSchroeder sed etc. does not exist on Windows --- it's simply cheating!
  • No QGIS Widgets in Qt Designer

    Unsolved
    2
    0 Votes
    2 Posts
    116 Views
    SGaistS
    Hi and welcome to devnet, That's a question you should bring to the QGIS folks, they will have more experience.
  • How to specify the form list in Qt's custom wizard of Qt Creator?

    Unsolved
    1
    0 Votes
    1 Posts
    45 Views
    No one has replied
  • Cant stop qt-creator from showing assembly code.

    Solved
    7
    0 Votes
    7 Posts
    281 Views
    V
    Okay, I reinstall Qt fully, thankfully I managed to setup android back again without any pain. Surprisingly, on windows all tools take less space, than on macOS, only 40ish gigs. Problem now fixed, although the original reason is unknown.
  • GDB extremely slow (on startup) after update

    Unsolved
    2
    0 Votes
    2 Posts
    99 Views
    JonBJ
    Have you removed/ensured there are no existing breakpoints left over from before? Did you do a "clean" and complete rebuild? Sounds like it is doing some kind of "search" for something first time. Try running it under gdb directly outside of Creator? You might try running strace gdb to see what it seems to be doing during the delay?
  • Interslavic language for translations

    Unsolved
    4
    0 Votes
    4 Posts
    147 Views
    SGaistS
    So it does seem like you would like to add a new language to Qt itself. Sorry if I sound dense but I have difficulty to fully understand.
  • 0 Votes
    2 Posts
    102 Views
    SGaistS
    Hi and welcome to devnet, This is not the Qt Creator support team, this is a user forum. As for GStreamer and Qt 6. You might want to take a look at their qml6glsink.
  • Qt Creator displaying warnings related to C++98

    Moved Unsolved
    12
    0 Votes
    12 Posts
    451 Views
    G
    Thanks for the comments. So I don't think there's anything wrong with the code itself. It seems to be a configuration with Qt Creator and clangd that is ignoring the c++17 specification in the .pro file. I found a previous post about this issue, and how they fixed it: https://forum.qt.io/topic/109856/incompatible-with-c-98-warnings-since-qt-creater-update/3 But that post is 5 years old, and none of the options they used to fix the issue exist in in the current Qt Creator.
  • 0 Votes
    8 Posts
    210 Views
    SammerS
    @Christian-Ehrlicher I got it. Thanks.
  • Qt Designer Plugin get location of project folder

    Unsolved
    1
    0 Votes
    1 Posts
    74 Views
    No one has replied