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
  • Qt Plugins external folder?

    Unsolved
    13
    0 Votes
    13 Posts
    186 Views
    D
    okay so i think this is a bug
  • QTCreator 'forgets' or 'resets' everything on every launch

    Unsolved
    2
    0 Votes
    2 Posts
    54 Views
    SGaistS
    Hi, Did you check if the configuration of Qt Creator itself have been reset ? I am not sure whether they would be in the registry or in a file on Windows. By default it should be the former though.
  • 0 Votes
    3 Posts
    97 Views
    8Observer88
    Thanks you very much! I moved source code to src folder but I forgot to change it in the qt_add_executable section like this: qt_add_executable(app WIN32 MACOSX_BUNDLE src/debug-drawer.h src/debug-drawer.cpp src/main.cpp src/mainwindow.cpp src/mainwindow.h ) Solved: https://github.com/8Observer8/debug-drawer-qpainter-box2dv3-qt6-cpp [image: 505009b2-2615-4569-b2c7-a9cbaa254558.png]
  • Should I enable lldb debug scripts?

    Moved Unsolved
    3
    1 Votes
    3 Posts
    194 Views
    cristian-adamC
    @Perdrix Visual Studio has its Natvis debugging helpers. The scripting part from Qt is maybe related to Qt Creator. I don't know if it works with Visual Studio's DAP support. I remember seeing somewhere that the scripts should also help with Xcode. You could test and say if you can see this program: #include <QCoreApplication> #include <QList> #include <QString> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QList<QString> message; message << "Hello"; message << "Qt"; message << "World!"; qDebug() << message; // <-- breakpoint here } works just as well as it does with Qt Creator: [image: 63386ea4-2624-46b1-b0d8-b0e37a69e057.png]
  • How do I set up version control (with Git)?

    Unsolved version-control help
    3
    0 Votes
    3 Posts
    170 Views
    S
    If you want an easy start (since you have mentioned GitHub) you can install GitHub Desktop (https://desktop.github.com/download/). It is good practice to commit often and make individual commits self-contained. This is most likely not the "functioning versions" you were talking about, but something smaller sized. If possible, each commit should at least compile. With GitHub Desktop you would select the files you want to commit (those with changes) and then enter a description. With Git in general there are two steps you need to take: First you have to commit your changes, but that is only locally. And then you need to push the changes to GitHub. If you are working on more than a single computer (or with multiple people) you also occasionally (at least before pushing) pull changes from GitHub to synchronize. In order to store specific "functioning versions" you would tag certain commits (most likely with a version number).
  • QtCreator: Completion/Suggestions include function parameters?

    Unsolved
    3
    0 Votes
    3 Posts
    385 Views
    JonBJ
    @Byloo If you are a real, interested person, no it does not put in whole parameters' text on autocomplete. If you are not a genuine person it doesn't matter --- but the answer is still here for others reading the initial post :)
  • Qt Creator, clangd, CMake and CUDA

    Unsolved
    2
    0 Votes
    2 Posts
    284 Views
    cristian-adamC
    @asenzz I have https://bugreports.qt.io/browse/QTCREATORBUG-28861 opened. Can you provide a small project that highlights the issue? Either comment on that bug or here.
  • Solution for Debug QtCreator Plugins with QtCreator from source

    Unsolved
    2
    0 Votes
    2 Posts
    469 Views
    P
    Or, in latest versions of QT (6.9.x), you could just build with MinGW...
  • Qt Kits issue

    Moved Solved
    2
    0 Votes
    2 Posts
    151 Views
    jsulmJ
    @JacobNovitsky You did not set the Qt version in your kit...
  • Using Cursor AI to control Qt Creator

    Moved Unsolved
    3
    2 Votes
    3 Posts
    280 Views
    D
    excellent
  • Qt Creator Running project

    Moved Solved
    15
    0 Votes
    15 Posts
    1k Views
    Q
    Also on QT 5.10.1 I can open the project but can not run. Ive read the following documentation but [image: 738a38ec-7ee8-4df0-82ef-e3d2c062a307.png] [image: c8bbb426-6608-4559-b8c8-671a3d6af413.png] [image: a86f9fb8-d8c2-4fbc-a82c-d13899adcb97.png] [image: 6a582c19-56e3-4579-bae5-a21d97953458.png] Ive read this documentation but the my SUBDIRS seems to be correct https://doc.qt.io/qt-5/qmake-variable-reference.html#subdirs The project that I am running is a Demo from the QT Company located here: https://code.qt.io/cgit/qt/qtdoc.git/tree/doc/src/snippets/qtcluster?h=5.10
  • creating subfolders causes QML build issue

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    SGaistS
    @Alex777 hi, That's something you should check the bug report system for and maybe open a discussion.
  • Downloading code.qt.io files

    Solved
    3
    0 Votes
    3 Posts
    265 Views
    Q
    This thread is the answer to my problem https://forum.qt.io/topic/92957/files-from-video
  • How to edit or create a shortcut in toolbar in Qtcreator

    Unsolved icon toolbar
    2
    0 Votes
    2 Posts
    157 Views
    S
    Add QToolButtons to the toolbar.
  • Qt Automotive Instrument Cluster Demo Source code/hardware

    Unsolved
    3
    0 Votes
    3 Posts
    282 Views
    Q
    @jsulm I simply asked the QT company if the source code for their demo is located on their website (http://code.qt.io). If so under which directory? They said this is technical support, which they do not provide without a license. I’m not sure how this is technical support if it’s publicly available & provided by them for the public. This is the equivalent of asking where the download link is for the installer.
  • Local LLM-assisted text completion for Qt Creator

    4
    3 Votes
    4 Posts
    766 Views
    cristian-adamC
    πš•πš•πšŠπš–πšŠ.πššπšπšŒπš›πšŽπšŠπšπš˜πš› has now drag & drop support. This means you can upload source files to the model! πŸŽ‰ Or you can upload a. image to a multi-modal model and ask for a mockup application for example. Here is one example with π™³πšŽπšŸπšœπšπš›πšŠπš•-πš‚πš–πšŠπš•πš•-𝟸𝟻𝟢𝟽 https://youtu.be/bkrqAM8sStc
  • Qt Visual Studio Tools

    Unsolved
    1
    0 Votes
    1 Posts
    151 Views
    No one has replied
  • 0 Votes
    4 Posts
    257 Views
    cristian-adamC
    @Robert-Hairgrove Qt Creator doesn't use such a stylesheet. But you can achieve this task. If you search this forum after "stylesheet" you will find some threads about this, how people tried to customize things back in the day πŸ˜€
  • QT Design Studio - Generation of objectName

    Moved Unsolved
    2
    0 Votes
    2 Posts
    252 Views
    JKSHJ
    Hi, and welcome! @Targo said in QT Design Studio - Generation of objectName: Is it possible to ensure QT Design Studio generates an "objectName" for each component? Qt Design Studio does not currently let us edit the objectNames via the property editor. You could manually add it via the code editor, however: https://doc.qt.io/qtdesignstudio/qtquick-text-editor.html @Targo said in QT Design Studio - Generation of objectName: Finding components is typically done using the "objectName" ... how is one supposed to be able to find/reference the components from python or c++? May I ask where you learnt about finding items using "objectName"? The current recommendation is to expose C++/Python classes to QML via QML_ELEMENT/QmlElement: https://doc.qt.io/qt-6/qtqml-cppintegration-overview.html This way, you can call C++/Python methods from QML.
  • Prevent codeModel from considering some spaces as Compiler Flags delimiters

    Unsolved
    2
    0 Votes
    2 Posts
    124 Views
    No one has replied