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.6k Posts
  • Qt Designer Active Button

    Unsolved
    4
    0 Votes
    4 Posts
    46 Views
    SGaistS

    Ok, understood.

    How do you define whether they should be active ?
    You could use a style sheet based on a property for example.

  • Found not working imports

    Moved Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Cannot resize GUI panels under v15.0.1

    Moved Unsolved
    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • Qt designer consistently crashes on Windows 11

    Unsolved
    2
    0 Votes
    2 Posts
    47 Views
    sierdzioS

    Best use Qt Creator instead, it offers the same functionality while being a full-blown IDE at the same time.

    Alternatively, you can try downgrading to some older Qt version, or use older Qt Designer with new Qt, it should still work.

  • ToggleButton icon in QSCustomSlideMenu does not appear

    Unsolved
    8
    0 Votes
    8 Posts
    96 Views
    A

    My qrc file:

    <RCC> <qresource prefix="icons"> <file>icons/about.png</file> <file>icons/bell.png</file> <file>icons/bell (1).png</file> <file>icons/edit.png</file> <file>icons/file.png</file> <file>icons/folder.png</file> <file>icons/help.png</file> <file>icons/home.png</file> <file>icons/left-chevron.png</file> <file>icons/person.png</file> <file>icons/raports.png</file> <file>icons/search.png</file> <file>icons/settings.png</file> </qresource> </RCC>

    It is inside

  • Qt VS Tools on 6.8.0

    Moved Unsolved
    2
    0 Votes
    2 Posts
    299 Views
    4

    Bump, I am also encountering this.

  • Getters/setters added twice

    Unsolved
    4
    0 Votes
    4 Posts
    74 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
    73 Views
    cristian-adamC

    @que_t make sure you have CMake installed / configured in Qt Creator.

  • New AI Assistant

    Unsolved
    5
    0 Votes
    5 Posts
    211 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
    2k 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
  • 0 Votes
    2 Posts
    93 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.

    cmake-package-manager-autosetup.png

    Then create a new project / remove the build directory of the existing project and reload the project.

  • 0 Votes
    5 Posts
    133 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
    34 Views
    No one has replied
  • How to compile a project as static build on RaspBerry Pi 5

    Unsolved
    2
    0 Votes
    2 Posts
    38 Views
    SGaistS

    Hi and welcome to devnet,

    Might be a silly question but is Qt installed on these other devices ?

  • 1 Votes
    7 Posts
    393 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
    249 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
    221 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
    66 Views
    SGaistS

    Hi and welcome to devnet,

    That's a question you should bring to the QGIS folks, they will have more experience.

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

    Solved
    7
    0 Votes
    7 Posts
    252 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.