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.4k Posts
  • Adding Icons in UI

    Unsolved
    2
    0 Votes
    2 Posts
    69 Views
    Ronel_qtmasterR

    @dencla You need to create and add a ressource file to your project. In the ressource file you can add all the icons. After that, they will be available in the designer as well. for more information , check this https://doc.qt.io/qt-5/resources.html

  • Creator Cmake - Hide generated files

    Unsolved
    3
    0 Votes
    3 Posts
    172 Views
    cristian-adamC

    The issue is tracked at https://bugreports.qt.io/browse/QTCREATORBUG-32319

  • Debugging a C++/QML/Python combo with QtCreator

    Moved Unsolved
    2
    0 Votes
    2 Posts
    83 Views
    B

    I finally found some more logs from Qtcreator. Just the terminal ones XD

    Copie d'écran_20250126_215615.png

  • I keep getting errors

    10
    0 Votes
    10 Posts
    308 Views
    JonBJ

    @Mahdir2111 That doesn't address any of the questions. Up to you.

  • QtCreator source build failed: psapi.h problem

    Solved
    4
    0 Votes
    4 Posts
    141 Views
    Christian EhrlicherC

    What has QtCreator to do with the Qt version you want to use for compiling? It's just an IDE...

  • QPushbutton

    Unsolved
    2
    0 Votes
    2 Posts
    86 Views
    JonBJ

    @dencla Only if you follow Creating Custom Widgets for Qt Widgets Designer.

  • This topic is deleted!

    Unsolved
    5
    0 Votes
    5 Posts
    27 Views
  • Debugger doesn't stop after closing app

    Moved Solved
    8
    0 Votes
    8 Posts
    221 Views
    A

    The code above was just my attempt to create a minimal reproducible example because I had this problem with all of my 3 programs which are all pretty large and I couldn't come up with a small program that had the same issue other than this silly example.

    The dock widget, however, refers to one of my actual programs. That is, the problem with all 3 was the QML debugger being enabled and on top of that one of the programs needed the dock widget closed. I just thought I'd write it down in case someone has a similar problem and finds this post.

  • CTRL + ALT + UP or DOWN don't work on Ubuntu (Mac)

    Solved
    6
    0 Votes
    6 Posts
    179 Views
    GilboonetG

    After trying to change the layout configuration for those shortcuts without result, I found a workaround by using the up and down keys from the numeric pad of the keyboard, and it works, so I will use that on this machine.

  • class view possible for active project only?

    Unsolved
    1
    0 Votes
    1 Posts
    45 Views
    No one has replied
  • Conditional include of different .pri files

    Moved Unsolved
    2
    0 Votes
    2 Posts
    80 Views
    SGaistS

    Hi and welcome to devnet,

    You might want to make a feature request for that suggestion.

  • Autocompletion not working for Qt classes

    Unsolved
    2
    0 Votes
    2 Posts
    109 Views
    M

    I have similar problems:
    autocompletion works with user defined classes, but not with Qt classes.
    Following some google search I have tried playing around with disabling and enabling the clang tools plugin. This did not change the autocompletion's behaviour.

    I remember that autocompletion worked very smoothly with Qt Creator 4, which I have been using for a very long time .
    I don't know exactly, when it stopped working.

  • Qt VS Tools, QML Debugging

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    C

    After much back and forth, I finally figured out how to debug QML code using the current QT Visual Studio tools with CMake + Qt + Visual Studio IDE. First, if you have a project built with CMake + Qt, open the root directory of your project using the "Open Folder" method in Visual Studio 2022, and select the CMakeLists.txt file. At this point, Visual Studio 2022 IDE will create CMakePresets.json and CMakeUserPresets.json for you based on the QT Visual Studio tools.

    At this stage, you can only modify CMakeUserPresets.json to configure the dependencies required for building your project, ensuring that your project can be successfully built. Once the build is successful, you can directly press F5 to start debugging.

    I hope the method I discovered can help those who have this need.....

  • 0 Votes
    1 Posts
    33 Views
    No one has replied
  • "Add definition" into namespace?

    Unsolved
    1
    0 Votes
    1 Posts
    42 Views
    No one has replied
  • Multiple variable name patterns in quick fixes

    Unsolved
    1
    0 Votes
    1 Posts
    66 Views
    No one has replied
  • Qt Creator Build Sound

    Moved Unsolved
    7
    0 Votes
    7 Posts
    231 Views
    cristian-adamC

    There is another plugin that does what you expect: https://github.com/vivaladav/SIGBUILD

    A Qt Creator plugin to get notified when your builds terminate and to track their stats.

    Project Status

    Currently the plugin is usable and the project is under development with regular releases to update it to the latest major version of Qt Creator.

    People who want to start to use SIGBUILD need to build it from scratch following the instruction in the Development section.

    Because of the current status of the project, it's guaranteed only that SIGBUILD will work >with the latest version of Qt Creator. Previous versions are likely to work too, but they are >not officially supported, so please do not create issues for them.

    Current features Systray notifications Audio notifications Latest build info Session log Full Qt Creator options
  • How to manage subdirs examples (C/C++) ?

    Unsolved
    8
    0 Votes
    8 Posts
    295 Views
    T

    Would it be acceptable to re-post the "update" ?
    Upon further research I have found than the failing project ( all in 5.15 ) is actually part of subdir project,
    and my guess is that that is why it worlds by itself but fails when added as subdir.
    The "bluetooth.pro" "main" suproject actually consist of two more sub protects.

    All of them are still "only" in 5.15 - no Qt 6 at all

  • How do I change the system font for QtCreator?

    Solved
    18
    0 Votes
    18 Posts
    9k Views
    hskoglundH

    Agreed that some screen elements can look small on a 4K monitor, but since you're spending all of your workdays in Qt Creator, eventually you'll learn all the keyboard shortcuts and perhaps introduce some of your own (at least I have).

    By then you'll permanently hide the menu with Ctrl+Alt+M and don't mind small-sized elements on the screen because they're fixed/static and you know them very well by heart anyway. My own C++ code, of course, that needs to visible and some days I'll increase the font size :-)

  • 0 Votes
    2 Posts
    83 Views
    Pl45m4P

    @Elerence-Hooke

    Not 100% sure for Qt DesignStudio but also with QtCreator most UI elements are only available through code as just a few are selectable from QtCreator's Widget toolbox. Menus like QMenu is not one of them.