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
  • [Wish] Qt-Creator: Add valgring arguments field like for Make and other.

    Unsolved
    6
    0 Votes
    6 Posts
    933 Views
    andrA
    https://codereview.qt-project.org/c/qt-creator/qt-creator/+/334962 Please note it is usually more efficient to file feature requests on bugreports.qt.io, or make some noise there if a report already exists. Chances that someone picks up suggestions from the web forum are slim. Exceptions like this here prove the rule.
  • Howto get rid of qmake old DESTDIR setting?

    Unsolved
    4
    0 Votes
    4 Posts
    498 Views
    K
    @ThisIsEusch Do you use a file ".qmake.conf" or ".qmake.cache" in the project folder or above? Check them for this entry. ".qmake.conf" is often used for general settings as tobe used in different projects beyond the file location. qmake is actively searching for the file.
  • qmake CONFIG variable with release and debug

    Unsolved
    4
    0 Votes
    4 Posts
    457 Views
    SGaistS
    When using Qt Creator with shadow build enabled, these folders are created automatically for you.
  • breakpoint in some method not hit as expected.

    Unsolved
    2
    0 Votes
    2 Posts
    232 Views
    andrA
    One common reason for that is that there is no debug information available for the code implementing the RdpViewFactory::createview method, either because it was not compiled with debug info (e.g. -g flag missing on the command line), or it was stripped later.
  • Making Visual Studio shortcuts "Creator-like"?

    8
    0 Votes
    8 Posts
    4k Views
    O
    Unfortunately the old link is dead. Here is another file, which should work as well: http://www.ulovek.info/files/klavesove_skratky_2017-04-28.vssettings
  • Qt Installer Framework - TargetDirectoryInUse in CLI

    Unsolved
    1
    0 Votes
    1 Posts
    470 Views
    No one has replied
  • Which QtCreator variables contain platform and CPU architecture?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    245 Views
    andrA
    The possible values in %{Compile:Name:<value>} are the languanges in the toolchain, i.e. C, Cxx, Nim I am not aware of variables for the platform and architecture there, if they are needed they could be added. You could consider filing a feature request at bugreports@qt.io. On a more general note: Not many Qt Creator developer read this forum here on a regular base. Better channels for questions are the #qt-creator channel on FreeNode IRC (no registration needed there) or the qt-creator@qt-project.org mailing list.
  • Cannot inlcude includes ??

    Moved Unsolved
    3
    0 Votes
    3 Posts
    339 Views
    Christian EhrlicherC
    Just a small issue in the code model or in mainwindow.h - tooling problem.
  • Lupdate program stuck at Info: creating stash file C:\......\.qmake.stash

    Unsolved
    2
    0 Votes
    2 Posts
    466 Views
    SGaistS
    Hi, Which version of Qt ? Do you have any special characters in your project path ? How do you trigger lupdate ?
  • Qt6 + CMake: Organize UI Files

    Moved Unsolved
    4
    0 Votes
    4 Posts
    605 Views
    Christian EhrlicherC
    @fem_dev said in Qt6 + CMake: Organize UI Files: Could you give a example? QtCreator does not support this for CMake projects yet. If you want this feature you have to add it to QtCreator by yourself and while you're at it you can provide this patch to the QtCreator devs so it gets integrated in the official release. Maybe there is already a request or patch for it in the bug tracker.
  • 0 Votes
    4 Posts
    2k Views
    SGaistS
    That's not a workaround, the script is there to ensure the adequate libraries are used. For example, binaries installation of Firefox do the same. You can read it to see how it works.
  • Creator quit working...

    Solved
    9
    0 Votes
    9 Posts
    907 Views
    mzimmersM
    @SGaist good enough...thanks for the help. The key was using that shell script instead of directly invoking the binary.
  • Interacting with Puppet and/or extending QML designer

    Unsolved
    1
    0 Votes
    1 Posts
    183 Views
    No one has replied
  • "Remove directory"

    Solved
    3
    0 Votes
    3 Posts
    372 Views
    A
    @sierdzio said in "Remove directory": Is there a question here somewhere? Is bluetooth module added in project config? QT+=bluetooth No, there is no question. However individual files are snap to remove...
  • subdirs project - lost "stadard" project tree

    Moved Solved
    2
    0 Votes
    2 Posts
    269 Views
    sierdzioS
    Project tree disappears when Qt Creatore can't parse the .pro file. Right click your project, select "Run qmake" and observe the compilation output panel, it will usually provide some hints.
  • How to save entire project ?

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    A
    @JKSH I know cannot rename the project in QtCreator. It looks as the safest way is to use OS , as you suggested. I just copied entire folder project into another partition folder and with an exception of having to modify the path in x.pro it works fine. Of course found another quirk of Ubuntu 20.04 in the process - but this forum is not the place to elaborate on that.
  • How to save model ?

    Unsolved
    8
    0 Votes
    8 Posts
    740 Views
    mrjjM
    @AnneRanch Hmm so yours is slightly newer. SO after selecting model, then what happens ? [image: 98fbti.png]
  • Doxygen as "compiled plug-in" ?

    Unsolved
    6
    0 Votes
    6 Posts
    544 Views
    artwawA
    I use daily what @mrjj presented. Also added complete run of doxygen to be build (so doxygen plus make and additional steps needed for me) with every release build. Required some setup (I simply wrapped it all up in the shell script and added as a final step) but was totally worth it.
  • QtCreator : rename a source file from a CMake project

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    J
    You can easily rename the source files that represent classes by right clicking on the class name in the header -> Refactor -> Rename Symbol Under Cursor. In the rename window at the bottom there is a "Rename 2 files" checkbox. After you refactor, make sure you update the CMake and run CMake to refresh the code model. Sometimes the "Rename X files" options is not available if the code model is stale. Nice productivity boost for me when I found this. I do think it should be part of the context menu under the project view though. Potentially have "Refactor -> Rename Class" in the context menu in project view.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied