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.6k Topics 35.5k Posts
  • 0 Votes
    4 Posts
    1k Views
    JonBJ
    Is this the same crash as https://forum.qt.io/topic/163072/unexpected-crash-when-using-custom-delegate-in-qcombobox ? Whatever OP might expect, it should not crash Creator if it does that!
  • Tracepoint messages: including the values of variables.

    Unsolved
    4
    0 Votes
    4 Posts
    521 Views
    JonBJ
    @CrazyCarrot I think the SO guy was falsely imagining or confusing with VS! Without getting into it, I found VS had more features in it than Qt Creator. It is just possible that Creator's Message box, which I believe appears for the "tracepoint", passes that on "raw" to the underlying debugger, so perhaps some gdb syntax for it would work with gdb debugger or if there is any equivalent for MSVC, but I don't know and wouldn't hold my breath.
  • QT Creator: hotkeys to set active project in the workspace

    Solved
    4
    1 Votes
    4 Posts
    3k Views
    C
    I know this is an old thread, but someone might find this helpful: (Qt Creator 17 on Mac) Press Cmd+T for the selection dialog. Once it pops up, hold Cmd and press T to cycle through your open projects. Release Cmd and the selected project is activated and the dialog disappears. Note: The dialog has three columns Project, Deploy, Run. For the above to work the column Project has to be active (dark selection field there). It looks like that each time you start Qt Creator the active column will be Deploy. In that case just click once a project name or use arrow keys to activate the Project column, and from that time it should work again (until you quit Qt Creator).
  • 0 Votes
    7 Posts
    1k Views
    cristian-adamC
    @hackerturtle 00007635 5.66594458 [18472] qtc.projectexplorer.toolchain.msvc: readEnvironmentSetting: "call \"D:/Program Files/Microsoft Visual Studio/2022/VC/Auxiliary/Build/vcvarsall.bat\" x86" "C:\\WINDOWS\\system32\\cmd.exe /D /E:ON /V:ON /c C:\\Users\\21421\\AppData\\Local\\Temp\\QtCreator-UTRrUJ\\cwmuNx.bat" Env: 79 00007636 5.66596460 [18472] qtc.utils.process: Process 30 starting (blocking without event loop): C:\WINDOWS\system32\cmd.exe /D /E:ON /V:ON /c C:\Users\21421\AppData\Local\Temp\QtCreator-UTRrUJ\cwmuNx.bat 00007637 5.67927456 [18472] qtc.projectexplorer.toolchain.msvc: No updates for "Visual Studio Community 2022 17.14.36401.2 (x86)" It has to do with the Qt Creator's way of checking if the Visual C++ environment has been changed. This shouldn't trigger any pop-up, but something in your environment causes this behavior.
  • QtCreator 17.0.0 freezing every 10 seconds

    Unsolved
    3
    0 Votes
    3 Posts
    485 Views
    A
    Indeed! As soon as I killed the adb processes, the freezes stopped immediately. Thanks a lot, you really saved my day!
  • Qt Creator editor: Can we insert a column of sequential numbers?

    Unsolved
    7
    0 Votes
    7 Posts
    931 Views
    Pl45m4P
    @JonB said in Qt Creator editor: Can we insert a column of sequential numbers?: Purely ooi, why does it change from cardinal words to ordinal ones after SEVENTH? :) Because: @cristian-adam said in Qt Creator editor: Can we insert a column of sequential numbers?: This works with ... AI :))
  • Missing arch linux debug symbols

    Solved
    7
    0 Votes
    7 Posts
    952 Views
    C
    I ended up cloning the latest version from github: git clone https://github.com/qt/qtbase then running cmake install with the cmake variables I need like vulkan
  • QtCreator:How to use kits qt5.12.12 debug project in QtCreator 16/17

    Unsolved
    2
    0 Votes
    2 Posts
    474 Views
    cristian-adamC
    You need to update your gdb, not the whole toolchain. See https://www.qt.io/blog/mingw-and-side-by-side-manifests for details.
  • This topic is deleted!

    Solved
    9
    0 Votes
    9 Posts
    515 Views
  • 0 Votes
    9 Posts
    1k Views
    cristian-adamC
    Which type of project are you trying to use? C++ or Python? At https://forum.qt.io/topic/158263/line-0-the-design-mode-requires-a-valid-qt-kit there a similar case.
  • Qt Creator hangs when deploying to a remote device if that device is rebooted.

    Unsolved
    4
    0 Votes
    4 Posts
    646 Views
    A
    @sbela I reported the issue, you can vote: https://bugreports.qt.io/browse/QTCREATORBUG-33302
  • 1 Votes
    4 Posts
    2k Views
    cristian-adamC
    @breeze0801 has been fixed now. Will be part of Qt Creator 17.0.1. You can get a snapshot the next days from https://download.qt.io/snapshots/qtcreator/17.0/17.0.1/ Thank you for reporting, your message triggered this fix!
  • 0 Votes
    7 Posts
    985 Views
    Deng_YaoheD
    @SGaist Yes,it worksπŸ‘
  • Qt on RPi 4B has missing libraries

    Solved
    6
    0 Votes
    6 Posts
    799 Views
    JonBJ
    @OldRoly Qt Creator is just a standalone IDE, it does not bring any Qt packages with it for you to use to build your own programs, technically it could be used as e.g. a text editor without anything to do with Qt development (though you would not want to). I don't know why you ask for the "complete package" and then mark this topic as Solved with no further comment. To build your own code you need to fetch some of the distro packages. I can't recall just what they are called, and it can vary from distro to distro or release to release, but you need to type something like sudo apt install qt and then press the Tab key once or twice to see the offered completions. You will probably want things starting from qt6 and then Tab, there something like qt6-dev with most of what you will want? You can Google for what exactly the names are and what might be wanted, but as I say the names change so it may not be accurate for current your distro.
  • Fakevim ex commands for multiple lines don't work as expected

    Unsolved
    5
    0 Votes
    5 Posts
    664 Views
    SGaistS
    @peblus hi, Your link is the correct one :-)
  • QTCreator 17 : code bookmarks and bookmarks in help pane

    Unsolved
    3
    0 Votes
    3 Posts
    196 Views
    R
    @cristian-adam I think its more a bug. They key bindings that dont work are in the hover. I'll follow up later.
  • Qt Creator settings - backup & setup another machine

    Unsolved
    3
    1 Votes
    3 Posts
    747 Views
    H
    Unfortunately, not.
  • QTCreator 17 : Silver Searcher options not visible in find.

    Solved
    4
    0 Votes
    4 Posts
    196 Views
    R
    @aha_1980 I see. My error was not setting scope to "files in file system" - which then requires a root dir. The option isnt available in the project/projects scope for some reason. Since I cant tell if ag is being used in project scope, I'll assume it is after setting it in file scope. post edit : it doesnt. Hmm. Ok. so use "file system" and set directory root to "current". It seems a little strange. But all good.
  • Navigate to header in source tree

    Solved
    4
    0 Votes
    4 Posts
    566 Views
    Aleksey_KA
    Solved by moving build dir out from the source one: Initial project structure: + app β”œ src β”‚ β”œ build β”‚ β”‚ β”” Desktop_Qt_6_8_2-Debug β”‚ β”” CMakeLists.txt β”” conanfile.py Current one: + app β”œ build β”‚ β”” Desktop_Qt_6_8_2-Debug β”œ src β”‚ β”” CMakeLists.txt β”” conanfile.py This move also cleaned up the project tree from cmake generated garbage.
  • QtCreator: Refactoring shreds project

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    Christian EhrlicherC
    @osirisgothra what's the point of recroposting an 8 year old thread?