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.7k Topics 35.9k Posts
  • Missing Kit Details QtCreator 18.0.2

    Moved Solved
    3
    0 Votes
    3 Posts
    36 Views
    N
    Thanks I did as you suggest, but initially got the same result. What finally worked, and I missed before is to use the File/Open File or Project. I must have used File/Open Workspace before, thinking that since it was an old project full of source file that would do the trick. Using File/Open File or Project and picking the CMakeLists.txt file clearly ran a bunch more steps to get things going.
  • QT Creator for plain C++ under windows, executable complains about missing DLL

    Unsolved
    7
    0 Votes
    7 Posts
    78 Views
    JonBJ
    @monegator cmake does nothing but invoke compilers/linkers per the rules it is given. It doesn't affect anything itself. I would start by getting it to show the full compiler/linker lines it is executing (and showing its exported environment variables would also be useful). Then you will know what is actually being done. You can see whether e.g. one is a static link and the other a dynamic one, and (hopefully) why it produces something workable in one case but not another.
  • QtCreator freezes after codefolding

    Unsolved
    8
    0 Votes
    8 Posts
    131 Views
    JonBJ
    @Andy314 said in QtCreator freezes after codefolding: Reporting this bug is pointless, since the bug is already known Do you mean you found a bug for this already reported on the bug reports site (which used to have a simple URL and is now something unmemorable in Atlassian!)? If so could we have the link please? I suspect your best will just be to continue binary chopping the remaining bad file. I don't really know whether that will eventually repro in a small case --- it would not surprise me if behaviour depends on entire content in whatever circumstance and does not show up in isolated fragments. Although it is not your current case, I am also pretty sure that (sometimes) bad behaviour depends on what you do when in what order --- I think a given file can fold OK one time and then another time (after you have done stuff?) it does not, though content remains same. Having said that, if you have a "crash" maybe that can be reproed from some one particular line you have or similar, so binary chop may be worth pursuing. Honestly I wonder whether you & I using folding is "unusual" among Qt devs. Because I experience problems regularly I can only imagine that it has not been reported by others. Maybe I should sit down sometime and try to repro the various issues I see in Creator editing. One problem I have is that I only use the Qt/Creator released with my last Ubuntu. Although the problems I see seem to have been there since about Creator 4, that means that my Creator is not the latest for reporting and so I cannot report without likely being told to try a newer version to see....
  • Get exit code in terminal

    Unsolved
    7
    0 Votes
    7 Posts
    81 Views
    JonBJ
    @SimonSchroeder said in Get exit code in terminal: @JonB Are you sure? Absolutely not, I don't use Windows! My comment based on https://doc.qt.io/qtcreator/creator-reference-terminal-view.html To open the terminal in a separate window, go to Preferences > Terminal, and clear Use internal terminal. On Linux and macOS, you can set the terminal to open by selecting Preferences > Environment > System. Hence I assume not on Windows?
  • QML Preview not working

    Unsolved
    2
    0 Votes
    2 Posts
    34 Views
    JKSHJ
    Hi @t.vanbesien, it works fine for me in Qt Creator 19.0-beta1 with Qt 6.10.2 on Windows: Create a new "Qt Quick Application" project Select "Build" > "QML Preview" Change the window's title Add color: "green" Steps #3 and #4 trigger instant updates in the preview window.
  • How to customize settings for creating getter and setter methods?

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    M
    Seems to be possible to change it now for anyone that might come to this thread in the future https://doc.qt.io/qtcreator/creator-reference-preferences-cpp-quick-fixes.html
  • Qt Creator plugin - how to modify current editor margins

    Solved plugin c++ qt creator
    7
    0 Votes
    7 Posts
    912 Views
    SebastianMS
    Above change was accepted and merged. In upcoming release it should be available.
  • Qt Creator doesn't respect set code style

    Unsolved
    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • Qt Creator Git Log output format

    Solved
    14
    0 Votes
    14 Posts
    541 Views
    JonBJ
    Just did a new commit with multiline comment, but put blank line immediately after first line. Now shows up multiline in Creator's Git Log commands. Perfect, thanks :)
  • Does Qt Creator save its window state when it closes?

    Solved
    9
    0 Votes
    9 Posts
    176 Views
    JonBJ
    @Robert-Hairgrove Having Creator maximized, opening any modal dialog (doesn't have to be Sessions) on it and then dragging that dialog makes Creator main window go non-maximized. That would indeed count as though you had chosen to do that, so it will now save itself non-maximized for next restore. I don't know why it does this, but I would imagine it is a GNOME/Mutter thing, not a Creator one. I don't know anything about Qt Maintenance tool or what that might do to Creator as I have never used it. I only take the Qt + Creator which comes with the current Ubuntu release.
  • QtCreator cannot find CMake conan dependency files when using Conan 2.24

    Unsolved
    5
    0 Votes
    5 Posts
    191 Views
    cristian-adamC
    @cancech Thank you for the bug report. I've updated the ticket with my thoughts.
  • Can we have a text minimap in the Qt Creator?

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    cristian-adamC
    @Zueuk Qt Creator 19 has now a Minimap. I ported the plugin mentioned by @guerinoni to the Qt Creator's Extension Store. The good news is that you can have both if you really want: [image: qtcreator-19-minimap-minimap.png] [image: qtcreator-19-minimap-minimap-dark.png] The Extension Store plugin is replacing the scrollbar, whilst Qt Creator's Minimap is an overlay.
  • Qt Creator 19 Beta released

    Unsolved
    1
    2 Votes
    1 Posts
    52 Views
    No one has replied
  • fakevim number lines bugging in last line

    Moved Unsolved
    11
    0 Votes
    11 Posts
    912 Views
    aha_1980A
    @mikewy0527 Awesome, thanks for your contribution. Patch is under review here: https://codereview.qt-project.org/c/qt-creator/qt-creator/+/707785 Regards
  • Creator showing symbol usages

    Solved
    3
    0 Votes
    3 Posts
    69 Views
    JonBJ
    @aha_1980 Nope, neither of these, I know them both! The output it produced went to the Search Results pane at the bottom, just like for the two Find References ..., not e.g. to the bottom left pane for Call Hierarchy. But I have laid out carefully the differences from either of those, please read carefully --- no grouping by file, lines had information about where they were in that output pane but over to the right, and some lines were colored magenta. Very specific! It was something else, and I have been using Creator for a decade without ever (accidentally) coming across it.... I would ask ChatGPT but I don't have enough questions left from my present 5 hour limit :( UPDATE Ah, wait, it looks like it was the Find References with Access Type which I rarely use, hang on.... OK, I was wrong about it not being grouped by filename. But it does have magenta for assignments in contrast to blue for references (and I see yellow for declaration), and it does show function names at right. This is very useful!!
  • Qt Creator is messing with "Default Build Directory" setting?

    Unsolved
    8
    0 Votes
    8 Posts
    220 Views
    R
    @cristian-adam Thanks. So this is the classic "chicken or egg" problem. I am wondering why this used to work, though?
  • 0 Votes
    3 Posts
    140 Views
    C
    @cristian-adam Thank you so much! This solves my issue perfectly!
  • Qt Creator 18.0.2 released

    Unsolved
    1
    1 Votes
    1 Posts
    59 Views
    No one has replied
  • jom does not run msvc

    Solved
    12
    0 Votes
    12 Posts
    310 Views
    K
    I guess, i found the solution: several msvc sdk-s were missing. It fixed after i installed them and changed jom to qt-creator bundled. It's still a bit strange, but i think we can live with this. Thank you everyone!
  • Creator and "-k" argument to cmake?

    Solved
    4
    0 Votes
    4 Posts
    122 Views
    cristian-adamC
    @JonB Then just -k for make.