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.3k Posts
  • Qt Creator: ssh through COM-Port

    Solved
    3
    0 Votes
    3 Posts
    420 Views
    R
    @aha_1980 ah, sure. I mean is there tools (or plugins) for debugging through serial port ( for example using cu,screen,minimcom, etc ). as I understand right, there is no tools with that functionality
  • Debug helper for visualizing images

    8
    0 Votes
    8 Posts
    5k Views
    aha_1980A
    Hi @SachinBhat, you mean this one: https://www.qt.io/blog/2010/04/22/peek-and-poke-vol-3 ? Regards
  • Application with plugin crashes after calling macdeployqt.

    Unsolved
    29
    0 Votes
    29 Posts
    4k Views
    D
    @SGaist ill try that and write you back! I didnt try the other day because i though changing the paths would work. Thanks a lot!
  • QtCreator shows fixed white background behind identifiers in python

    Unsolved
    9
    0 Votes
    9 Posts
    821 Views
    K
    Beautiful, not everything is perfect (bracket highlighting, symbol following, etc.) but the highlighting is functional now, as well as code completion, thanks a lot! And as a bonus I now have also much better support of JavaScript, yay! :)
  • Qt creator: loading up a project file located in subdirectory

    Unsolved
    1
    0 Votes
    1 Posts
    170 Views
    No one has replied
  • build GammaRay error on windows10 with MinGW

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    VRoninV
    @sz_y said in build GammaRay error on windows10 with MinGW: add C:\Qt\Qt5.12.3\5.12.3\mingw73_64\bin in the system varialble of path This is not a great solution. If you change Qt Version, compiler or architecture you end up in a pickle
  • Qt Creator version 4.10 .2 going unresponsive on Win10

    Unsolved unresponsive windows10 qt creator
    8
    0 Votes
    8 Posts
    2k Views
    T
    @aha_1980 Here's how I bootstrapped new working settings for QtCreator. On Windows the settings reside in <user>\Appdata\Roaming\QtProject, which contains files QtCreator.db, QtCreator.ini and directory qtcreator with lots of subdirectories, xml files etc. Renaming that directory then running QtCreator created a new settings directory (from a template kept in the Qt distro) . After that, QtCreator started behaving normally, though of course without any memory of previous projects or kit associations. Copying the QtCreator.ini file from the renamed directory restored those memories but did not make the bad behavior come back. Apparently the root problem is an incompatibility between Qt Creator 4.10.2 and some old file in the settings folder. In my case those files were created years ago by QtCreator 3.5. And since 3.5 does not even support VC 2015, I guess it was high time for a change.
  • Qt Design Studio - Photoshop Bridge Animation Timeline

    Solved
    5
    1 Votes
    5 Posts
    684 Views
    S
    @BrookCronin Ok, i checked the Photoshop SDK and access to the timelime is not trivial, but possible. Maybe I can ask more questions regarding Design Studio. I checked the Video Building Cluster Instrument wih Qt Design Studio and only Images and Text Elements was converted to qml types. The presenter had to recreate the arcs and the fonts adjustment by hand too. Looks for me double work. Additional is locks not fail safe, because Designer designed by Spec (e.g Coordinates etc.) and then again has to do it in Design Studio. What is here the Roadmap ? Do you want to close the gap in future releases? Creating arcs from Photoshop to qml types with the Qt Bridge? Autoexport Font from Photoshop and import custom fonts with font prioperties maybe with automatically creatded Qml QtObject Styling singleton?
  • Snippets "for, do ..."

    Solved
    4
    0 Votes
    4 Posts
    380 Views
    aha_1980A
    Hi @daniel7, then please mark this topic as SOLVED. Thanks!
  • Application Output on side bar

    Unsolved
    2
    0 Votes
    2 Posts
    301 Views
    aha_1980A
    Hi @daniel7, that is not possible at the moment. You can comment and vote on QTCREATORBUG-9488 which tracks this issue. Regards
  • GammaRay build Error on windows10 with Microsoft Visual Studio

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    VRoninV
    GammaRay has a million dependencies which are hard to set up manually, the easiest way to build it is using craft. You can check out the appveyor.yml file in the folder to see what commands the developers are running to build the program in their Windows CI
  • Blocking one signal from qt

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    V
    @Amanda1102 The options that I am aware of would be the following: QSignalBlocker: This approach will block all signals coming from a specific object disconnect: You can call "disconnect" on the specific signal you don't want for a short period of time and then call on "connect" again for the signal again. The approach mentioned by @SGaist
  • Making a custom-made debugger compatible with QtCreator

    Solved
    3
    0 Votes
    3 Posts
    362 Views
    P
    Thank you.
  • Set run environment from script in QtCreator

    Unsolved
    4
    1 Votes
    4 Posts
    3k Views
    D
    I have exactly the same problem here, but on macOS. We use conan to bundle our dependent libraries (VTK, opencv, ...) and obviously each libraries have an independent path which is, of course, not /usr/lib. This require us to set DYLD_FALLBACK_LIBRARY_PATH for each library to allow the executable to run (using linker RPATH is not an option since conan libraries can be installed virtually anywhere). Our cmake generate the correct script that set the variable for us, but we fall in the described problem here, as, even if setting a custom executable allow us to launch the application, we cannot debug it since the debugger seems to attach to the shell that execute the script rather than the launched application. Setting DYLD_FALLBACK_LIBRARY_PATH as an environment modifier inside the run environment is not doable because the run environment is the same for debug and release build (and the dependent libraries are not, so different paths !). Furthermore, it is just really painful to set it for all dependent libraries... So if someone have a solution to attach the debugger to a custom executable that is a script, or to use an external script to generate the run environment, we will be glad ;)
  • QtCreator fails on trivial hello-world CMakeLists.txt

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    Please_Help_me_DP
    I added path to the jom.exe (which in the C:\Qt\Tools\qtcreator-4.10.2\bin) to the Windows path variable and that problem was solved.
  • Using GDB pretty printers in QtCreator hangs GDB.

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    aha_1980A
    @noone judging from the bugreport, it's fixed in 4.11. You can install beta versions with online installer/MaintenanceTool Regards
  • How to install and configure any working MSVC build tools with Qt Creator

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    E
    For some reason QtC didn't find anything from the 2019 installation. BTW, stupid me: the plain Build Tools of 2017 are downloadable from the same place as VS 2017. Not that it actually seems to matter much: it takes huge amount of time and disk space anyways.
  • QTCreator & Clang-Tidy : configuration file and command line

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    G
    Hi @GoblE, AFAIK that file has to be put in the root folder of your project. Regards Ok, You're right, in fact I did a mistake while I tested it. Thanks. EDIT : I found documentation with more information about it : --config=<string> - Specifies a configuration in YAML/JSON format: -config="{Checks: '*', CheckOptions: [{key: x, value: y}]}" When the value is empty, clang-tidy will attempt to find a file named .clang-tidy for each source file in its parent directories. Unfortunately we can't be able to choose path of this file. Last point, have you an idea about this : I would like to launch the clang-tidy test outside QTCreator (I have script to build my apps), is there a simple method to do that ? (I found a script from an other member of this forum, but he doesn't use clang and environment provided with QTCreator) Thanks for your help.
  • Integration of header comments as help

    Solved
    5
    0 Votes
    5 Posts
    920 Views
    artwawA
    A bit OT but I wrote a small guide for integrating Doxygen with Qt Creator https://forum.qt.io/topic/109232/including-doxygen-document-generation-in-the-built-process-with-qt-creator
  • Creator: Template file for new class?

    Solved
    5
    1 Votes
    5 Posts
    817 Views
    A
    @aha_1980 Do the templates come with the default installation of Creator? Because I can't even find the templates folder (at least not where the docs say it should be). Or do I just create the template files in the location they are supposed to be? Found it. Not where the docs say, but instead in the folder of the Qt installation (tools/QtCreator/share/qtcreator/templates)