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
  • 0 Votes
    1 Posts
    174 Views
    No one has replied
  • Back to basic..all about "make" and its usage in QT

    Moved Unsolved
    5
    0 Votes
    5 Posts
    407 Views
    JKSHJ
    @AnneRanch said in Back to basic..all about "make" and its usage in QT: @JKSH That "thread" got sidetracked on -j option . Nothing to do with "make" etc.... My post on 22 September 2020 described exactly what qmake, CMake, make, and nmake do for Qt.
  • Help me to idetify....possible SOURCE directory name conflicts with QT ?

    Moved Unsolved
    1
    0 Votes
    1 Posts
    159 Views
    No one has replied
  • 0 Votes
    7 Posts
    2k Views
    O
    @J-Hilk OK, thank you for the clarification, and sorry about the qmake/cmake mixup.
  • Qt Creator WordWrap marker / symbol

    Unsolved
    2
    0 Votes
    2 Posts
    212 Views
    sierdzioS
    If you have line numbers, the number on wrapped line will be missing. Also, in Tools->Options->Text Editor->Display you can tweak many related options ("Display folding markers" could help).
  • I am unable to make changes in the original resources file to add my own.

    Moved Unsolved
    2
    0 Votes
    2 Posts
    235 Views
    R
    @Rituraj11 The original resource file is not getting edited and even when I tried to import my icons through stylesheet in Qt, I am not getting the edit option in Qt and only getting resources option that was originally in the project. Attaching ss of the stylesheet->resources where editing option is not present. [image: c6739053-f065-4568-b9d1-3502d98b37ca.png]
  • Cannot create directory...

    Moved Unsolved
    6
    0 Votes
    6 Posts
    763 Views
    A
    So my mistake is I select "shadow" directory SAME as my source , source being where my x.pro file is. Or I am supposed to guess the check box belongs to next line... So when shadow build is selected the "build" output goes there, not into source directory - as the doc say. Nothing to do with root or RAID as long as I own the RAID. I guess I need to find where QT thinks my source directory is and pay attention where "build" outputs the results. . Thanks , appreciate your help.
  • Adding qml components to Qt Creator

    Unsolved
    3
    0 Votes
    3 Posts
    305 Views
    W
    So i see now that these components exist in "C:\Qt\6.3.1\mingw_64\qml\QtQuick". How can i get these other components to show up (so they can be drag&dropped, regardless of if there is a thumbnail available)?
  • Project setting in QTCreator?

    Unsolved
    4
    0 Votes
    4 Posts
    500 Views
    JKSHJ
    @AnneRanch said in Project setting in QTCreator?: **My question is - how do you physicality start "Build /Run" ? The answer is - Follow the steps that @Gojir4 wrote above.
  • Qt Design Studio form editor did not working.

    Unsolved designstudio qt6 form editor
    5
    0 Votes
    5 Posts
    2k Views
    D
    [image: 68c6ae62-ee82-4be1-ada6-7dd09767a7fa.png] am having the same issue . if I create a new project then select the Qt version 6 and then run the default code it produces no output .Ho do i fix fix this ? On the other hand if i start a new project and select the target Qt as Qt5 , it runs and produces an output.. so what could be the issue [image: 1f168880-152d-422b-bbc1-b9b9d6234b77.png]
  • No source code when debugging library code

    Unsolved
    6
    0 Votes
    6 Posts
    779 Views
    Z
    Seems to work fine here with a dummy main.c #include "../lib/lib.h" int main() { int foo = 0; foo = addone(foo); return 0; } and dummy lib.h int addone(int foo); lib.c int addone(int foo) { return foo + 1; } Stepping into addone from main.c opens foo.c If you open View > Views > Debugger Log, that might show helpful information why it might not work for you after the "script theDumper.executeStep" execution.
  • Can not set QTSDK DIRs within QTCreator

    Unsolved
    12
    0 Votes
    12 Posts
    1k Views
    cristian-adamC
    I can only assume that you have a Kit that doesn't have the Qt SDK selected as the Qt version and you configure with an empty CMAKE_PREFIX_PATH and then CMake picks up your system Qt. Then you tried changing the CMAKE_PREFIX_PATH in the Current configuration and not the Initial Configuration, but that only changes the CMAKE_PREFIX_PATH cache variable and not all the Qt5*_DIR cache variables. I have made a screencast showcasing this case: https://bugreports.qt.io/secure/attachment/128619/QtCreator-7.0.2-Linux-system-vs-qtsdk.mp4 Make sure that your Kit contains the right Qt version and / or that you change the Initial Configuration value of CMAKE_PREFIX_PATH.
  • Error installing Qt creator on CentOS Linux 7-2009.

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    G
    @JKSH Nevermind. I can't seem to get this to work on CentOS now. I am using a VM within Windows. I've installed Qt Creator 5 from your link. That works and I can open the project. Then, I have the online installer and I am trying to get Qt 5. I've tried several configurations but they all get stuck at "x of y components installed." I've tried to install only "Desktop gcc 64-bit" under Qt 5 without the default selection and with the default selection of installation when I do custom installation. None of these work and I have to force quit the installation. Is there a proper way or different way to get Qt 5 now?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • This topic is deleted!

    Moved Unsolved
    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Build directory grayed out ...

    Unsolved
    3
    0 Votes
    3 Posts
    343 Views
    A
    @ziller Thanks - now it makes sense.
  • what are (is) the proper solution(s) ?

    Moved Unsolved
    3
    0 Votes
    3 Posts
    325 Views
    A
    Great, this adds more to (my) confusion . I have been told too many times (!) not to mix "kits" . My entire project, consisting of many subprojects, it now compiles and runs just fine when I select QT 5. ( whatever the latest version 5 is - I do not care to keep track as long as it works ) I'll make a backup and try to compile using 6.
  • Meson settings is not getting saved in Qt creator

    Moved Solved
    9
    0 Votes
    9 Posts
    761 Views
    S
    @ziller Thanks for the info.
  • 'class UI::MainWindow' has no member named 'comboBox'

    Locked Unsolved
    11
    0 Votes
    11 Posts
    22k Views
    CN_CabbageC
    Click the hammer icon on the bottom left to build the project.
  • VS2022 + Qt 5.15.2: cannot open file qtmaind.lib

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    Christian EhrlicherC
    Make sure the Qt libpath is really added to your linker options -> https://docs.microsoft.com/en-us/cpp/build/reference/libpath-additional-libpath