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
  • Qt Creator - Deploy and debug generic projects

    1
    0 Votes
    1 Posts
    660 Views
    No one has replied
  • Need some assistance with qmake

    9
    0 Votes
    9 Posts
    3k Views
    C
    Ya, Thanks for the help Dheerendra and JKSH, I have decided to just use Qt Creator for all my needs instead of handling qmake manually and using external editors. Too many headaches. Thanks again.
  • Convert solution from VS

    10
    0 Votes
    10 Posts
    13k Views
    SGaistS
    AFAIK, with cmake, you create multiple build folders, one for each architecture you want to support. You call cmake in it to prepare the build tree and either you directly pass the correct flags/defines or your edit the build tree using ccmake Yes, command prompt cmake -> nmake or mingw32-make depending on your compiler. Hope it helps
  • Widget extension to write into UI

    1
    0 Votes
    1 Posts
    504 Views
    No one has replied
  • 0 Votes
    3 Posts
    3k Views
    A
    One of the option maybe to start an app through a shell script @ #!/bin/sh export MYTEST="Hello, world!" exec /path/to/your/app @ Select this script in "Local Executable" files and run it.
  • QtCreator crashes

    8
    0 Votes
    8 Posts
    4k Views
    B
    Yep, that definitely fixed it! No crashes since turning off the UpdateInfo plugin. Thanks everyone! :-D
  • Qt Creator & C++11

    8
    0 Votes
    8 Posts
    39k Views
    T3STYT
    There is a much much easier way: @CONFIG += c++11@ Put that in your project .pro file and you're done :)
  • How to use Valgrind remotely ?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Weird issue: Debugger won't start when qInstallMsgHandler is used

    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    No problem with that, you might be lucky here also :)
  • Changing colour scheme on pop-up helper box in QT Creator

    5
    0 Votes
    5 Posts
    1k Views
    T3STYT
    p3c0 posted an interesting link. I have actually tried it and it works; but I have only tested the styles provided in the links, I'm not sure how to handle a tooltip. You should really try it :)
  • DLLDESTDIR variables in qmake (DLLDESTDIR and TARGET_EXT) not defined

    9
    0 Votes
    9 Posts
    8k Views
    T3STYT
    If you want to know which folder will be used by default for the building process, then this setting is accessible in QtCreator's options. From the menubar go to: Tools> options > Build & Run and have a look at the Default build directory setting. The default one is "../build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}". Additionally debug and release folders are created inside the build folder such that you have: (some_path_before)/build/debug and (some_path_before)/build/release. This is where your files are usually built. As I said previously, the OUT_PWD (unless you explicitly modify it - which seems you don't) is going to tell you the exact main folder of the build: (some_path_before)/build so you can travel from this folder to any subfolder you have. Also, please read the whole thing I have written: if you set a particular path in DESTDIR (or DLLDESTDIR) then your build is going to put your files inside THAT path. Which means, if you set: DLLDESTDIR = dll_release your dll is going to be output in: (some_path_before)/build/dll_release and you can retrieve this exact path by using $$OUT_PWD/$$DLLDESTDIR. This is exactly what you're looking for. (if you don't set any value in DLLDESTDIR or DESTDIR all the files built will go under the debug or release folders: $$OUT_PWD/debug or $$OUT_PWD/release )
  • Qmake (.pro) syntax question

    7
    0 Votes
    7 Posts
    2k Views
    T3STYT
    Sometimes it might be useful to manually run qmake (from the menubar: Build > Run qmake). Some changes in your .pro file might be overseen by qmake 8especially if they're made externally from Qt Creator), so the makefiles are not updated correctly. The clean step does not remove makefiles since it's qmake that handles them, so you may experience these little problems.
  • [Solved] Runtime error with Mingw, ifstream, Qt Creator

    11
    0 Votes
    11 Posts
    8k Views
    T3STYT
    Just for your interest, commenting the line #CONFIG += core like you did will not drop the core module. qmake will include the core and gui modules by default, even if your .pro file is empty. Read more here: http://qt-project.org/doc/qt-5/qmake-project-files.html#declaring-qt-libraries So it's better for you to use CONFIG -= core gui to remove these dependencies.
  • Qt Designer Form Class

    5
    0 Votes
    5 Posts
    4k Views
    M
    hi, i think it is not, because i don't want custom wizard, i want to add ui file template to qt->qt designer form class wizard
  • RCC XML and options

    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, You should bring this discussion on the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented
  • Visual Studio Addin download

    3
    0 Votes
    3 Posts
    1k Views
    A
    got it, thanks!
  • Can I use Qt Creator to compile Qt 4.8.4

    5
    0 Votes
    5 Posts
    2k Views
    A
    As SGaist said you need to build Qt 4.8.4 for your target platform using cross-compiler that comes for the platform. After build you need to install it somewhere and then you can "add a kit":http://qt-project.org/doc/qtcreator-3.2/creator-configuring.html#checking-build-and-run-settings which includes cross-compiler and Qt 4.8.4 to QtCreator settings. After that create new project select a new Qt 4.8.4 kit or both kits and build your project.
  • (SOLVED) Background image Main window

    10
    0 Votes
    10 Posts
    11k Views
    D
    Yes i know :D,, excuse me for the late reply by the way... anyways, something was just bugging out.. because even if i added the image in the ui designer, it would show it in the designer... but as soon as i compiled and ran the program, the background would be gone... which is really weird, because if the designer shows the background image correctly, then that means the url and everything is correct... and even after that, i run the program and the background is just gone... like some kind of dark magic
  • Step by step process to make a python gui with qt creator

    2
    0 Votes
    2 Posts
    1k Views
    A
    There is a "QtDesigner":http://qt-project.org/doc/qt-5/qtdesigner-manual.html a standalone utility to create UI that does not require C++ project.
  • SpellChecker Plugin for QtCreator 3.2.0

    10
    0 Votes
    10 Posts
    3k Views
    rincewindR
    It seems to be the issue with editing a file that isn't in the active project. I work with a session with quite a few projects, some plugins and libraries and a test application. The test application is the active project for obvious reasons. So, a lot of the time I'm editing code in one of the libraries. Bummer!