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
  • QtCreator errors with QtGraphs QML

    Unsolved
    22
    0 Votes
    22 Posts
    714 Views
    SGaistS

    Even if it was already done once:

    Exit Qt Creator Delete the CMakeLists.txt.user file from your sources Nuke all build folders Start Qt Creator and reconfigure your project
  • Qt Creator 16.0.0 is crashing when opening cpp files

    Unsolved
    22
    0 Votes
    22 Posts
    615 Views
    Christian EhrlicherC

    @JoeCFD said in Qt Creator 16.0.0 is crashing when opening cpp files:

    file a bug report specifically for Wayland.

    When you look at the backtrace you see it's crashing inside QtGui, no wayland plugin anywhere... but we need debug symbols to see what happens.

  • Project allways recompiles all sources(QtCreator + CMake)

    Unsolved
    10
    0 Votes
    10 Posts
    291 Views
    G

    @aha_1980 Thank you for your reply

    The system clock is ok, The time stamps for all the files ninja complains are all older than the oldest file in my project tree. As I said in the original post, only with Qt versions 6.8.1 and newer I am having these issues.

  • Indentation issue on QT Creator

    Unsolved
    12
    0 Votes
    12 Posts
    358 Views
    JoeCFDJ

    can you show Kits->TextEditor tab?

  • AStyle格式化中文乱码

    Unsolved
    10
    0 Votes
    10 Posts
    248 Views
    Christian EhrlicherC

    So did you try it with astyle on the command line? Did it work there?

  • Qt Creator crashes (SIGABRT) on expression error

    Moved Unsolved
    10
    0 Votes
    10 Posts
    287 Views
    J

    I created an issue: https://bugreports.qt.io/browse/QTCREATORBUG-32747

  • VSC: Qt kit found but not showing in CMake selection

    Unsolved
    7
    0 Votes
    7 Posts
    412 Views
    M

    @seban ok, I have the same situation. To fix I have to manually edit the snap json file? It would not be restored after an update?

  • OSX - QtCreator ignoring kit compiler

    Moved Unsolved
    3
    0 Votes
    3 Posts
    87 Views
    L

    @jsulm

    yes, the compiler is set in the Kit.

    The only way to use my xcode_12_5_1.app is to change default system xcode by executing

    xcode-select -s /Applications/Xcode_12_5_1.app/Contents/Developer

  • 0 Votes
    2 Posts
    53 Views
    jsulmJ

    @Soniya Please format your code properly. There is also no need to post commented out code if it has nothing to do with your issue.

  • Issue with scrolling in Pyside6-Designer on MacOs

    Unsolved
    6
    0 Votes
    6 Posts
    340 Views
    SGaistS

    Glad you found out and thanks for sharing !

    Since you have it working now, please mark the thread as solved using the "Topic Tool" button or the three dotted menu beside the answer you deem correct so that other forum users may know a solution has been found :-)

  • 0 Votes
    2 Posts
    110 Views
    SGaistS

    Hi and welcome to devnet,

    I would nuke the .XYZ.user (name will depend on project manager you are using) file in your project folder and reconfigure the project.

  • Unknown type name: QProcess

    Moved Unsolved
    4
    0 Votes
    4 Posts
    114 Views
    cristian-adamC

    You can get CMake to be verbose with the build process by going to Project Mode > Build Steps > CMake arguments and add --verbose.

    Then you can see the commands it tries to build.

    Building with Qt 6.7, 6.8 or 6.9 on macOS with Xcode is something that works just fine.

    I can think of only having to "activate" the Command Line Tools for Xcode. Please do try to:

    Open Xcode Go to Preferences Cmd + , Go to Location At the Command Line Tools: combobox select something there. I have Xcode 16.2 (16C5032a).
  • 0 Votes
    3 Posts
    119 Views
    A

    Hi, same thing with QtCreator 16. I will create a bug report.
    Thanks

  • Qt Creator 16 set clang format version

    Solved
    4
    0 Votes
    4 Posts
    156 Views
    M

    So, with the beautifier we made it work now. In the end we had to remove

    LineEnding: CRLF

    From our .clang-format file, since this was breaking completely the formatting in Qt Creator. Running clang format from the command line worked fine though.

    The ClangFormat extension does not apply the formatting on the full file, but only on changed lines, which we did not want. Also it made the settings dialog of Qt Creator extremely slow somehow.

  • Enable or disable Next button on qt installer framework.

    Unsolved
    1
    0 Votes
    1 Posts
    57 Views
    No one has replied
  • 0 Votes
    2 Posts
    89 Views
    Z

    I figured it out. Interestingly, cmake was not selected on the Qt installer by default. I had to install cmake through the Qt Maintenance Tool and then select the cmake version on the Qt6.8.3 default kit. I find it very strange that it was not installed by default. Tricky tricky...

    image.png

  • 0 Votes
    5 Posts
    130 Views
    jsulmJ

    @Yuyang I suggest you upgrade your QtCreator and MinGW versions, because you're using quite old versions.

  • Exception at 0x7ffab88fd10d, code: 0x40010005 breakpoint

    Moved Unsolved
    2
    0 Votes
    2 Posts
    80 Views
    JonBJ

    @unknown_error
    I do not use Windows/MSVC/CDB so cannot answer any deeper than this, but it is a "first chance exception". That is an MSVC debugger thing and should be ignored --- you are not interested in any first chance exceptions which occur. Try unchecking that First chance exceptions checkbox? Does the debugger actually stop at that breakpoint? In which case you will just have to continue from there. I do not know if you can permanently ignore it.

  • 0 Votes
    3 Posts
    111 Views
    atom_352A

    Thanks! after reinstallation it really works

  • problemm with cmake

    Solved
    7
    0 Votes
    7 Posts
    246 Views
    atom_352A

    @cristian-adam Thanks! That's really helped me