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
  • QtCreator could not load platform plugin xcb

    Solved
    11
    0 Votes
    11 Posts
    4k Views
    aha_1980A
    @cooked said in QtCreator could not load platform plugin xcb: The symbolic linked fixed the issue. Now QtCReator works as expected. Is worth nothing to say the solution feels more like a hack/temporary fix (as also pointed out in similar threads regarding xcb). should I open an issue? No need to, the issue is well known: QTBUG-88688 Regards
  • created CMakeLists.txt from .pro in QT6

    Unsolved
    2
    0 Votes
    2 Posts
    264 Views
    jsulmJ
    @cawlfj If you want to suggest ideas/improvements you should do it in Qt bug tracker as this forum is for Qt users.
  • Qt Creator debugging not starting...

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    N
    @emazed I am happy that you resolved the issue. I had a similar issue, but without the No winrtrunner.exe found error. [image: JKMfL1z.png] I was able to track down the issue with the help of Qt Creators' Global Debugger Log window. I found that GDB was loading DLLs from my Git for Windows installation. [image: fFhVvmg.png] Upon further investigation, I found out that I had the C:\Program Files\Git\mingw64\bin path in my Windows System PATH. Removing this path and restarting Qt Creator (or maybe even Windows itself) should solve the issue. [image: YsheaCB.png] This reply is mostly for people facing the same issue as me. Currently, this post is the second search result on Google when searching for qt debugging has finished.
  • 0 Votes
    18 Posts
    24k Views
    M
    @tseiff said in [SOLVED] editor seems to be ignoring my preference settings for tabs instead of spaces: If you are still banging your head like I was, and you are using FakeVim, check those settings. They seem to be yet another layer of override and you have to manually check "Expand Tabulators", even if you already specified this TWICE via global and project settings. Then go ice your head. Qt Creator 3.3.0 This is quite an old post and without it I would have struggled to solve this problem. This functionality is quite silly and should be fixed, or at the very least, documented appropriately.
  • Precompiled headers with webassembly

    Unsolved
    1
    0 Votes
    1 Posts
    203 Views
    No one has replied
  • Design of maintance tool for Qt after last update

    Solved
    2
    1 Votes
    2 Posts
    257 Views
    jsulmJ
    @Nikeware Hi! This is user forum. If you want to contact Qt developers you should use their mailing lists or Qt bug tracker.
  • Issues with Qt Installer Framework 4.0

    Solved
    2
    0 Votes
    2 Posts
    476 Views
    ademmlerA
    I got a hint from qt Bug report team about this. The missing part for me was the hint, that those images have to go also into "config" dir instead of meta and that they need to have all different file names.
  • Qt example problem?

    Unsolved
    2
    0 Votes
    2 Posts
    641 Views
    aha_1980A
    Hi @Freebirds, it means you should copy the example to a proper writeable folder (e.g. below your home folder) and compile & run it from there. That is, e.g. what Qt Creator does when you select an example from the welcome screen. Regards
  • From Where Does Creator Read Program Symbols?

    Unsolved
    5
    0 Votes
    5 Posts
    508 Views
    mzimmersM
    @JonB no project file; it's a CMake application.
  • qmake problem with webassembly on windows

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    T
    Ahhh crap! The "template" in the .pro had a typo (had "apps" need to be "app").
  • QT6 + multimedia?

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    JKSHJ
    @davecotter said in QT6 + multimedia?: is this the case: "we wanted to release Qt6 asap, so didn't wait until multimedia was done. we will finish mutimedia and then make it part of Qt6"... It is this case. https://www.qt.io/blog/add-on-support-in-qt-6.0-and-beyond
  • Can't find where latest version of Qt Creator was installed

    Unsolved
    3
    0 Votes
    3 Posts
    324 Views
    AndyBriceA
    Yes, the Qt Creator about box still says 4.8.0..
  • Exceptions Google C++ Style Guide

    Unsolved
    2
    0 Votes
    2 Posts
    316 Views
    SGaistS
    Hi, That's a question you should bring to the Google folks.
  • QtCreators auto detection of test cases is doing it wrong.

    Unsolved
    2
    0 Votes
    2 Posts
    333 Views
    Christian EhrlicherC
    @llothar said in QtCreators auto detection of test cases is doing it wrong.: or there is some other way then the forum to request feature changes. The forum is user-driven and have nothing to do with the Qt development. Bug reports should go to bugreports.qt.io
  • Google C++ Style Guide

    Unsolved clang-format clang-tidy
    2
    0 Votes
    2 Posts
    1k Views
    david.skolandD
    I wouldn't know about Google's C++ style guide, but Qt certainly have their own guidelines for Qt itself: https://wiki.qt.io/Qt_Coding_Style There is a _clang-format file used by clang-format in the supermodule, which should be in line with the standard: https://github.com/qt/qt5/blob/dev/_clang-format You're completely free to choose your own style for your projects using Qt, though.
  • 0 Votes
    7 Posts
    2k Views
    M
    Thanks, I am distributing my source code via GitHub and GPL. I think that so long as I do that, it doesn't matter whether or not I use static linking in so far as licensing is concerned. My code is open-source, at least that's my intent. I did find that I was able to easily modify the makefile emitted by Qt Creator to force static linking of most, but not all of the Linux system dependencies. Apparently, some of the OS libraries were available only as shared libraries and in some cases Qt libraries called shared Linux OS libraries so that I was not able to use all the available static libraries offered by Linux. Too bad that it doesn't appear that one can roll up a desktop app all into one executable with no shared library calls. I'm thinking this would be nice since then, it could be distributed to any Linux machine without consideration of the distribution or kernel version? Thanks, Phil
  • 0 Votes
    2 Posts
    268 Views
    R
    Strange, now it is working. Perhaps I only needed to close Qt Creator and reopen it. Marking as SOLVED.
  • Configure Connection - what does greyed -out - "Edit " button do ?

    Moved Unsolved
    3
    0 Votes
    3 Posts
    835 Views
    A
    @Pl45m4 It is still unclear - "who is on first". If I use QtDesigner in simple "push button, clear list" connection , the "code" is buried in XML .... If want to do "see" the code options in "edit" I have to implement both slot and signal in my C code before I can do the connection , using "edit" in QtDesigner. If I do that , I get the "connect code" in XML again. It is fine when it all works, but pretty awkward to implement. Definitely not intuitive and no fun switching between QtCreator and QtDesigner. It sort of confirms my PERSONAL opinion that GUI is not always an user friendly improvement when it is just a fancy layer over CLI. PS I do no have any "connect" in MainWindow so I still do not see the "edit " buttons. l will work on that , but beginning to share other's opinions that doing "connect" in QtDesigner is not very productive .
  • Edit QtDesigner "connect" - is it possible ?

    Moved Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    SGaistS
    Hi, You should take a look at the Calculator Form example. From a learning point of view, I would recommend to start by reading the documentation associated with Qt Designer, dig in the examples and then start doing more involved stuff. You should also take the time to read about Signals and Slots to have a better grasp of what each is and what you can and cannot do with them.
  • Error finding /adding a slot - in Qt Designer

    Moved Unsolved
    10
    0 Votes
    10 Posts
    3k Views
    SGaistS
    Which slot are you trying to connect ? Advice: get yourself comfortable with doing things in code code. That's a very good long term investment.