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 incorrectly reports applications crash

    qtcreator
    2
    0 Votes
    2 Posts
    557 Views
    sierdzioS
    Here is the bugtracker for the whole Qt Project: link
  • 0 Votes
    1 Posts
    701 Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    A
    @aheimberger Solved it by myself. I had to use the cfg directory, for what I hade two possiblities. Either using all cfg files within the cppcheck cfg directory or only the specific one for qt. cmd to use all cfg-files in director cppcheck/cfg, needs suppress of missing includes: -check-config --suppress=missingIncludeSystem . cmd to use single qt cfg file: --library=/home/ahe/Projects/cppcheck/cfg/qt.cfg See cppcheck: https://github.com/danmar/cppcheck https://github.com/danmar/cppcheck/tree/master/cfg
  • 0 Votes
    3 Posts
    2k Views
    krasotkavkrasnomK
    @krasotkavkrasnom said: It isnt in the specified path just in C:/Qt/Qt5.4.0/5.4/mingw491_32/bin/ . I dont have any idea how i can exclude translation from building. But I going to do it.
  • QT IFW script to automate installation process of an IFW installer

    ifw
    1
    0 Votes
    1 Posts
    820 Views
    No one has replied
  • 0 Votes
    1 Posts
    894 Views
    No one has replied
  • Build menu items not enabled.

    10
    0 Votes
    10 Posts
    5k Views
    JKSHJ
    Hi, @Edward161 said: I'm not finding any sort of guide to set things up in one tidy package. First, some notes: The Qt Project doesn't use the term "SDK" anymore. A "kit" is a copy of the Qt libraries plus a compatible compiler. The equivalent of "SDK" would be 1 or more "kits" plus the Qt Creator IDE. The MinGW kit and IDE are all provided in one package, "Qt 5.4.1 for Windows 32-bit (MinGW 4.9.1, 856 MB)" from http://www.qt.io/download-open-source/#section-3. From what you've written, it sounds like you've already installed this package. That means you already have a "Qt SDK". @Edward161 said: Under Build & Run, Kits, Name: Auto-Detected, Desktop Qt 5.4.1 MinGW 32Bit QT Versions C:\Qt\5.4\mingw491_32\bin\qmake.exe Compiler MinGW 4.9.1 32bit That means your Qt SDK, based on MinGW, has been installed and detected. @Edward161 said: Under Projects (left border) "No build settings available". ... When I open the 'Build & Run Kits Selector' under Build menu, It displays only the small black box in lower left corner with Project name: New, Kit: Desktop Qt 5.4.1 MinGW 32Bit , Deploy: Deploy locally, & Run: QML Scene. Can you please provide a screenshot of these? @Edward161 said: When sitting in Edit mode, the Build drop-down menu is grayed out down to and including Cancel Build. What am I missing? I can Run the project. You mean can run the project, but not build it? That's very strange. Which project is this? What happens if you create a new project? "File" -> "New File or Project..." -> "Application" -> "Qt Widgets Application" Also, try disabling your antivirus before you open Qt Creator.
  • 0 Votes
    2 Posts
    447 Views
    SGaistS
    Hi, If you go to the download page and click e.g. on the Community Edition, you'll be directed to SDK downloads themselves, depending on what you want click on the View All Downloads link and you'll see all choices you have. If you start directly with the online installer, you'll be able to choose what you want to install from there. Hope it helps
  • Deployment with Qtcreator is missing a step

    1
    0 Votes
    1 Posts
    454 Views
    No one has replied
  • 0 Votes
    2 Posts
    1k Views
    Chris KawaC
    You can put the name of mkspec you are used for the given platform. I think for Raspberry it's something like linux-rasp-pi-g++. Open the mkspecs/devices folder in your Qt installation and check it out or open the Kits propertties page in Qt Creator and see which mkspec your kits are using.
  • [Solved] qmake: += but avoiding duplicates

    qmake
    8
    0 Votes
    8 Posts
    2k Views
    sierdzioS
    Hm, maybe it's available only to admins at the moment. I know Tero has some problems with this issue (in the forum software Qt IO is using, changing topic title - to prepend [Solved] - requires admin priviledges), but is working on it.
  • Dr.Memory and Qt Creator

    qtcreator exteranl tools
    1
    2 Votes
    1 Posts
    3k Views
    No one has replied
  • setting up precompiled header

    qtcreator msvc pch
    3
    0 Votes
    3 Posts
    2k Views
    A
    thank you ! you are right, that was typo: PRECOMPILED_HEADER I've mean PRECOMPILED_SOURCE of course. that sounds oddly for me that stdafx.cpp is not required, but ok, I'll try to build thanks again!
  • Qt Creator 3.3 x CMake

    2
    0 Votes
    2 Posts
    807 Views
    SGaistS
    Hi and welcome to devnet, Since you changed the version of Qt Creator, look for a file name CMakeLists.txt.user and delete it then re-open your project in Qt Creator
  • 0 Votes
    1 Posts
    910 Views
    No one has replied
  • 0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, You should take a look at the bug report system to see if there's something about it. If not then consider opening a report explaining your use case
  • Bad Parsing of AVD API Level

    3
    0 Votes
    3 Posts
    863 Views
    A
    @SGaist I have installed QTCreator 3.3.1 but the code is like that even in the master branch. Bye
  • Why is Qt Assistant Duplicating my Section Titles ?

    1
    0 Votes
    1 Posts
    391 Views
    No one has replied
  • Mingw release build Symantec antivirus issue

    2
    0 Votes
    2 Posts
    1k Views
    K
    Hi and welcome to devnet If it is your exe which is quarantined, try another application (e.g. one of the Qt examples). When it is one of the installed components of Qt, please check on "JIRA":https://bugreports.qt.io/secure/Dashboard.jspa and eventually file a bug report. I had a similar occasion, but it had nothing to do with Qt. A small test application was always quarantined by Bitdefender antivirus. It was a really stupidly short program trying to compile a dll example code. As far as I remember it was calling this routine with a static value: @ int Double(int x) { return 2 * x; } @ Whenever the call was included Bitdefender was in action very fast. When the call was commented out I could debug the program. However, the program was compiled in Qt creator and no Qt components are used. So it was clearly no Qt problem and has probably something to do with MinGW libs. Hope this helps.
  • Build Server (Jenkins) Configuration

    3
    0 Votes
    3 Posts
    4k Views
    K
    just in case this is helpful to anyone dealing with same, here is a working script Jenkins can now call from the master to run the build on the Windows slave: @export PATH="C:\Program Files\Git\bin":"C:\Qt\5.4\mingw491_32\bin":"C:\Qt\Tools\mingw491_32\bin":%PATH% mkdir -p build cd build qmake $WORKSPACE/qt-project/gui-client.pro -r -unix "CONFIG+=release" mingw32-make.exe clean mingw32-make.exe@ the -unix on the qmake call was critical (oddly enough since this is running on a Windows server), otherwise the backslashes would be interpreted incorrectly.