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
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    50 Views
    No one has replied
  • Set up CMake building path in QT5.12.9

    Moved Solved cmake
    3
    0 Votes
    3 Posts
    1k Views
    C
    @Christian-Ehrlicher QT Creator, btw I solved by changing the CMake generator in project -> manage kits -> kits :D
  • "QSslSocket: error in msvc_2019 windows compile issue"

    Unsolved
    8
    0 Votes
    8 Posts
    766 Views
    Christian EhrlicherC
    Minimize your CMakeLists.txt and your app to only link against the Qt libs in a simple main.cpp to see what happens. Your CMakeLists.txt you way to much for a problem resolution.
  • Qmake: editing global configuration for a SUBDIRS project

    Unsolved
    15
    0 Votes
    15 Posts
    2k Views
    SGaistS
    @Violet-Giraffe how did you setup your subdirs project ? It seems you have a "reverse setup" (for lack of a better name) issue meaning that a lower-level project should influence the build of a higher level one. If I understood correctly it seem that prj1 and prj2 should in fact each define the whole subdirs structure by being "pseudo top level" projects including the higher level folders in their definition. Your top level pro file would then just contain prj1 and prj2. Note that I currently don't know if would be working that way.
  • Cant select any constructor from base class but the default one.

    Unsolved
    4
    0 Votes
    4 Posts
    448 Views
    A
    Found that by changing the order the c-tors are declared in the base.h QtCreator uses always the first c-tor declared, and if its a parametrised one it will properly call Base(parm1, ...) in the Derived() c-tor that is generated. So this is definitely a bug in QtCreator and not an issue with QtCreator unable to generate for classes that are not derived from QObject....
  • This topic is deleted!

    Moved Unsolved
    1
    0 Votes
    1 Posts
    19 Views
    No one has replied
  • Automatically append source directory to gdb when debugging

    Solved
    8
    1 Votes
    8 Posts
    2k Views
    JoeCFDJ
    @Creaperdown Sorry. It is needed. I guess I did it only once long ago. ======try this======================== Mapping source paths in debugging is useful when the source code paths on the development machine are different from the paths on the machine where the code is being debugged (e.g., when working with different computers or remote machines). Qt Creator allows you to set up source path mappings to ensure that the debugger can locate the correct source files during debugging. Here's how to do it: Open your project in Qt Creator. Go to the "Debug" mode by clicking the "Debug" button on the left toolbar or selecting "Debug" from the "Build & Run" menu. Once in the debug mode, click on the "Debugger" tab located on the left side of the "Debug" view. In the "Debugger" tab, you will find a section called "Source Path Mapping." Click on the "Add" button (+) within the "Source Path Mapping" section. A dialog will pop up where you can enter the mapping details. In this dialog, you need to specify two paths: the path on the machine where the code is being debugged (Target path), and the corresponding path on your development machine (Source path). Target path: This is the path as seen by the debugger on the machine where the code is running or being debugged. It should be the path that the debugger uses to look for the source files. Source path: This is the corresponding path on your development machine where the actual source files are located. After entering the paths, click "OK" to add the mapping. You can add multiple mappings if needed. Restart your debugging session (close and rerun the debugging) to apply the source path mappings.
  • why die qtcreator ??

    Moved Unsolved
    2
    0 Votes
    2 Posts
    260 Views
    jsulmJ
    @timob256 said in why die qtcreator ??: installed the git collapsed qt What does this mean? Do you mean you built Qt from source code?
  • How to set Qt Creator to replace tabs with white spaces

    Moved Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    Christian EhrlicherC
    Please see the docs.
  • qtcreator does not find my headers

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    J
    @jsulm sorry for that, it seems indeed much more appropriate :)
  • Pg Up and Pg Down do not work on QT Creator for Mac OS?

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

    Locked Unsolved
    2
    0 Votes
    2 Posts
    12 Views
  • qtcreator: Issue with debugging on MacOS

    Unsolved
    3
    0 Votes
    3 Posts
    363 Views
    J
    @jsulm Hi, Yes, but all seems fine for me. Any idea of what I need to define ?
  • jump to specific line in qt creator

    Moved Solved
    3
    0 Votes
    3 Posts
    530 Views
    S
    You might want to try out Ctrl+K as well which will give you a whole list of commands for navigation. But, for jumping to a specific line Ctrl+L is the even shorter shortcut.
  • 0 Votes
    2 Posts
    209 Views
    jsulmJ
    @PolywickStudio You should ask nfagraph project. Or at least post the content of the header files which cause this errors.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • No suitable kits can be used for project

    Moved Solved
    13
    0 Votes
    13 Posts
    3k Views
    grafenocarbonoG
    @grafenocarbono Hi, I have installed the special version for Distros Linux only Desktops. In any case, If i wanted to develop a mobile application, I would use flutter. [image: uc?export=view&id=1U6HHjpKeXhorF36kacvUU-nuaTmG-6KD] Thanks for all!!!
  • cmake project version

    Unsolved cmake qt 5.15 qt6 qt creator
    3
    0 Votes
    3 Posts
    3k Views
    semlanikS
    @nekkceb said in cmake project version: Is it possible to set the project version after the initial setting? Yes please see https://cmake.org/cmake/help/latest/variable/PROJECT_VERSION.html
  • 1 Votes
    2 Posts
    1k Views
    Y
    Had similar problem. Source turn out to be my ubuntu 23 which was newer then official supported 22 LTS. Reinstaling system to 22 LTS helped.
  • [Issue] Qt Creator doesn't allow me to add files to projects, only the .pro file

    Moved Unsolved error issue
    9
    0 Votes
    9 Posts
    4k Views
    sierdzioS
    @rogerccs said in [Issue] Qt Creator doesn't allow me to add files to projects, only the .pro file: And after loading the example, the .pro.file is remade. Yes, that's correct. Deleting the .pro.user file does not solve the issue. I get the same message. I don't know then, sorry. Your setup looks good. I'm not using Windows 7 since many years, maybe it's something specific to that version.