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
  • Linguist 6.8.0 dark theme improvement

    Unsolved
    7
    0 Votes
    7 Posts
    668 Views
    PerdrixP
    Right now I just don't have the time to consider that
  • QApplication

    Unsolved
    7
    0 Votes
    7 Posts
    685 Views
    Pl45m4P
    @Nadia220 said in QApplication: Yes, I am from Russia The Qt Company decided to block Russian IP addresses in 2022... :( So the official online Installer currently doesn't work in Russia anymore. It's sad, but we can't do anything about it. Some day they will unbann it again, but until then you have to find other ways to install Qt... as you said, for example, via GitHub and build from source. There is a file in the Msys/mingw/include file, like a QAplication document, but there is no folder, I do not understand what is wrong 🤨 Your "File or directory not found" is a generic message when something wasn't found. Since you probably #include <QApplication> in your main.cpp it is looking for a qapplication.h header file... and can not find / locate it... Either your Qt installation isn't 100% right and/or some paths are not set. @Nadia220 said in QApplication: What is QT_DIR? I have not seen this QT_DIR is an environment variable which helps to locate your Qt installation "home" dir... Something like "C:\Qt\6.8.0\" Can't help you with Msys, but when using QtCreator, you should find your Qt installation. Check if your JSon config files for your VSCode workspace are really configured correctly (compare with the video and change your paths accordingly so it matches your Qt installation on your computer)
  • 0 Votes
    5 Posts
    479 Views
    A
    @xiaomizhou said in Creator: Cannot write file c:\Users\AppData\Roaming\QtProject\gtcreator\debuggers.xml: Insufficient disk space: @ankou29666 Thank you for your reply, but I don't know whether I need to delete some files in c:\Users\AppData\Roaming\QtProject\gtcreator? check disk occupation on C:\ drive, and if it's full, you can delete any file you don't need anywhere on C:\ drive.
  • lupdate not adding entries to .ts files

    Unsolved
    5
    0 Votes
    5 Posts
    419 Views
    PerdrixP
    Yes I used Q_OBJECT and yes the class is initialised. In the end I gave up and use QCoreApplication::translate("QLinearGradientCtrl", "text") as tr("text") wasn't working. QLinearGradientCtrl::QLinearGradientCtrl(QWidget * parent, QColor start, QColor end) : QWidget(parent), m_Gradient(0, 0, 1, 0), m_Width(GCW_AUTO), selectedPeg(NONE), lastSelectedPeg(NONE), m_LastPos(0), m_showToolTips(true), m_Orientation(Orientation::Auto), startPegStop(0), m_LeftDownSide(true), m_RightUpSide(false) { m_ToolTipFormat = "&SELPOS\nPosition: &SELPOS Colour: R &R G &G B &B\nColour: R &R G &G B &B\nColour: R &R G &G B &B\nDouble Click to Add a New Peg"; //m_Impl = new QLinearGradientCtrlImpl(this); m_Gradient.setColorAt(0, start); m_Gradient.setColorAt(0.001, start); m_Gradient.setColorAt(0.999, end); m_Gradient.setColorAt(1, end); setFocusPolicy(Qt::StrongFocus); // Make sure we get key events. stops = m_Gradient.stops(); // Grab the gradient stops endPegStop = stops.size() - 1; setToolTip(QCoreApplication::translate("QLinearGradientCtrl", "You can use the Up-Arrow, Right-Arrow, Left-Arrow, Down-Arrow;\n" "Page-Up and Page-Down keys to move a slider after you have selected it\n" "with the mouse.")); } Is how it now reads...
  • Qt design studio doesn't update changes in custom component

    Unsolved
    2
    0 Votes
    2 Posts
    265 Views
    T
    which one is correct, the complete blue or the one with the red number? Can you share you proejct?
  • Qt Creator doesn't use .clang-format (with ClangFormat plugin)

    Moved Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    T
    @cristian-adam I know about the Beautifier and have used is as a backup solution. I would prefer to get the ClangFormat plugin working, though, as I'd like to be able to "format as I type" or "format on tab". I never noticed that a clang-format executable was included with Qt Creator. I actually have a different one from an LLVM package, too - maybe that's the problem? Like, perhaps the plugin picks the "wrong" version of the program and doesn't like it somehow? I imagined that the plugin(s) would use a library rather than the actual clang-format command, but perhaps that's not the case.
  • Debugging Issues in Plug in Development

    Unsolved
    4
    0 Votes
    4 Posts
    352 Views
    aha_1980A
    @hy1011 How do you debug your plugin? Do you run a self compiled Qt Creator inside the debugger? Or what do you do?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Creating Widgets for QtCreator

    Unsolved matrix contribution library
    2
    0 Votes
    2 Posts
    295 Views
    jsulmJ
    If you want to contribute to Qt you should start here: https://wiki.qt.io/Qt_Contribution_Guidelines
  • How to modify the comments style of Qtcreator

    Unsolved
    4
    0 Votes
    4 Posts
    356 Views
    aha_1980A
    unfortunately it does not seem to be an option, because I also liked the old more :(
  • Problem with Qt VS Tools and 6.8.0

    Moved Unsolved
    3
    0 Votes
    3 Posts
    257 Views
    PerdrixP
    Oops sorry too little sleep ..
  • build process has failed

    Unsolved
    7
    0 Votes
    7 Posts
    641 Views
    Christian EhrlicherC
    @Prabhakaran said in build process has failed: ld: error: undefined symbol: events::parser::ParsedEvent::argumentValueInt(int) const So fix this - check where this function is defined and make sure the source gets compiled. Since it's from QGroundControl you should ask there if this problem is already known. Nothing Qt can do here.
  • 0 Votes
    6 Posts
    936 Views
    T
    The problem is the Set "HOME" option here: [image: e97c867f-8c53-4933-b04f-679651e76716.png] (from Version Control in Preferences dialog.) The tooltip for this option suggests that it will set HOME to the location I want, but it seems like it doesn't really. Instead it changes HOME from the desired location to something else. If I uncheck, everything works a lot better. Perhaps part of the issue is that I didn't update everything fully when I tried to change my home directory earlier. Not sure what to do, there, really...
  • sdktool writing to 2 locations

    Unsolved
    5
    0 Votes
    5 Posts
    502 Views
    mzimmersM
    I am using an offline installer, but not for Windows - for Linux. I'm not sure that bug report applies.
  • I don't know how to solve "exited with code -1073741819"

    Unsolved
    2
    0 Votes
    2 Posts
    248 Views
    SGaistS
    Hi, Start it with the debugger so you should get the point of crash.
  • Qt Lingust 6.7.3 launches in German on English system

    Moved Unsolved
    10
    0 Votes
    10 Posts
    879 Views
    Christian EhrlicherC
    Then you can close the bug.
  • problem in setting up android with qt 6.6.3 on mac

    Unsolved
    5
    0 Votes
    5 Posts
    426 Views
    P
    i solved the issue Clear Qt Creator Cache: Sometimes, cached data causes Qt Creator to not detect updates or changes correctly. You can try clearing the cache by: Deleting the .config/QtProject and .local/share/QtProject directories under your home directory.
  • I'm having issues building a QT program

    Unsolved
    1
    0 Votes
    1 Posts
    371 Views
    No one has replied
  • Project context menu items for adding project library etc. greyed out

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    A
    Hi @QtSurfer , Please help-out for this issue
  • 0 Votes
    5 Posts
    1k Views
    cristian-adamC
    You can access the 2019 compilers, but you have to manually configure them. See https://forum.qt.io/topic/158930/qt-creator-cannot-set-up-msvc2019-compiler-successfully for details. Alternatively you can install Visual Studio 2019, then Qt Creator will pick the 2019 compilers automatically.