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
  • Qtcreator 14 ... unresponsive keyboard

    Solved
    4
    0 Votes
    4 Posts
    215 Views
    gfxxG

    @aha_1980 ..... many many thanks .... now can use keyboard in usual manner.

  • Create Templates (Android APK) does not work

    Unsolved
    8
    0 Votes
    8 Posts
    475 Views
    R

    Is there a Linux distro where this is knows to work surely?
    Meanwhile I can make a virtual machine.
    (Bug opened already).

  • Build errors with latest VS Tools

    Unsolved
    2
    0 Votes
    2 Posts
    141 Views
    PerdrixP

    https://bugreports.qt.io/browse/QTVSADDINBUG-1242

  • Debugging has failed

    Moved Solved
    4
    0 Votes
    4 Posts
    285 Views
    houyaweiH

    https://forum.qt.io/topic/157918/qt-creator-14-is-unable-to-debug-a-qt-5-project/11

  • 0 Votes
    1 Posts
    89 Views
    No one has replied
  • Debugger view missing

    Unsolved
    13
    0 Votes
    13 Posts
    596 Views
    K

    @SimonSchroeder Thank you so much for the suggestion. I will try it out. Thank you.
    Unfortunately with Qt Creator, I haven't found a solution. I tried reinstalling Qt completely. Nothing has changed. I hope we find a solution or maybe an update resolves this.

  • 0 Votes
    2 Posts
    134 Views
    jsulmJ

    @RahibeMeryem said in I can't find a way Mac Os X QtCreator Remote Linux Development:

    When I click Add I cn only see local file and not other option

    If you want to cross compile you also need cross compiled Qt (host - Mac OS, target - Linux).
    You can't directly use Qt for Linux from your target device.

  • Qt Creator: Shared project settings for CMake project

    Unsolved
    12
    0 Votes
    12 Posts
    3k Views
    P

    @toralf did you find a way to share settings in a CMake project? I'm trying to do the same but no luck so far.

  • 0 Votes
    2 Posts
    149 Views
    Axel SpoerlA

    Hi and welcome,
    I am afraid, your question is general and without any contaxt.
    You have to tell us more about the application, your Qt version, Qt Creator version, usage of CMake or qmake.
    Maybe show a central CMake/qmake file (using the </> code tags for code).

  • 0 Votes
    2 Posts
    204 Views
    JoeCFDJ

    @RahibeMeryem
    Is this what you need?
    https://doc.qt.io/qtcreator/creator-how-to-debug-remotely-gdb.html

  • Error when trying to run project in Qt Creator

    Solved
    4
    0 Votes
    4 Posts
    264 Views
    K

    It appears Qt did not use the newest libraries installed in my /home/ directory, but used older versions in /usr/.
    I adjusted as such and added threw the old path out.
    I'm not quite there yet, but this problem should be solved.

    Thank you anyway! :)

  • Qt Creator 14 is unable to debug a Qt 5 project

    Unsolved
    25
    0 Votes
    25 Posts
    4k Views
    A

    @cristian-adam Thanks!!!

  • 0 Votes
    5 Posts
    275 Views
    Christian EhrlicherC

    You can take a look into the generated Makefile

  • Qt Creator crashes

    Moved Unsolved
    2
    0 Votes
    2 Posts
    142 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
    239 Views
    G

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

  • Linguist 6.8.0 dark theme improvement

    Unsolved
    7
    0 Votes
    7 Posts
    445 Views
    PerdrixP

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

  • QApplication

    Unsolved
    7
    0 Votes
    7 Posts
    382 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
    256 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
    260 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
    155 Views
    T

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