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.8k Topics 36.3k Posts
Qt 6.11 is out! See what's new in the release blog
  • CodeBeautifier ??

    Moved Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    JonBJ
    @AnneRanch We discussed it in your https://forum.qt.io/topic/121227/removing-blank-lines-in-editor in 2020 :) Again in your posts: https://forum.qt.io/topic/138424/installing-artistics-style-plugin https://forum.qt.io/topic/135008/code-beautifier-artistic-style-update-remove-empty-lines https://forum.qt.io/topic/129052/code-beautifier-s https://forum.qt.io/topic/128653/implementing-beautifier-plug-in-error https://forum.qt.io/topic/126272/remove-empty-lines-in-editor-code-beautifier-repost https://forum.qt.io/topic/125499/open-source So you might want to refresh your memory with these :) And to remind you: none of the beautifiers removed blank lines like you often wanted, so if that's the objective you are out of luck!
  • Some keys not working properly in debug session

    Moved Unsolved
    2
    0 Votes
    2 Posts
    614 Views
    T
    Hi again, now I detected, that this only happens, when working from home (under Windows 10) using TurboVNC connected to my workstation. When I work locally on that workstation, also using TurboVNC connected to the same VNC server running locally, all keys work as desired, when debugging. So it seems not to be a problem with Qt Creator, but with TurboVNC. BR tkansgar
  • I create new class with Qt Creator I want to capitalize it automatically

    Moved Unsolved
    4
    0 Votes
    4 Posts
    830 Views
    JonBJ
    @aha_1980 Ooohh!
  • Failed to open and run an official code example in Qt Creator using Qt 6.7.0 beta1

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    Axel SpoerlA
    @8Observer8 It's all documented here.
  • Qt Creator Is Crash when code writing and editing

    Moved Solved
    13
    0 Votes
    13 Posts
    6k Views
    S
    @matse, I can confirm there seems to be a major bug in Qt Creator 12.0.1. I was going crazy checking my code to find out why Qt Creator kept crashing every time I edited anything in Design mode. When launching the application through Windows CMD, I encountered the issue "segmentation fault" thrown at the crash, indicating that something in Qt Creator's code is seriously misbehaving as it's trying to write on wrong memory entries. Personally, the issue appeared only when modifying things or saving the file in Design mode; I could edit anything in Edit mode just fine, but Design... Mno-uh. I tried on both Windows x64 and KDE Neon, and Qt Creator kept crashing on both OS. I also tried it on a different PC, but it kept crashing there too, so it seems like the overall 12.0.1 build distributed with the installer is problematic. I'm using open source, just for clarification purposes, as I don't know if the installer or build distribution for the paid version of Qt is the same. I downgraded to Qt Creator 11.0.3, and everything is running fine now. Hope this helps.
  • problem in setting up android with qt 6.6

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    cristian-adamC
    I played with Qt 6.6 and Android on macOS these days. I needed to have OpenJDK 17 to have things working fine. [image: Qt%20Creator%2012%20and%20Qt6.6-Android-macOS.png] I only used Set UP SDK and afterwards SDK Manager buttons to configure Android.
  • Qt 6.6.1 - static build : not able to add in qtcreator win11

    Moved Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    jsulmJ
    @Anas_Deshmukh said in Qt 6.6.1 - static build : not able to add in qtcreator win11: C:\mingw64\bin It is better to use MinGW provided via Qt Online INstaller / Maintenance Tool. Did you check MinGW configuration in QtCreator? Are there any errors/warnings? Also, that MinGW compiler seems to be a cross compiler for ARM - your Qt static build is a build for Windows (win32-g++). You can't use this cross compiler for Windows. Maybe you simply selected the wrong compiler in QtCreator?
  • Abseil LOG output printed twice in Qt Creator

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    Christian EhrlicherC
    @SandSnip3r said in Abseil LOG output printed twice in Qt Creator: Thoughts? Feel free to add a patch for it - I doubt anyone else will do it for you since it's a rare usecase. Logging has to go to a log file, not stdout.
  • Qt Creator keyboard shortcut on macOS comment code selection issue

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    G
    Now I can comment my code with ease :)
  • Build versus Rebuild?

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    A
    @Boucher65 Please read the OP.
  • Qt Creator: How to explicitly run qmllint?

    Unsolved
    5
    1 Votes
    5 Posts
    2k Views
    SGaistS
    @Asperamanca isn't that the role of the additional generated targets ? You can invoke them directly.
  • Conan install error on QtCreator 12.0.0/12.0.1

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    CalciferC
    Hi @cristian-adam, thanks for the kind help!
  • UIC doesn’t use the object name to create UI_MyClass.h

    Solved
    13
    0 Votes
    13 Posts
    4k Views
    CP71C
    @Christian-Ehrlicher Thank you, I like it better this way. ;) Just out of curiosity, do you have any idea why I've never seen any UI issues in the VM?
  • What's the right way to use Find*.cmake modules in cmake/Qt6?

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    Christian EhrlicherC
    @Sauntor So what's the problem - simply use them as I wrote.
  • qt 6: debug only my files?

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    cristian-adamC
    I have two bug reports open: QTCREATORBUG-29693 Support /jmc (just my code) MSVC compiler feature QTCREATORBUG-23508 Skip built-in include paths while debugging But they are not yet fixed.
  • Impossible to create kit 32 bit on Linux 64 bit for architecture incompatibility

    Moved Solved
    9
    0 Votes
    9 Posts
    2k Views
    CP71C
    @CP71 Hello everyone, I have finally found the solution, and it turned out to be simpler than I had expected. The best way is to create 2 items in Compilers tab, one for C and one for C++, on both add: Platform codegen flag : -m32 Platform linker flag : -m32
  • include header OK, include ui fails

    Unsolved
    3
    0 Votes
    3 Posts
    835 Views
    Pl45m4P
    @AnneRanch said in include header OK, include ui fails: intelisense does not see "ui " Not every QWidget / QObject class you've created, has a user interface. ui is just the reference to objects in the compiled *.ui designer file. By the way, since you asked for consistancy lately: You should make your code (variable names, struture etc.) also more consistent. Your code gets more and more confusing, even these tiny snippets already. A_BT_TAB_DIALOG is a filename and a class name whereas TAB_DIALOG is a pointer variable... later no one will be able to keep track of things, because everything is named differently from time to time.
  • How to make red error message to...//

    Moved Solved
    3
    0 Votes
    3 Posts
    994 Views
    Pl45m4P
    @AnneRanch To add to @Paul-Colby and in case you don't know: The leftmost "button" next to the "eye" automatically copies the error/warning message so you can paste it easier to Google or somewhere else. So you dont have to try to select the whole or parts of the text.
  • How to change the Qt Creator start scene to Projects?

    Solved
    3
    0 Votes
    3 Posts
    685 Views
    8Observer88
    Thank you very much!
  • How to customize Qt Inner Terminal shortcuts

    Moved Unsolved
    11
    0 Votes
    11 Posts
    2k Views
    Christian EhrlicherC
    @JacobNovitsky said in How to customize Qt Inner Terminal shortcuts: When it expected to be released? https://wiki.qt.io/Qt_Creator_Releases