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.8k Topics 36.2k Posts
Qt 6.11 is out! See what's new in the release blog
  • QT quick emulation layer crashed

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    JonBJ
    @Veit said in QT quick emulation layer crashed: @JonB iSorry was not aware about that. If my post violates the etiquette here, I will of ourse stop posting, Of course not! You are welcome to post here! I meant only as I said: this looks like a possibly "difficult" one, or might be specific to you, so I just hinted that you might find you can call on TQtC if you need to for this. I don't even know if they would help, but maybe with an evaluation license they would be keen to :)
  • QT creator 11.0.3 issues with loading project

    Unsolved
    4
    0 Votes
    4 Posts
    704 Views
    sierdzioS
    @Veit said in QT creator 11.0.3 issues with loading project: @sierdzio thanks for the hint. Be aware that I am currently evaluating so I do not now much about CMakeList. I just create a new project, save it, restart the Creator and load a created *.qmlproject file. I assumed this is the project file. Is this my mistake? What can I load instead? CMakeLists.txt located in root folder of your project is the main project file.
  • Default Build Directory Setting

    Moved Unsolved
    2
    0 Votes
    2 Posts
    360 Views
    sierdzioS
    @Redman I also could not find any documentation about it. Perhaps you can suggest this as feature request? https://bugreports.qt.io/secure/Dashboard.jspa
  • QT creator 11.0.3 issues with default app

    Unsolved
    4
    0 Votes
    4 Posts
    709 Views
    cristian-adamC
    It's mostly a tooling and operating system bug. See https://bugreports.qt.io/browse/QTBUG-117413 Qt Creator is creating a CMake project in such a way that will get result in long paths. CMake then gives this paths further to ninja / make and then to the compiler. GCC has this bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 and even though is an easy fix to add the manifest entry required by Windows ... nobody has fixed it yet. Visual C++ has the same issue, see https://developercommunity.visualstudio.com/t/compiler-cant-find-source-file-in-path/10221576 The only compiler that's fine is Clang. Ninja also requires a build from latest sources, since https://github.com/ninja-build/ninja/releases doesn't list yet version 1.12.0 which has the one line manifest entry that enables long paths. I usually say just switch to Linux or macOS, they are way more friendly to developers, and issues like this are non existent. Or ... just use c:/dev to have short paths 🙂
  • how to set default root for my build directory from Desktop to home/username

    Moved Unsolved
    1
    0 Votes
    1 Posts
    196 Views
    No one has replied
  • How to get path to buffer (copy)

    Moved Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • probable noob issue: cannot get QT creator runnning

    Solved
    5
    0 Votes
    5 Posts
    823 Views
    V
    problem is solved with a command line in the console like git config --global http.sslVerify false reason was that QT creator intrinsically uses GIT when setting up a project and connects to a GIT server. The data from the GIT has self-certification and our company network does not allow this. With the command above we tell GIT that it shall not check the SSL certificate.
  • QtCreator 'Peripheral Description File' (SVD) not working

    Unsolved
    1
    0 Votes
    1 Posts
    361 Views
    No one has replied
  • Doesn't launch my code in a new terminal

    Moved Unsolved
    2
    0 Votes
    2 Posts
    347 Views
    cristian-adamC
    The output is displayed in the Terminal pane. In the Terminal settings you can configure not to have this functionality. See https://doc.qt.io/qtcreator/creator-reference-terminal-view.html#terminal-preferences and uncheck the Use internal terminal check box.
  • How to access "textEdit" using "topLevelWidget()"?

    Unsolved
    2
    0 Votes
    2 Posts
    458 Views
    JonBJ
    @AnneRanch QTextEdit *textEdit = mainWindow->centralWidget()->findChild<QTextEdit *>(); if (textEdit) textEdt->append("TEST TEXT"); else qDebug() << "Did not find any QTextEdit";
  • How to view document of current Qt version instead of newest?

    Unsolved
    2
    0 Votes
    2 Posts
    264 Views
    No one has replied
  • empty content in pyside6-assistant

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    @warwick1996 you should start by installing the latest version of PySide6. It is now 6.5.3.
  • macdeployqt codesign verification error

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    SGaistS
    @Jonas-Kvinge Thanks for the feedback ! I am sorry, I lost track of this one.
  • IPlugin with Q_DECLARE_INTERFACE?

    Unsolved
    3
    0 Votes
    3 Posts
    758 Views
    H
    @jsulm IPlugin is the interface. class EXTENSIONSYSTEM_EXPORT IPlugin : public QObject { Q_OBJECT //... } class HelloWorldPlugin : public ExtensionSystem::IPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "HelloWorld.json") //... } why not class IPlugin { public: virtual ~IPlugin() {} //... }; Q_DECLARE_INTERFACE(FilterInterface, "org.qt-project.Qt.QtCreatorPlugin") class HelloWorldPlugin : public QObject, public ExtensionSystem::IPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "HelloWorld.json") Q_INTERFACES(IPlugin) //... } maybe IPlugin has a signal?
  • qtc.process_stub: Inferior error: QProcess::Crashed "Process crashed"

    Unsolved
    4
    0 Votes
    4 Posts
    3k Views
    jsulmJ
    @v3v439bm0 said in qtc.process_stub: Inferior error: QProcess::Crashed "Process crashed": I'm linking some libs, SDL2, Glew, OpenGL Do you build these libs using msys2? I'm asking because you can't mix MSVC++ and GCC.
  • How to index Tab widget contents ?

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    A
    I did try similar approach and it is sort-off working. Does that makes sense ? MWCCF->centralWidget()->topLevelWidget()->setWindowTitle("TEST windopw TITLE"); MWCCF->centralWidget()->topLevelWidget()->topLevelWidget()->setToolTip("TEST TAB TOOL TIP"); I have not figured out how to actually select desired Tab, so far only " top xyz..." is working. This approach is little cryptic ,but it would bypass the need for extra sub-funtion... ADDENDUM I think the above "topLevel" is OK for ONE level, it doe not makes much sense for multiple level... I like to modify / change my original post. Is there a way to scan thru the widgets / tabs to find a tab of specific title? I am still not sure how to find the correct widget - tab for example - pointer.
  • how to jump to start of line in Qt Creator

    Moved Solved
    4
    0 Votes
    4 Posts
    837 Views
    S
    Command+leftArrow should work as well.
  • Qt Creator displaying project structure wrong

    Moved Solved
    7
    0 Votes
    7 Posts
    1k Views
    R
    @Redman [image: 01aa50fe-f27e-4a4b-9727-8306e86317eb.png] After creating another folder with files inside QtCreator manages to show the project tree correctly.
  • Is there any documentation for the .pro file?

    Solved
    6
    1 Votes
    6 Posts
    2k Views
    R
    @KH-219Design Thank you for that. That's going to be useful.
  • how to hide this panel

    Moved Solved
    5
    0 Votes
    5 Posts
    801 Views
    jsulmJ
    @JacobNovitsky What QtCreator version is this?