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
  • Multi-lingual help files

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • AStyle格式化中文乱码

    Unsolved
    15
    0 Votes
    15 Posts
    529 Views
    T
    @jsulm said in AStyle格式化中文乱码: @tomCJR said in AStyle格式化中文乱码: the version developed in qt There is no Astyle version developed in Qt. QtCreator calls Astyle and if Astyle breaks something then this is not a QtCreator issue (you confirmed that you have same issue if you call Astyle directly, right?). I tried correctly and excluded the problems of astyle itself, and simply created a new text001.cpp file with obvious non-formatting features. After formatting this file through the command line tool, it was obviously formatted successfully after opening, and there was no garbled Chinese characters, so it proved that this was the related problem of qt for plug-ins.[image: d3c0e4a2-069d-4f9c-b647-526573be9442.png]
  • changes in qt are not realized

    Unsolved
    1
    0 Votes
    1 Posts
    38 Views
    No one has replied
  • QtCreator errors with QtGraphs QML

    Unsolved
    24
    0 Votes
    24 Posts
    1k Views
    SGaistS
    Since you wrote that the example is building successfully, what about copying it and the gradually replace its content with the one from your project ?
  • 0 Votes
    3 Posts
    174 Views
    L
    The update to Qt Creator 16.0.0 and Qt 6.9.0 solved the problem. Thank you !
  • 0 Votes
    2 Posts
    56 Views
    SGaistS
    Hi, Please use coding tags (the </> button in the editor) to make your code readable and please reduce it to a minimal example that shows the issue.
  • Qt Debugger hangs when starting debugging process

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    E
    A similar problem went away when I removed all breakpoints in the DAP Breakpoint Preset.
  • Project allways recompiles all sources(QtCreator + CMake)

    Unsolved
    12
    0 Votes
    12 Posts
    402 Views
    G
    @cristian-adam Thank you, I will.
  • 0 Votes
    1 Posts
    27 Views
    No one has replied
  • Qt Creator 16.0.0 is crashing when opening cpp files

    Unsolved
    23
    0 Votes
    23 Posts
    920 Views
    M
    I uninstalled all the version and reinstalled the latest version using installer, it seems to be working better. I am gonna keep an eye on it, if it happens again, I will open this thread again.
  • Indentation issue on QT Creator

    Unsolved
    12
    0 Votes
    12 Posts
    385 Views
    JoeCFDJ
    can you show Kits->TextEditor tab?
  • Qt Creator crashes (SIGABRT) on expression error

    Moved Unsolved
    10
    0 Votes
    10 Posts
    307 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
    435 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
    95 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
  • Contour plot using customplot library with x, y, z data not coming full contour.

    Unsolved
    2
    0 Votes
    2 Posts
    61 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
    350 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 :-)
  • Unclaimed breakpoint during debugging. Breakpoint is not setting up.

    Unsolved
    2
    0 Votes
    2 Posts
    116 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
    118 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
    129 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
    161 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.