Skip to content

Tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
6.8k Topics 33.2k Posts
  • Install QT Addon - Qt 5 Core Compatibility APIs Component

    Unsolved
    2
    0 Votes
    2 Posts
    13 Views
    hskoglundH

    Hi, if you're using the online installer (Maintain Qt) you can select it here:
    Screenshot 2024-05-02 at 16.59.44.png

  • Could not determine debugger type

    Unsolved
    3
    0 Votes
    3 Posts
    41 Views
    cristian-adamC

    The auto-detected debuggers are actually being set up by sdktool.

    Their configuration is saved in C:\Qt\Tools\sdktool\share\qtcreator\QtProject\qtcreator\debuggers.xml. For some reason your configuration is broken.

    Mine looks like this:

    <data> <variable>DebuggerItem.0</variable> <valuemap type="QVariantMap"> <valuelist type="QVariantList" key="Abis"> <value type="QString">x86-windows-msys-pe-64bit</value> </valuelist> <value type="bool" key="AutoDetected">true</value> <value type="QString" key="Binary">C:/Qt/Tools/mingw1120_64/bin/gdb.exe</value> <value type="QString" key="DisplayName">GNU gdb 11.2.0 for MinGW 11.2.0 64-bit</value> <value type="int" key="EngineType">1</value> <value type="QString" key="Id">Debugger.qt.tools.win64_mingw900</value> </valuemap> </data>
  • 0 Votes
    7 Posts
    118 Views
    cristian-adamC

    @iexavl right. I guess the <build-dir>/.qtc/package-manager/auto-setup.cmake could be recreated when doing a clean, so that an update could be delivered.

    Would you make a suggestion at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512 ?

  • Convert debug view to text ?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    48 Views
    M

    @AnneRanch
    Right-click->Copy Contents to Clipboard

  • pyuic5 doesn't generate all of the code.

    Unsolved
    2
    0 Votes
    2 Posts
    24 Views
    JonBJ

    @zylthex Just paste the last few lines here so we know what you are looking at.

  • 0 Votes
    3 Posts
    50 Views
    W

    @ChrisW67
    You're right, it's "source path mapping" not "source code mapping", my mistake.

    I looked at the source code of QtCreator (briefly), I looked at the "signal-slots" corresponding to "source path mapping" but I didn't see where the value saved by "source path mapping" is finally used.

    So I guess there might be a system environment variable (maybe not a system environment variable, but some command line parameter passed to the debugger) that is related to "source path mapping", so that when the user modifies the "source path mapping" in the creator, the debugger can get the value of the user's modification.

    Based on this guess, if there is indeed an environment variable that is related to this, then I can change this environment variable in CMakeLists.txt.

  • Problem with QTCreator 13 and Clangd

    Moved Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • 0 Votes
    4 Posts
    74 Views
    cristian-adamC

    At https://forum.qt.io/post/797309 I have a post showing how to collect the dependencies manually.

    windeployqt should do that for you, but you can find out yourself.

  • 0 Votes
    5 Posts
    96 Views
    B

    @SamiV123 Thank you. I believe this is just what i needed.

  • 0 Votes
    6 Posts
    103 Views
    Serhan KarsS

    @Serhan-Kars Heeyy!!! Found it. I think it is a bug of Qt Creator.
    My case was:
    I created an additional device. "Set as default device". It has "Specific Key" selected as "Authentication type"

    To solve the issue I have deleted other devices defined.

    So as a conclusion I think we can say Qt Creator still uses other devices' settings even if you set a device as default.

    Thank you both @ziller and @cristian-adam

  • InteliSense ahead ??

    Moved Unsolved
    2
    0 Votes
    2 Posts
    39 Views
    Axel SpoerlA

    @AnneRanch
    Intellisense makes a suggestion, if the given argument matches one of the possible signatures of the method, in this case QObject::connect().
    If m_mdiareawas a pointer to a QMdiArea, intellisense would offer you to select from 3 possible signatures to follow.
    There are two possible causes to arrive at the error message shown to you.
    a) m_mdiareaisn't a pointer.
    b) You have hit the comma and the following space for too long.

    Why your entry is "suggested", is probably autocompletion of a variable. As usual, you hide the most important information: What is m_mdiarea. Usually your problems are at the spots that you refuse to show.

  • Qt creator tableView not displaying data from my sql server

    Unsolved
    4
    0 Votes
    4 Posts
    67 Views
    SGaistS

    @Faris-Elbaz hi,

    Do you mean a MySQL server ? If so, did you build the MySQL plugin ?
    Otherwise, PostgreSQL can also be a solution as the backend is already built.

  • 0 Votes
    7 Posts
    71 Views
    jsulmJ

    @Faris-Elbaz said in Qt Creator ComboBox crashes everytime and doesn't display a drop down menu:

    The issue is not that my code doesn't run or that it doesn't open/build the application

    This is not what @JonB was suggesting. He suggested to do some debugging to see where the issue is. Why don't you follow his suggestions?

  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    11 Views
  • Qt ListView not displaying data

    Solved
    5
    0 Votes
    5 Posts
    55 Views
    SGaistS

    Well, that's exactly what I wrote about, you create your own QListView that you are not showing rather than using the one from your Ui object hence it stays empty.

  • Qt cannot correctly recognize my MinGW compiler

    Moved Solved
    4
    0 Votes
    4 Posts
    48 Views
    C

    Emm, thanks. I delete this and create a new project. It works well.

  • 1 Votes
    3 Posts
    149 Views
    aha_1980A

    Follow-up: https://bugreports.qt.io/browse/QTCREATORBUG-30718

  • Qt Creator build error on Windows

    Locked Unsolved
    3
    0 Votes
    3 Posts
    48 Views
    A

    ERROR:

    C:\Users\Ashutosh Verma\Documents\qt_qml\pro_1\build\Desktop_Qt_6_7_0_MinGW_64_bit-Debug\_deps\ds-build\src\imports\tools\eventsimulator\QuickStudioEventSimulatorplugin_autogen\include\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.moc:174: error: opening dependency file _deps\ds-build\src\imports\tools\eventsimulator\CMakeFiles\QuickStudioEventSimulatorplugin.dir\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp.obj.d: No such file or directory In file included from C:/Qt/6.5.3/mingw_64/include/QtCore/qglobal.h:34, from C:/Qt/6.5.3/mingw_64/include/QtCore/qnamespace.h:12, from C:/Qt/6.5.3/mingw_64/include/QtCore/qobjectdefs.h:12, from C:/Qt/6.5.3/mingw_64/include/QtCore/qobject.h:10, from C:/Qt/6.5.3/mingw_64/include/QtCore/qplugin.h:12, from C:/Qt/6.5.3/mingw_64/include/QtQml/qqmlextensionplugin.h:7, from C:/Users/Ashutosh Verma/Documents/qt_qml/pro_1/build/Desktop_Qt_6_7_0_MinGW_64_bit-Debug/_deps/ds-build/src/imports/tools/eventsimulator/QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp:3: C:/Users/Ashutosh Verma/Documents/qt_qml/pro_1/build/Desktop_Qt_6_7_0_MinGW_64_bit-Debug/_deps/ds-build/src/imports/tools/eventsimulator/QuickStudioEventSimulatorplugin_autogen/include/QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.moc:174:1: fatal error: opening dependency file _deps\ds-build\src\imports\tools\eventsimulator\CMakeFiles\QuickStudioEventSimulatorplugin.dir\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp.obj.d: No such file or directory 174 | QT_WARNING_POP | ^~~~~~~~~~~~~~
  • Headers and Source files are all greyout.

    Moved Unsolved
    3
    0 Votes
    3 Posts
    47 Views
    Q

    @Christian-Ehrlicher Thanks! It worked, also I needed to update my Qt to version 6.6.3 since only that version allow me to install the multimedia module.

  • linux, open or project ,show No symbol on IDE‘s top

    Moved Unsolved
    1
    0 Votes
    1 Posts
    31 Views
    No one has replied