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.4k Topics 34.4k Posts
  • Qt Creator crashes

    Moved Unsolved
    2
    0 Votes
    2 Posts
    143 Views
    Pl45m4P

    @QtCaiJi

    Interesting.
    I think that should not happen there, even with Chinese letters.

    What version of QtCreator do you use?

    Is there any way to change the name of this gradient color in the configuration file?

    I'm not sure if they are saved to a separate file or saved by using QSettings.

    You can check the source code yourself, here

  • Qt Creator 14.0.1 segfault on cmd-Y

    Unsolved
    3
    0 Votes
    3 Posts
    241 Views
    G

    https://bugreports.qt.io/browse/QTCREATORBUG-31805

  • Linguist 6.8.0 dark theme improvement

    Unsolved
    7
    0 Votes
    7 Posts
    450 Views
    PerdrixP

    Right now I just don't have the time to consider that

  • QApplication

    Unsolved
    7
    0 Votes
    7 Posts
    387 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
    260 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
    261 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
    157 Views
    T

    which one is correct, the complete blue or the one with the red number? Can you share you proejct?

  • 0 Votes
    10 Posts
    1k 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
    211 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
    2
    0 Votes
    2 Posts
    156 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
    229 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
    135 Views
    PerdrixP

    Oops sorry too little sleep ..

  • build process has failed

    Unsolved
    7
    0 Votes
    7 Posts
    394 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
    495 Views
    T

    The problem is the Set "HOME" option here: Screenshot 2024-10-09 153342.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
    314 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
    164 Views
    SGaistS

    Hi,

    Start it with the debugger so you should get the point of crash.

  • Qt VS Tools on 6.8.0

    Moved Unsolved
    1
    0 Votes
    1 Posts
    228 Views
    No one has replied
  • Qt Lingust 6.7.3 launches in German on English system

    Moved Unsolved
    10
    0 Votes
    10 Posts
    512 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
    276 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.