Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Qt Development
    3. Tools
    Log in to post

    Tools

    • Qt Creator Clang Code Model problems collection
      qt creator clang • • aha_1980  

      28
      8
      Votes
      28
      Posts
      8332
      Views

      I have upgraded QtCreator to version 6. When I opened my project session clangd run out of memory and crashed my system. Sometimes it just crashes QtCreator: [12437.692439] Out of memory: Killed process 56361 (clangd.main) total-vm: 1033980kb, anon-ess: 564302kb, shmem-rss: 0kb, UID: 1000, pgtables: 1360kb, oom_score_adj: 0
    • SOLVED App crash during valgrind, on QProcess::start
      • ocgltd  

      14
      0
      Votes
      14
      Posts
      183
      Views

      @JoeCFD Well that sure looks similar, so I'll chalk it up to a Qt bug for now. My app does lots of forking, so hard to temporarily disable this (to test for other leaks). So I'll just have to wait until this is fixed and recheck for leaks later.
    • UNSOLVED QML Format
      qml qtcreator qtquick formatter • • stewythe1st  

      3
      1
      Votes
      3
      Posts
      55
      Views

      @stewythe1st Here are some bug reports for qmlformat https://bugreports.qt.io/browse/QTBUG-105478 https://bugreports.qt.io/browse/QTBUG-105479 https://bugreports.qt.io/browse/QTBUG-105480 Can you add some observations?
    • UNSOLVED How to install QT VS Tools add-in? What versions are most stable?
      • mikeitexpert  

      2
      0
      Votes
      2
      Posts
      144
      Views

      There is no answer to this, does this mean it is a rare issue? I have VS Pro 2022 and see the issue there.... 7 years on.
    • UNSOLVED QList<QString> not showing contents in locals window
      • barbara.roman  

      1
      0
      Votes
      1
      Posts
      16
      Views

      No one has replied

    • SOLVED qmlformat 6.3.0 let to var "Error while writing"
      • qmluser  

      4
      0
      Votes
      4
      Posts
      44
      Views

      @qmluser Hi, you can mark it solved yourself using the "Topic Tools" button or the three dotted menu beside the answer you deem correct :-)
    • UNSOLVED Time in QT gui
      • Pariposh  

      4
      0
      Votes
      4
      Posts
      23
      Views

      In addition to @mchinand, there's also the Analog Clock example for a less digital looking UI.
    • SOLVED How do I set zoom levels
      • zeroxoneafour  

      4
      0
      Votes
      4
      Posts
      267
      Views

      @sierdzio There is a "Text Editor" panel where you can set your favorite display options:
    • UNSOLVED Heob memory leaks analyzer: how to start
      • sitesv  

      2
      0
      Votes
      2
      Posts
      330
      Views

      Hi sitesv, I didn't add dwarfstack to the include path, but rather placed the dwarfstack32.dll and dwarfstack64.dll in the same folder as the heob executable, and everything worked fine. Cheers, Matteo
    • UNSOLVED Memory leak in using setupUi() function of Ui object
      • nagaraj_r  

      4
      0
      Votes
      4
      Posts
      189
      Views

      @nagaraj_r since the ui object is created on the heap (using new) and has no parent, it has to be deleted manually. You should add delete ui; to the destructor of the halconform class. Or - better - make use of the smart pointers, like std::unique_ptr. This is independent of the used Qt version. valgrind reports the memory leak correctly. See also: https://doc.qt.io/qt-5/designer-using-a-ui-file.html#using-a-pointer-member-variable
    • SOLVED Qt 5.15.5 on Windows?
      • l3u_  

      7
      0
      Votes
      7
      Posts
      45
      Views

      Actually, I simply forgot to tweak qtbase\mkspecs\win32-g++\qmake.conf and to add QMAKE_LFLAGS += -static -static-libgcc QMAKE_CFLAGS_RELEASE -= -O2 QMAKE_CFLAGS_RELEASE += -Os -momit-leaf-frame-pointer DEFINES += QT_STATIC_BUILD Building Qt 5.15.5 with this change made the static output work :-)
    • SOLVED Lupdate stuck on creating stash file
      • matsdra  

      3
      0
      Votes
      3
      Posts
      21
      Views

      I wonder how I did not find this option by myself... Thanks a lot ! it works.
    • SOLVED Debugger message not coming up
      • ornello  

      2
      0
      Votes
      2
      Posts
      21
      Views

      I could solve the problem: It only occurred in my tests which is reasonable because test execution should not be halted by a failed assertion. If you want to stop in your test cases, you will need to run the test program with the "-nocrashhandler" option which on Windows re-enables the Windows Error Reporting dialog: https://doc.qt.io/qt-5/qtest-overview.html However the dialog does not show the failed assertion, and clicking the "Ignore" button does not continue program execution.
    • UNSOLVED QtChart error
      • Witc  

      1
      0
      Votes
      1
      Posts
      23
      Views

      No one has replied

    • UNSOLVED Qt Creator Bug?
      • Witc  

      4
      0
      Votes
      4
      Posts
      47
      Views

      @Witc That I don't know, but I think there were already similar questions in this forum - try to search
    • UNSOLVED "dirty fiile " option ?
      • AnneRanch  

      30
      0
      Votes
      30
      Posts
      244
      Views

      I feel like beating a dread horse ... the more I get into this mess the worse it gets . Here are my latest observations When Qt finally starts I get a pop-up in lower right corner with a ton of progress bars and changing small prints of their descriptions when this pop-up goes away I can right click on highlighted project and select "Run"... There are no other visible changes to indicate Qt is ready to run the project... AFTER I am done editing I can "Ctrl +B" - build - and I get the "pop-up" going again as described in #1 (Anybody care to tell me what is the official name of this pop-up and WHERE it is described ?) While (!) the "pop_up" is RUNNING I can "Ctrl+R" and my project will eventually run... I like to combine these Ctrl shortcuts , but so far no luck - there are too many superfluous shortcut conflicting with my idea of " build and run " shortcut. Anybody have a software to give a list of UNUSED shortcuts in Qt ? ( OK i'll ask Mrs Google)
    • SOLVED Error running imported project
      • imene  

      15
      0
      Votes
      15
      Posts
      86
      Views

      @imene Remove the name of the parameter "column" if you do not use it to get rid of this warning
    • SOLVED Qt Creator 8.0.0 bug?
      • posktomten  

      5
      0
      Votes
      5
      Posts
      68
      Views

      Actually it is a nice feature. My version 5.0.1 is sort of old.
    • UNSOLVED (macOS) Qt Creator and Qt Design Studio – QML designer freezes or takes a long time to process basic operations
      qml design studio designer error freezing design editor • • SpookDome  

      1
      0
      Votes
      1
      Posts
      39
      Views

      No one has replied

    • UNSOLVED How to implement multiple open executable program
      • hyhhyh  

      4
      0
      Votes
      4
      Posts
      19
      Views

      Hi, For macOS, there's QFileOpenEvent. In any case, you have to register your application as the default to be used to open that file format.
    • UNSOLVED QtCreator Docker plugin
      plugin docker qtcreator 5.0 • • Maaike  

      7
      0
      Votes
      7
      Posts
      831
      Views

      thank you for the explanation above. After I close QtCreator and re-open it the configured docker kits often disappear even in Docker daemon is running. I wonder how docker plugin detects the compilers and the Qt version inside the container? Do you know which commands it runs or the sources? thank you
    • UNSOLVED QtCreator Docker plugin forgets Kit items
      qt creator docker docker plugin • • S_Wuest  

      4
      0
      Votes
      4
      Posts
      75
      Views

      Hi all, I have the same problem with latest version of qtcreator. The Docker plugin cannot, in certain conditions, detect the Qt version and compilers... I can't find a workaround as of now. I tried deleting the configured device, deleting the kit, however docker Qt version cannot be configured manually like compilers or cmake. Any ideas? thank you
    • UNSOLVED MSVS: translation menu item missing?
      • ivanisavich  

      3
      0
      Votes
      3
      Posts
      30
      Views

      Perfect...thank you!
    • UNSOLVED Say what ? clangd is disabled after "update "...
      • AnneRanch  

      7
      0
      Votes
      7
      Posts
      90
      Views

      @andr said in Say what ? clangd is disabled after "update "...: Seriously: How would you solve the problem? By writing it to a forum and crying around :D
    • UNSOLVED Qt Creator develop android app using cmake, why Java files are not visible under the project files?
      • Tony Yam  

      2
      0
      Votes
      2
      Posts
      20
      Views

      You need to add your java source files to the project so that they will appear in the project tree. Something like: if (ANDROID) list(APPEND PROJECT_SOURCES android/something.java android/and_another_something.java) endif()
    • UNSOLVED QtCreator unnecessary semantic errors
      • hakanari  

      2
      0
      Votes
      2
      Posts
      25
      Views

      The original issue where Qt Creator / clang chokes is probably in DoubleListImpl.tpp. I suggest you open the file, this hopefully should give you more insights ...
    • UNSOLVED How to Build QMLLS Binary from Source
      • GLaDOS1105  

      7
      0
      Votes
      7
      Posts
      62
      Views

      Hi @CristianMaureira, I would prefer the second approach: looking inside the site-packages/PySide6/qmlls. However, in the current version of PySide6, there is no binary qmlls at all. I was able to build the extension integrating other PySide tools, including rcc and uic, with the helper functions in site-packages/PySide6/scripts/pyside_tool.py but no anything related to qmlls can be found in there. Is it possible to find another way to get the binary? I think building the binary from source would be a detour and easy to break than using something provided by PySide package directly.
    • UNSOLVED warning: this file is not part of any project.
      • tereshko  

      11
      0
      Votes
      11
      Posts
      6421
      Views

      @Meistermosher Yes. It really works. :D
    • UNSOLVED How to match #ifdef #endif ?
      • AnneRanch  

      5
      0
      Votes
      5
      Posts
      65
      Views

      Its common practice to just put a single line comment at the end of the initial #ifdef line, then again at the end of the matching #endif, e.g: #ifdef MY_EXAMPLE //123 ... #endif //123
    • SOLVED some display area is blurred on qt creator 6.0.2(Qt.5.15.2) on ubuntu 20.04.4
      • JoeCFD  

      4
      0
      Votes
      4
      Posts
      34
      Views

      It is only a problem of intel graphic card.
    • SOLVED Qt Help Dark Mode?
      • J-Kappes  

      2
      0
      Votes
      2
      Posts
      32
      Views

      https://bugreports.qt.io/browse/QTCREATORBUG-26557 tracks this feature. It's not yet implemented.
    • UNSOLVED Qt Creator 5.0.3 - Editor: print toggled view of C++ header file
      • Robert Hairgrove  

      4
      0
      Votes
      4
      Posts
      19
      Views

      Suggestion reported: https://bugreports.qt.io/browse/QTCREATORBUG-27922
    • Qt Definition of dllimport static field not allowed 0:0: :47:7: note: attribute is here
      • lzclient  

      1
      0
      Votes
      1
      Posts
      13
      Views

      No one has replied

    • UNSOLVED Back to basic..all about "make" and its usage in QT
      • AnneRanch  

      5
      0
      Votes
      5
      Posts
      58
      Views

      @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.
    • UNSOLVED Help me to idetify....possible SOURCE directory name conflicts with QT ?
      • AnneRanch  

      1
      0
      Votes
      1
      Posts
      21
      Views

      No one has replied

    • UNSOLVED Add New..., Add Existing Files..., Add Existing Directory... all greyed out in a qMake project, episode 3
      • oin-oin  

      7
      0
      Votes
      7
      Posts
      217
      Views

      @J-Hilk OK, thank you for the clarification, and sorry about the qmake/cmake mixup.
    • UNSOLVED Qt Creator WordWrap marker / symbol
      • J-Kappes  

      2
      0
      Votes
      2
      Posts
      14
      Views

      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).
    • UNSOLVED I am unable to make changes in the original resources file to add my own.
      • Rituraj11  

      2
      0
      Votes
      2
      Posts
      36
      Views

      @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.
    • UNSOLVED Cannot create directory...
      • AnneRanch  

      6
      0
      Votes
      6
      Posts
      42
      Views

      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.
    • UNSOLVED Adding qml components to Qt Creator
      • WoR473  

      3
      0
      Votes
      3
      Posts
      55
      Views

      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)?