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
  • Text in Qt Designer more or less unreadable

    Moved Unsolved
    7
    0 Votes
    7 Posts
    962 Views
    kkoehneK
    Looks like the issue is also fixed in upcoming Qt 6.8.0. I can't reproduce it in the latest RC packages, at least.
  • "No suitable kits found." "No QML utility installed." Fedora 40, Qt 6.7.2.

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    L
    At the very least the qt6-qtdeclarative but depending on what you want to develop, just get them all. Actually, the package I needed was qt6-qtdeclarative-static, which installed qt6-qtdeclarative-devel. Thanks for the reply.
  • Creator: Quickly disable auto-indent?

    Unsolved
    4
    0 Votes
    4 Posts
    791 Views
    A
    Well, I posted a suggestion for "undo indentation /formatting only" via Qt Support now...
  • 0 Votes
    7 Posts
    495 Views
    Z
    Thank you very much.
  • Qt creator using QPrinter crashes on specific device

    Unsolved
    6
    1 Votes
    6 Posts
    462 Views
    artwawA
    @MHMart_asc Initialise your printer making sure that's not the print to pdf option? Like I wrote above. If your goal is to print to pdf and not to actual printer, you might want to take a look at QPdfWriter instead.
  • Unable to use msvc in projects

    Moved Solved msvc x64 msvc2019problem compiler error
    11
    0 Votes
    11 Posts
    1k Views
    B
    Thanks to everyone the problem has solved and all is done. First I was thinking that downloading the msvc from qt maintanance tool is enogh but it was not. I have to download the microsoft visual studio and set it up for qt.
  • Recent Qt Creator: scanf still doesn't work

    Solved
    6
    0 Votes
    6 Posts
    559 Views
    S
    @aha_1980 Thanks very much, that indeed was it. I didn't see the Terminal option, because you have to scroll down for it to appear.
  • Executable from sh file

    Moved Unsolved
    10
    0 Votes
    10 Posts
    733 Views
    JonBJ
    @JacobNovitsky I think you are saying you want to pass the name/path of your current executable as a Command line argument to the script (and change the script to pick that up from its command line arguments). And you probably would like that name/path to come from a "variable" which Creator has set up for you when you configure your project. I don't know how you do that in this place to get it from a "Creator variable". I see the Command line arguments has a drop-down to the right. What does that offer you?
  • Qt Creator 14.0.0 running sluggishly when open the open62541.h/open62541.c

    Moved Unsolved
    5
    0 Votes
    5 Posts
    393 Views
    gfxxG
    @YongQ if you read well github doc, open62541 discuorage using of single file intallation on qt. And for my knowelge qt too .... so using qtopcua after installation of pakage of open62541 is encouraged .... any how I know well is not so simple too .... doc for qtopcua is clear .... but open62541 side doc is less immediate.
  • Unknown type name 'uint8_t' after update Xcode

    Moved Solved
    21
    0 Votes
    21 Posts
    3k Views
    SGaistS
    Great ! Then please mark the thread as solved so other forum users may know a solution has been found :-)
  • Qt Assistant: how to reference Qt resources?

    Unsolved
    2
    0 Votes
    2 Posts
    189 Views
    Axel SpoerlA
    Qt Assistant expects consistent HTML code, which theoretically could also be viewed in a browser or another HTML viewer. Such an HTML code would be inconsistent, if it would reference images from a Qt resource file system. I don't see a use case for HTML resources living in a foreign tree. Why not place these resources inside the HTML tree?
  • Qt Creator mouse hover pop up effect/animation

    Solved
    4
    0 Votes
    4 Posts
    432 Views
    N
    @aha_1980 You are my savior of my nerves 🙏 Thanks
  • open multiple qt.pro file and choose which one to be on top

    Moved Unsolved
    4
    0 Votes
    4 Posts
    293 Views
    J
    @jsulm yep, solved :)
  • Cant build stanford CS106L projects using QTCreator

    Moved Solved
    18
    0 Votes
    18 Posts
    1k Views
    cristian-adamC
    @d14bl0 said in Cant build stanford CS106L projects using QTCreator: @cristian-adam Hey thank you very much! that worked :D I was just about to give up. Thanks again!!! Don't forget to mark the thread as Solved.
  • Are there plans to have Codeium plugin/extension in Qt Creator?

    Unsolved
    4
    0 Votes
    4 Posts
    749 Views
    cristian-adamC
    @cristian-adam said in Are there plans to have Codeium plugin/extension in Qt Creator?: @pgathogo See https://github.com/Palm1r/QodeAssist QodeAssist is an AI-powered coding assistant plugin for Qt Creator The above plugin does not actually support Codeium. The best option it would be for you to talk with Codeium themselves https://codeium.com/contact
  • qt 5.15 and qt 6.5.3 no found pdf and pdfwidget

    Unsolved
    3
    0 Votes
    3 Posts
    603 Views
    jsulmJ
    @asisisyah said in qt 5.15 and qt 6.5.3 no found pdf and pdfwidget: so, how can i install pdf, pdfwidget module I'm not sure but it can be that these modules needs to be selected in the Qt Online Installer or Qt Maintenance Tool (the later can be used to change already installed Qt).
  • QTcreator 9 or 14 custom plugin on linux

    Solved
    6
    0 Votes
    6 Posts
    534 Views
    gfxxG
    for first need to copy here: /home/myuser/Qt/5.15.2/gcc_64/plugins/designer/file.so .... (if usr/lib .... is quite equal, need to find tool folder too ... so better a non root installations). BUT forgot to copy here too .... /home/myuser/Qt/Tools/QtCreator/lib/qtcreator/plugins/file.so if 2 different version need to use one only at time OR file.so compiled for QT5 and one for QT6, but you can use only if you compile and use: mycustoWidgetqt5 and other different mycustoWidgetqt6 these solve the problem.
  • :-1: error: Project ERROR: Could not find feature open62541.

    Solved
    4
    0 Votes
    4 Posts
    347 Views
    gfxxG
    Now I change version with fresh install ... use qtcreator14, qt6.6.3 .... install open62541 from git using doc of open62541 guy, I install qtopcua using "how to" of guy of basyscom .... add necessary INCLUDEPATH and LIBS on .pro file .... and all work. Only if add a switch on .pro file for system-open62541 these fails with "system-open62541" file not find. If leave these switch all work ..... ps: on debian 12 is not possible to install libopen62541-dev from repo .....
  • QT6 qmake doesn't find utf8 encoding and rewrites non-ascii strings ruining files

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    gfxxG
    @gfxx after these regarding the issue of files being corrupted by qmake, the problem stems from the fact that these were old files edited with 'Notepad' and also with 'gedit' on Ubuntu, which of course uses a more common encoding compared to Debian 12, which instead follows standardized encoding. Once imported into Debian 12, these files cannot be correctly encoded by QT6, regardless of the 'locale' settings. The solution is to open the old files with 'xed' and save them. At that point, QT6 encodes them according to the system's requirements, does not corrupt them, and interprets them correctly. P.S. It is not advisable to use Debian Bookworm with QT6... Just today, my 'mirror' sent me kernel updates, which, among other things, involve uninstalling libdcb6 and using a proprietary library integrated directly into the kernel... I don’t know if this might cause problems, but I fear it could, and quite a few at that... P.S. -2- For other reasons I upgrade to qt6.7.2 .... all utf-8 messages about encoding is disappear ....
  • Qt6.5.3 and QTcreator 9 .... problem to use gcc-9

    Solved
    23
    0 Votes
    23 Posts
    4k Views
    gfxxG
    @gfxx because definitively an other problem now ... I open I new post .... If these is wrong, moderator can joint these two.