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.2k Posts
Qt 6.11 is out! See what's new in the release blog
  • more small issues - folder names changed

    Moved Unsolved
    1
    0 Votes
    1 Posts
    285 Views
    No one has replied
  • Qt Creator annoying Q_PROPERTY suggestion

    Unsolved
    3
    0 Votes
    3 Posts
    412 Views
    M
    @jsulm Thanks for the hint. I didn't ask the correct question, though... The correct question: what do I have to disable in the code completion settings to avoid "end of entry" (closed bracket, semicolon, ...) suggestions?
  • Qt Designer's bounding rectangle size increases when drag on the designer.

    Unsolved
    1
    0 Votes
    1 Posts
    207 Views
    No one has replied
  • QtCreator auto opens first file in project tree

    Moved Unsolved
    1
    0 Votes
    1 Posts
    201 Views
    No one has replied
  • Build configuration is currently disabled.

    Unsolved
    2
    0 Votes
    2 Posts
    721 Views
    jsulmJ
    @DeeBee said in Build configuration is currently disabled.: ninja: build stopped: subcommand failed The there should be the actual error above this line. You should also check your release configuration for any issues.
  • 'QObject' file not found

    Moved Unsolved
    6
    0 Votes
    6 Posts
    3k Views
    cristian-adamC
    Windows is using \ as ₩ when using some Korean code page. And this is normal, unless ₩ is used as the Unicode symbol and not \. Qt Creator should display \ correctly since is a Unicode application. What happens if you build a new Qt Widgets application? Does it compile?
  • QtCreator12 can not save the custom Kit`s "CMake generator" setting.

    Solved
    5
    0 Votes
    5 Posts
    839 Views
    K
    @cristian-adam Thank you, this version solves my problem
  • 0 Votes
    2 Posts
    384 Views
    C
    @JohnLocke Compile project 1 to an executable, compile project 2 to an executable, run each as many times as you like outside Qt Creator.
  • create new program - where ?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    414 Views
    Axel SpoerlA
    @AnneRanch For the records: This is a question about Qt Creator. Please mention that - not everybody can guess where this popup comes from. "Create in" is the folder, in which a new project is going to be created. A project named "untitled2" in this case. The target directory doesn't look like a mount point to me. In my world, a mount point is an empty directory, which is used as the root, where external media is mounted. In this case, the mount point would be /mediaor maybe /media/nov25-1. => It looks like a directory on a memory stick has been selected to create the project there. It's a bit risky to use that as the default project location, so you might better uncheck this option.
  • another "include " issue - how to print the path

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    Axel SpoerlA
    @AnneRanch Answered in https://forum.qt.io/topic/152775/more-include-question
  • more include question

    Unsolved
    2
    0 Votes
    2 Posts
    449 Views
    Axel SpoerlA
    @AnneRanch If I get this right, you want to add a library to a Subdir project. I don't know exactly what is the structure of your project, but since you are mentioning both "include" and "library", I assume that you want to link to a library and include its header(s) in "BLUETOOTH_FT857_DEC7.pro". For that to work, it is necessary that the compiler knows the include path the linker knows, it has to link to the library and where to find it. Qt Creator's Add Library function is a comfortable UI for that purpose. You can copy-paste (hence re-use) the paths to the header and the library. You can also edit the .pro file manually. In that case, you have to add the directory where the header is located to the INCLUDEPATH variable. You also have to add a linking instruction to the LIBS variable. The linker instruction to be added to LIBS is OS specific. The documentation has a Windows and a Linux example.
  • How to hide Qtcreator's top menu ?

    Moved Unsolved
    7
    1 Votes
    7 Posts
    2k Views
    cristian-adamC
    You can make it reappear by using Ctrl + Alt + M. See https://doc.qt.io/qtcreator/creator-how-to-show-and-hide-main-menu.html
  • Android ABI names

    Moved Solved
    2
    0 Votes
    2 Posts
    577 Views
    warped-rudiW
    Correction: I checked another installation of QtCreator 12.0.0 and there it works. However, the difference between the two is, that on the failing one Qt6.6.1 is installed besides Qt5.15.2. Maybe these two affect each other.
  • Debugger doesn't stop on breakpoints fully, due to unexpected gdb state transitions

    Unsolved
    2
    0 Votes
    2 Posts
    600 Views
    JonBJ
    @StVO Debugger visualizer is falling over (apparently) while trying to do something like display your local Vmb... variables. I think the empty pane to the right (Name/Wert/Typ) is your Local Variables window, can you close it/select an option not to display it? Might then let you proceed. Usual issue is something to do with debug information/code in external library. Make sure everything is right version and if possible compiled for debug.
  • Qt Designer is unable to load the custom widgets (PyQt) widgets.

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    P
    @Christian-Ehrlicher said in Qt Designer is unable to load the custom widgets (PyQt) widgets.: You still not answered if designer was built with Qt 6.4... Yes, I have build the designer with Qt-6.4.0 Did you check that the plugin is in the correct place? Yes, plugins are in correct place. Do you see your plugin in Help -> Plugins? Yes, PyQt6.dll is loaded without pyqt plugins. Thanks.
  • c++ built in codemodel not working!

    Unsolved
    1
    0 Votes
    1 Posts
    225 Views
    No one has replied
  • Qt Creator editor font size error when using custom QSS

    Unsolved qtcreator theme
    1
    0 Votes
    1 Posts
    718 Views
    No one has replied
  • How to change Qt Creator fonts which look very small

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    A
    @Axel-Spoerl Yes, It looks that way. Well, thanks for the help.
  • Qt 6.6.1 While debugging local variables <Value unavailable error> occurs

    Moved Solved
    9
    0 Votes
    9 Posts
    2k Views
    W
    @cristian-adam This has done the trick !! Python-Dumper was not checked and after i checked it, the contents of the variables where shown. Thank you very much, Problem is solved... [image: ee30b15b-c9c8-428c-b4c3-ac2a69149e22.png] It is not very obvious to check this option, how do you know about it ??? [image: 80586a4a-dddf-435b-9a12-e0845ec34755.png]
  • Shortcut for choosing functions in Qt Creator

    Moved Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    S
    I rarely use this kind of functionality in Qt Creator. Most of the time I put the cursor on a function in the current code and hit F2 to jump to the definition. You can also easily toggle between header and cpp file with F4. If your classes don't do too much in one place it is easy to find the right function in the header file and then hit F2 to switch to the definition. You can also split views (horizontally or vertically) to have multiple functions side-by-side. This is how I use Qt Creator most of the time. (Concerning Ctrl+K: There is a huge list of command listed that can be used here. If you are already inside the correct file you can use . (just a dot – after hitting Ctrl+K) followed by a space and then type any symbol name (i.e. also functions) to jump to a specific function in the open document. Get to the right source file with p and then typing the file name.)