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
  • Inconsistent output when running Qt Design Studio vs Python

    Unsolved
    3
    0 Votes
    3 Posts
    44 Views
    Jaime02J

    I guess that the is that the Qt Quick style configuration file (qtquickcontrols2.conf) is not being applied in the case of the Python version.
    You may add the file to the environment variables:

    # Assuming this is in <project>/Python/main.py, path to the DS project root folder project_root = Path(__file__).parent.parent os.environ["QT_QUICK_CONTROLS_CONF"] = str(project_root / "qtquickcontrols2.conf")

    More info about the configuration file in the docs:
    https://doc.qt.io/qt-6/qtquickcontrols-configuration.html

  • 0 Votes
    3 Posts
    22 Views
    JonBJ

    @aha_1980 Ooohh! :)

  • 0 Votes
    3 Posts
    54 Views
    R

    Thanks very much! The other piece I was missing is that CMake uses if/else statements. So, the result is:

    if(APPLE) target_compile_options(mytarget PRIVATE -DMAC_ONLY_SYMBOL) else() target_compile_options(mytarget PRIVATE -DOTHER_SYMBOL) endif()
  • QDoc does not produce documentation, only a .index file

    Unsolved
    4
    0 Votes
    4 Posts
    84 Views
    SGaistS

    In fact you need multiple things:

    Grouping and / or modules in the documentation of your code An "idk.qdoc" file for the main content of the documentation to act as a starting page

    I would recommend checking one of the smaller Qt modules. They should have a pretty simple set of documentation files that you can get inspiration from.

  • New AI Assistant

    Unsolved
    2
    0 Votes
    2 Posts
    56 Views
    SGaistS

    Hi and welcome to devnet,

    I haven't used it but its documentation is here.

    It's an extension.

  • ui has <not accessible value> in MainWindo

    Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • Adding YouTube Transcript Feature in Qt App

    Unsolved
    2
    0 Votes
    2 Posts
    49 Views
    No one has replied
  • VSC: Qt kit found but not showing in CMake selection

    Unsolved
    3
    0 Votes
    3 Posts
    159 Views
    M

    @jsulm the kits are installed correctly and I can use them from QtCreator.
    With the QtInstaller I have cmake 3.29.3.

    Sorry, I'm not sure to understand your last question.

  • No output in "Application Output" with debugger

    Unsolved
    1
    0 Votes
    1 Posts
    98 Views
    No one has replied
  • Adding Icons in UI

    Unsolved
    2
    0 Votes
    2 Posts
    51 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
    152 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
    59 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
    257 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
    110 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
    73 Views
    JonBJ

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

  • This topic is deleted!

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

    Moved Solved
    8
    0 Votes
    8 Posts
    173 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
    144 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
    37 Views
    No one has replied
  • Conditional include of different .pri files

    Moved Unsolved
    2
    0 Votes
    2 Posts
    63 Views
    SGaistS

    Hi and welcome to devnet,

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