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.4k Topics 34.5k Posts
  • How to create a sub-directory in Qt Creator?

    2
    0 Votes
    2 Posts
    2k Views
    A

    I don't know of such a feature, no. I do this by manually editing the .pro files involved.

  • QtSDK & Kubuntu 11.10

    7
    0 Votes
    7 Posts
    4k Views
    Q

    On bug reports
    "QtSDK ofline issue":https://bugreports.qt.nokia.com/browse/QTSDK-1156

  • Update Qt Creator (linux)

    3
    0 Votes
    3 Posts
    8k Views
    T

    Thank you cap!

  • #defines in .config file are not global

    5
    0 Votes
    5 Posts
    6k Views
    L

    Thank you for clarifying things to me. Now understand how to use the .config file.

  • QtCreator segfault after 1st run

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    8 Posts
    5k Views
    D

    Volker you are right! i didn't get that it will process itself too.

    My project now runs perfect!

  • How to edit a .ui file

    3
    0 Votes
    3 Posts
    19k Views
    G

    In Qt Creator, right-click on the file in the list and select "edit with... plain text editor". You can copy/paste then. Or use your favorite text editor and do it there. .ui files are regular text files containing XML.

    The easiest way would be to go to qtmobilities sources and grab the file from there.

  • 0 Votes
    4 Posts
    2k Views
    A

    PS: A simple "Thanks" seems to be too short for a posting. Had the error message wording be any better, you would have gotten it right away.

  • Creator 2.4: GDB can't set breakpoints anymore

    3
    0 Votes
    3 Posts
    4k Views
    A

    Found the reason.

    It's a breakpoint inside a template class method. That doesn't seem to be supported.

    I completely forgot about that limitation. Sorry for the scare.

  • 0 Votes
    5 Posts
    4k Views
    G

    [quote author="tallia1" date="1324373784"]You say most use XCode [/quote]

    No. The statement was

    bq. [...] the vast majority of developers are either using Qt Creator or XCode [...]

  • How to create "Plain C++ Project"

    4
    0 Votes
    4 Posts
    7k Views
    T

    As volker already said: Qt Creator uses qmake as the build system for its projects by default. Qmake is bundled with a Qt version. The plain C++ project thus asks about a Qt version (for its qmake), but will not link against any of the Qt libraries.

    Note that cmake support is not as good as qmake support in Qt Creator. E.g. there is no way for us to find headers when using cmake and there are other limitations as well.

    Patches to improve cmake support in Qt Creator are of course welcome.

  • Debugger problem with CMake project

    4
    0 Votes
    4 Posts
    13k Views
    T

    You are free to set up several build directories, each with a different configuration (e.g. one debug one release). Switching between configurations is then a matter of changing the build directory. As far as I know there is no way to automatically set up several build directories at once with cmake.

    If you are using Qt Creator: The IDE could in theory do that for you, but currently does not. Patches to improve cmake support are welcome.

  • AnalyzeTool plugin error

    5
    0 Votes
    5 Posts
    3k Views
    M

    This message indicates a broken installation, I think. You may want to try with a fresh Creator install.

  • [Moved] Qt Creator and Cdb debugging

    9
    0 Votes
    9 Posts
    5k Views
    M

    Oh, I now see, that there issues are different:

    Your issue:
    Application to debug 64bit, OS ??, debugger 64bit, qtcreator 32bit

    My issue:
    Application to debug: 32bit, OS 64bit, debugger 64bit (in 32bit mode), qtcreator 32bit.

    Sorry for mixing this up.

  • Tabs in Qt 4.8 Assistant

    3
    0 Votes
    3 Posts
    3k Views
    D

    Yes and yes (there's a dockwidget with the list), but I find tabs much more handy ...

  • 0 Votes
    2 Posts
    3k Views
    T

    Did you "file a bug report":http://bugreports.qt.nokia.com/?

    What exactly were you doing when the freeze happens? Delete a big chunk of text? What kind of text (build system files or C++ code or QML or what)?

    Is there any progress bar visible on the left (above the computer icon) while Qt Creator freezes?

  • 0 Votes
    2 Posts
    2k Views
    B

    Fixed by reinstalling the SDK, and specifiying that old creator settings by cleared. Magic!

  • [solved] how to recompile all headers in VS?

    2
    0 Votes
    2 Posts
    1k Views
    N

    Solved:

    Replace Q_OBJECT in all files to something like QOBJECT_REPLACEMENT, save files, then replace again - this will re-add moc files now have many open files, repeatedly call temporary macro to compile all:
    @Sub makeMoc()
    DTE.ExecuteCommand("Build.Compile")
    DTE.ActiveWindow.Close(vsSaveChanges.vsSaveChangesNo)
    DTE.ActiveWindow.Close(vsSaveChanges.vsSaveChangesNo)
    End Sub@ in other configuration (release), build called moc properly, so no changes required.
  • 0 Votes
    2 Posts
    3k Views
    J

    Hum it looks it has to do with quote escaping.
    Changed the line to
    @# ==== Versioning: Windows =====================================================
    system(string_replacer.bat "GLOBAL_VER" ""$$GLOBAL_MAJOR,$$GLOBAL_MINOR,$$GLOBAL_BUILD"" version_win_template.h > version_win.h)
    @ and it works.

  • QT SDK and Qt Creator

    2
    0 Votes
    2 Posts
    2k Views
    T

    I do understand that you care about which compiler to use when building your code, but why would you want to care what compiler was used to build the tools you work with?

    I admit that the designer plugins do need to be build with whatever was used to build designer with. This is a annoying, but nothing stops you from building the plugin (and one version of the library) with MSVC and then use mingw (together with a mingw-compiled version of the library!) to build your application.

    The SDK ships with MSVC versions of Qt and even if it would not you can easily add those by downloading them from http://qt.nokia.com/downloads.