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.3k Posts
  • How to know Which line when “index out of range"?

    Unsolved
    7
    0 Votes
    7 Posts
    994 Views
    J
    @jsulm Tks....
  • Use Qt Remote Objects in Visual Studio (with qt plugin)

    Solved
    2
    0 Votes
    2 Posts
    224 Views
    FalsinSoftF
    To reply to my own request for all is interested the Qt Remote Objects field in project settings show up only if a .rep file is added to the project.
  • Make options for debugging

    6
    0 Votes
    6 Posts
    8k Views
    SprezzaturaS
    If you're using MS Visual Studio, it's QMAKE_LFLAGS += /MAP:myProject.map in the .PRO file
  • Find problem

    Moved Solved
    3
    0 Votes
    3 Posts
    319 Views
    SPlattenS
    @sierdzio Ctrl+F doesn't but Ctrl+Shift+F does work, thank you.
  • QT Creator / qmake project organization question

    Solved
    5
    0 Votes
    5 Posts
    468 Views
    D
    Dear all, @SGaist said in QT Creator / qmake project organization question: do not forget to use PRE_TARGETDEPS when linking to your static libraries. I suppose this is a typical newbie problem. Not all things are done automagically :-) Of course I had not specified this variable and after adding it the problem was solved. Thanks again for your help. Kind regards, Ralf
  • Run Qt project as root

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    D
    Ok then, thank you for this clarification. I will follow your advice.
  • Is there a way to import from Adobe XD?

    Solved
    2
    0 Votes
    2 Posts
    233 Views
    SGaistS
    Hi and welcome to devnet, From the looks of it, there's work in progress about it. See QDS-2166 and the related tickets.
  • Using Creator/Design Studio under WSL2?

    Solved
    15
    0 Votes
    15 Posts
    3k Views
    mzimmersM
    Well, I got it working...Windows kept fooling me because it likes to hide startup files in about a million different places, but it ultimately came down to a mis-configured startup file for VcXsrv. The details: mzimmers@mzimmers-home:~$ glxinfo -B name of display: 172.27.32.1:0.0 display: 172.27.32.1:0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Mesa/X.org (0xffffffff) Device: llvmpipe (LLVM 12.0.0, 256 bits) (0xffffffff) Version: 21.0.3 Accelerated: no Video memory: 25543MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.5 Max compat profile version: 3.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 OpenGL vendor string: Mesa/X.org OpenGL renderer string: llvmpipe (LLVM 12.0.0, 256 bits) OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.0.3 - kisak-mesa PPA OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 3.1 Mesa 21.0.3 - kisak-mesa PPA OpenGL shading language version string: 1.40 OpenGL context flags: (none) OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.0.3 - kisak-mesa PPA OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 Of note from a forum I asked on: The hardware (including the GPU) is virtualised. So the Linux video drivers can’t access the GPU directly as in a standard Linux installation; they have to use the virtual GPU provided by WSL, and I don’t think that supports OpenGL at present. In which case, you’re limited to the llvmpipe driver, which uses the CPU for rendering. There is some work being done on providing OpenGL support atop DirectX for WSL, but I believe that’s still work in progress. It appears that he's right about needing llvmpipe, since that appears in my info dump above. So, anyway, glxgears runs right now, and so does cube. Thanks for all the suggestions; hopefully someone else will find this useful.
  • Error message just showing question marks.

    Solved qtcreator
    4
    0 Votes
    4 Posts
    759 Views
    M
    Ok it was resolved. I don't know why exactly. Error message showing as normal string at debug mode.
  • Force Qt Creator to use imported fonts and enable font chain

    Unsolved
    1
    0 Votes
    1 Posts
    157 Views
    No one has replied
  • Different qtcreator behavior in compiling code

    Unsolved
    6
    0 Votes
    6 Posts
    520 Views
    M
    @J-Hilk I changed -std option value to c++2a same as done in make but nothing changed.
  • Qt Installer Framework: TypeError cannot read property name

    Unsolved
    6
    1 Votes
    6 Posts
    1k Views
    Romain CR
    @Slava-Vasiliev Yeah got the same issue with dash
  • Using Old Settings...

    Moved Unsolved
    2
    0 Votes
    2 Posts
    182 Views
    mrjjM
    Hi The only "cure" i know is to delete the .user file and open the project. set the compiler again and any extra options you might have.
  • qt6 autotest pluging not find any testcase

    Moved Unsolved
    2
    0 Votes
    2 Posts
    267 Views
    E
    i change qt version from 6.2 back to 6.1.1, then autotest plugings works , thanks.
  • Disable QML parser in QtCreator

    Unsolved
    2
    0 Votes
    2 Posts
    592 Views
    jeremy_kJ
    On macOS under the Qt Creator menu, About Plugins... lists the installed plugins, with check boxes to disable them. QmlJSTools and QmlJSEditor sound like candidates to consider. I think this menu item is under help on Linux/X11, but haven't looked recently.
  • Qt Creator include paths

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    F
    Hi all, I was recently facing include std and stl missing issues. And It seems like Qt Creator 4.15.1 is conflicting with it's default configured kits. So I have made a custom one by: I have installed clang 10 from ubuntu. sudo apt install clang tools>options>Kits>Kits select the default Desktop QT 5.15.2 64 bit (default) Press Clone button In compiler section For C : Clang 10(C, x86 64bit in /usr/bin) For c++ Clang 10(C++, x86 64bit in /usr/bin) Using this kit cmake and Qmake is working and also missing stl and std paths are fixed. https://askubuntu.com/a/1348022/225382
  • Qt creator locals problem

    Unsolved
    1
    0 Votes
    1 Posts
    140 Views
    No one has replied
  • 0 Votes
    1 Posts
    241 Views
    No one has replied
  • Use GammaRay with PyQt / PySide

    Unsolved python gammaray pyqt5 pyside2
    4
    1 Votes
    4 Posts
    948 Views
    SGaistS
    You should try to comment on the GItHub issue to see if you can get more details of how it was done ?
  • QtCreator Q_VER_MIN Q_VER_PAT

    Unsolved
    7
    0 Votes
    7 Posts
    620 Views
    SGaistS
    As I already suggested, you can use your version control system to extract the hash of the current commit for example. Use the system qmake command for that. Then you can use QMAKE_SUBSTITUTES like described in this article to include the information in your library/application.