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.3k Topics 34.1k Posts
  • Annoying problem with Qt Creator software after update

    Moved Unsolved
    14
    0 Votes
    14 Posts
    86 Views
    Axel SpoerlA

    That’s the license directory, not the one I asked you to look up.
    Here it is on my PC:
    c798e0ce-9102-4a87-b374-16c03c68070c-image.png

  • 0 Votes
    3 Posts
    26 Views
    8Observer88

    The same for Qt Creator 15.0.0-rc1 (14.0.84) that I've downloaded here: https://github.com/qt-creator/qt-creator/releases

  • Change build directory with cmake

    Moved Unsolved
    5
    0 Votes
    5 Posts
    257 Views
    M

    @Christian-Ehrlicher said in Change build directory with cmake:

    cmake does not place anything anywhere without question. It does what it gets told. Maybe you configured QtCreator (you did not tell us what you're using as IDE) so that the build dir is somewhere else, I don't know.

    I'm using Qt Creator 14.0.2.
    Anyway, there is no need to restart from scratch. It was enough to remove the kit from Build&Run and select it again.
    It seems the chaning of the build directory is not working, at least on my installation.

  • 0 Votes
    1 Posts
    26 Views
    No one has replied
  • Linux Arm Not Displaying QString correctly in Debugger

    Moved Solved
    3
    0 Votes
    3 Posts
    95 Views
    D

    I have now successfuly installed the online installer for Qt6 on a fresh Pi OS64. I had to install some dependencies including some to get the online installer to run without crashing.

    From the Installer, I selected custom install, selected an older Qt6, then selected the components I required including Qt Creator and debug symbols. The online install then proceeded to completion without problems. QtCreator was added to the Progamming Menu making it easy to launch.

    I am back to being able to run the QtCreator debugger and view items like QString correctly, although it took me several days of frustration to get there.

    I planned to detail the dependencies I installed but this forum thought it was spam.

  • Shortcut for Variable Info/Mouse Hover

    Unsolved
    2
    0 Votes
    2 Posts
    40 Views
    aha_1980A

    @Julius: Indeed that works by pressing the Alt key when the cursor is in a variable and Edit > Preferences > Text Editor > Behavior > Mouse and Keyboard > Show help tooltips using keyboard shortcut (Alt) is checked.

    Regards

  • 0 Votes
    2 Posts
    42 Views
    jsulmJ

    @osirisgothra said in Never (ever) refactoring class to "separate set of dedicated source files" ever again:

    Long story short, I lost a whole days worth of work

    That's why there are version control systems like Git out there.
    Just commit your changes regularly, especially before doing bigger/risky changes.

    What you describe sounds like a bug in QtCreator, you should create a bug ticket in https://bugreports.qt.io/secure/Dashboard.jspa

  • How to use qmllint with modules

    Unsolved
    2
    1 Votes
    2 Posts
    37 Views
    KH-219DesignK

    (Disclaimer: I have not yet tried to use qmllint myself. I previously described my own method to "ban qml warnings" here: https://forum.qt.io/topic/113028/is-it-possible-to-use-any-qml-parser-tool )

    There is an open Qt bug with title "How to use qmllint on multiple components in one project" here: https://bugreports.qt.io/browse/QTBUG-120442

    That bug report seems perhaps relevant? There are a lot of comments there. Maybe some will give you clues.

  • 0 Votes
    2 Posts
    40 Views
    T

    It looks like consistently moving the include of Pybind11 headers before QT Headers has fixed it.

    However, this also goes for the full include tree. So if A includes B, and B includes Pybind, A should include B before including any QT Headers (QObject, QProcess, QVector, etc)

  • QtCreator: Export or save bookmarks?

    Solved
    4
    0 Votes
    4 Posts
    64 Views
    A

    Not a beauty to handle, but at least a way to make backups. Thanks!

  • 0 Votes
    9 Posts
    4k Views
    JonBJ

    @Calvin-H-C
    There has been no QScrollView since Qt3. I have not heard of requiring two children for adding a layout, but there you are. Not everything needs a layout --- containers like QScrollArea do not, I don't think you should put one on them, and should not show the "no entry" sign without one. For scrolling issues I know that QScrollArea has a widgetResizable which often needs setting to true for scrolling/scrollbars to work right. Otherwise show a screenshot from Designer and paste (a minimal) .ui file and someone will doubtless comment.

  • dot pro settings for windows SDK

    Unsolved
    1
    0 Votes
    1 Posts
    25 Views
    No one has replied
  • Qt Creator: Linker errors in shadow build only

    Unsolved
    13
    0 Votes
    13 Posts
    466 Views
    N

    @jsulm I used Qt Installer. It is installed in C:\Qt

  • QT Modbus RTU read timeout

    Unsolved
    1
    0 Votes
    1 Posts
    42 Views
    No one has replied
  • How to make Visual Studio evaluate Qt expressions?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    89 Views
    S

    I am not entirely sure what your problem is in this case. However, for general use of Qt in VS: Do you have the natvis debug helpers installed (https://wiki.qt.io/IDE_Debug_Helpers)?

    What might be the case with your problem is that you don't have debug symbols for Qt installed. My guess is that maybe you need to install the Qt source using the online installer. Though I'm not entirely sure about that.

  • 0 Votes
    4 Posts
    102 Views
    aha_1980A

    I've created QTCREATORBUG-32060 for my issue.

  • 0 Votes
    3 Posts
    105 Views
    E

    Lmk if trying to add QT into visual studio project becomes too convoluted (>1 day) for its effort. Otherwise I will probably look at other options.

  • Profiling/Analyzing Performance

    Solved
    7
    0 Votes
    7 Posts
    190 Views
    JonBJ

    @cristian-adam
    All good, thanks. Partly the dialogs confused me as to what it was asking me to choose/confirm at various points. Anyway for now at least I have a working profiling configuration, somehow!

  • See cmake compilation/linker command lines

    Solved
    5
    0 Votes
    5 Posts
    144 Views
    JonBJ

    @cristian-adam said in See cmake compilation/linker command lines:

    With CMake you have two steps:

    Indeed :)

    Sorry to have made you screen cast. The bit I was missing/didn't see /hadn't remembered was

    Screenshot 2024-11-22 160537.png

    I had forgotten about the Details button you need to click at the right to expand the options! I use a variety of environments for work, gets confusing sometimes remembering the ins-and-outs of each one! Thanks, perfect, I now get the command lines.

    Just OOI, not vital: if I expect/find useful to always see these, like qmake or make default, is there somewhere I could add/edit in Creator (or elsewhere) to make cmake always be "verbose" or have this --verbose option (all projects, all configurations)?

    Thanks in advance. And if you feel really brave you might like to tackle my new https://forum.qt.io/topic/159855/profiling-analyzing-performance, which is what this was all leading up to! :) Or you might want a peaceful weekend... ;-)

  • Cannot download open source qt via my account!

    Unsolved
    8
    0 Votes
    8 Posts
    97 Views
    S

    Oh, thank you guys, very much..., because I did not succeed to build an example app for Android..., actually I succeeded with no error, but apk did not install on the device with "apk is not recognized" or something like this... I tasted with probably all possible combinations of JDK, NDK, ... etc., and the build apks have not been installed on any Android version...
    Because of that I am asking what is the difference between the two install paths, may be I am missing something...
    I followed also the guides and video clips, but without success!