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
  • Could not determine debugger type

    Solved
    6
    0 Votes
    6 Posts
    861 Views
    8Observer88
    When I installed Python I set "Add Python 3.8 to path": [image: 74a612fc-1d79-4eee-9a40-b75c9d3b6df4.png] The path was added to the user Path variable or I added the path manually. I don't remember: [image: 71bc7665-8953-45d0-8a0f-de32a1db78e9.png] I cannot see the system Path variable because the Edit button is inactive: [image: 3fda05d3-c1ed-4780-a874-10e1b9900259.png] I tried temporary to remove the E:\ProgramFiles\Python\Python38\ path from the user Path and I don't have any warnings: [image: 2cc890e7-0817-4576-99a9-91eb7e88ec8e.png] And Python works too in the CMD. I think I don't need to add Python to the user Path variable manually. I didn't think Python could affect GDB. Without you, I would not have solved this problem. Thank you very much!
  • default and CLONE session

    Moved Unsolved
    2
    0 Votes
    2 Posts
    307 Views
    Axel SpoerlA
    I don't know how often I have told you to mention Qt Creator in the headline, when your question is about Qt Creator. Which part of that request do you not understand? How do you think anybody can guess what your question is about, when you post a random screen snippet in General & Desktop? Just read the screen shot and answer the question yourself: Default is the last session you have worked on. Current session is the one that is currently open. They can actually be the same.
  • 0 Votes
    8 Posts
    849 Views
    I
    @cristian-adam Ah. So that was the problem than. I suppose I really should have just taken a look there. I made the suggestion, thanks for the help.
  • Install QT Addon - Qt 5 Core Compatibility APIs Component

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    H
    Hi, thanks for the quick response :) It seems that the Compatibility Mode is not available for the Qt 6.6.2 version (or already installed and therefore I cant see it?). I guess I will then install Qt 6.7.0 ... [image: 6df7c570-937f-4c13-99b1-934a0fec72c7.png] PS: For those who don't know (I didn't), the Maintanance tool is located in the QT install dir: "C:\Qt\MaintenanceTool.exe"
  • Convert debug view to text ?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    271 Views
    M
    @AnneRanch Right-click->Copy Contents to Clipboard
  • pyuic5 doesn't generate all of the code.

    Unsolved
    2
    0 Votes
    2 Posts
    222 Views
    JonBJ
    @zylthex Just paste the last few lines here so we know what you are looking at.
  • 0 Votes
    3 Posts
    316 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
    447 Views
    No one has replied
  • 0 Votes
    4 Posts
    707 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.
  • QTCreator 12.0.2 Keeps asking ssh username and password everytime

    Solved
    6
    0 Votes
    6 Posts
    1k 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
    285 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
    446 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
    813 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
    542 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
    643 Views
    C
    Emm, thanks. I delete this and create a new project. It works well.
  • Trying run Valgrind remotely, but Qt Creator trying to access invalid IP address

    Unsolved
    3
    1 Votes
    3 Posts
    545 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
    609 Views
    Ash VA
    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 Solved
    3
    0 Votes
    3 Posts
    407 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
    142 Views
    No one has replied