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
  • Qt Creator 3.3 x CMake

    2
    0 Votes
    2 Posts
    784 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
    892 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
    854 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
    380 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.
  • [solved] Qt creator can't find opengl headers or I'm missing a package

    3
    0 Votes
    3 Posts
    2k Views
    B
    This is going to be really weird, but I shutdown my computer last night and it works now? So problem solved apparently!
  • [SOLVED] QtCreator can not be used to debug std::libc data types

    2
    0 Votes
    2 Posts
    1k Views
    T
    Error depends on Debug settings of GDB in QtCreator. Default settings for QtCreator 3.3 and newer avoid this issue.
  • QtC autocomplete

    3
    0 Votes
    3 Posts
    841 Views
    A
    As far as I remember, CLion does both points Eclipse does second one. It doesn't look complicated to check that file contains no one reference to declarations in given header, no?
  • Qt Creator fails to debug

    1
    0 Votes
    1 Posts
    742 Views
    No one has replied
  • QtC doesn't call .lib file generating

    7
    0 Votes
    7 Posts
    2k Views
    A
    I'm using something typical, looks working for me #ifdef EXP_STL # define DECLSPECIFIER __declspec(dllexport) # define EXPIMP_TEMPLATE #else # define DECLSPECIFIER __declspec(dllimport) # define EXPIMP_TEMPLATE extern #endif EXPIMP_TEMPLATE template class DECLSPECIFIER std::basic_string<char>; where EXP_STL is defined for dll and undefined for exe the only issue I faced some time ago is an exporting std::list of std::unique_ptr unique_ptr has move init semantics but list requires copy ctor I was using emplace_back for elements filling up and that was working for single project but for the sharing this object between dll and exe (function in dll returns this list to the caller from exe) like this: EXPIMP_TEMPLATE template class DECLSPECIFIER std::list<std::unique_ptr<my_class>>; raise the error - something about deleted copying ctor of unique_ptr, it'd look reasonable in case of list using but here - the declaration only! I can't understand why - this is the only declaration. if I remove declspec this will be built correctly…. [edit: Added missing coding tags: 3 ` before and after SGaist]
  • QT Creator autocomplete for structs and functions from OS X headers

    2
    0 Votes
    2 Posts
    846 Views
    A
    Hello, after a long search I found an unsatisfactory solution. The directories in which the headers of the SDK lie have a peculiar structure. It's a mystery for me that the compiler find these header files. My Solution: I've written a small php shell script. It creates a directory with symbolic links to all header directorys of the SDK frameworks. @ <?php $sdk = "MacOSX10.10.sdk"; $sdk_dir = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/".$sdk."/System/Library/Frameworks/"; $out_dir = "~/include_".$sdk; if(!is_dir($out_dir)) { mkdir($out_dir); } $d = dir($sdk_dir); while( FALSE !== ($f = $d->read()) ) { if( !is_dir($sdk_dir.$f) ) continue; if( ".framework" != substr($f,-strlen(".framework"))) continue; if( is_dir($sdk_dir.$f."/Headers") ) symlink( $sdk_dir.$f."/Headers", $out_dir."/".substr($f,0,-strlen(".framework"))); } @ In my .pro file I add this directory to the INCLUDEPATH variable. In this way Qt-Creator finds what it needs! The disadvantage is. The compiler is disturbed by this INCLUDEPATH, so I always have to remove this entry before compiling. Maybe someone knows a better solution? Thanks Axel
  • QT Creator Gui Spinoff -- Rad Non Programmer Framework

    10
    0 Votes
    10 Posts
    3k Views
    SGaistS
    One starting point is the "Qt Creator API":http://doc.qt.digia.com/qtcreator-extending/qtcreator-api.html documentation
  • C++ Reference No documentation available (QT Creator 3.3.0 QT 5.4)

    3
    0 Votes
    3 Posts
    2k Views
    T
    I am also having a problem getting the reference files to work. But it is only partially working... For example if I press F1 while on keywords like "vector" or "list", "cout","cin" help is showing. (And help will only show while the proper header files are included, and either the words must be preceded by std::, or defined with "using std::") But for other words like "int" and "double", I am getting nothing. It does not work with "for", "while" "do","if". .. I am getting the impression, the index for the help is tied to the header files, and so will only work with keywords and functions which have header files, and which are included, and will not work for anything else. .. I am using QT Creator 3.3 QT 5.4, on Linux Mint 17.
  • 0 Votes
    1 Posts
    640 Views
    No one has replied
  • \group and \ingroup topic command for QML documentation

    4
    0 Votes
    4 Posts
    2k Views
    Z
    I am facing the same kind of problems. \qmlmodule and \inqmlmodule also don't seem to work well. I don't want to use doxygen. Because our docs need to become integral part of the help.
  • Power button shuts down computer if Qt Creator is running

    10
    0 Votes
    10 Posts
    2k Views
    N
    Well, this is interesting. I tried multiple times with various software. With VLC 2.1.4, Clementine (using Qt 4.8.6) and Skype 4.3.0 it never happened. With Texmaker 4.1 (built on Qt 4.8.4) it seems to happen about once in two times. With my own app built on Qt 5.?.?, it only happened once in ten times. I tried to test launching the apps from the launcher bar or from a console, executing the command with or without "&" at the end, pressing the power button while the window had the focus or not, but couldn't seem to find any pattern. Another issue that these apps all have, however, is this: http://qt-project.org/forums/viewthread/47632/
  • Qt Creator and SVN

    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    You need 1.7 at least since 3.3 See the "changelog":https://qt.gitorious.org/qt-creator/qt-creator/source/d4d677ed2536408d83676212496855370d340702:dist/changes-3.3.0
  • Cannot paste from Clipboard to QtCreator 3.3.0

    2
    0 Votes
    2 Posts
    761 Views
    SGaistS
    Hi, Might be a Windows specific bug. You should take a look at the "bug report system":http://bugreports.qt-project.org to see if its something known