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
  • Creator 2.2 Issue

    2
    0 Votes
    2 Posts
    1k Views
    T

    Why don't you just file a "bug report":http://bugreports.qt.nokia.com/ ?

  • [Moved] How to set Sources Directory in QMake

    18
    0 Votes
    18 Posts
    42k Views
    A

    Near the top, but that is just me I guess.

  • PImpl, private classes and debugging

    3
    0 Votes
    3 Posts
    3k Views
    S

    I didn't see that a binary version was available...

    It fix this problem.
    Thanks.

  • 0 Votes
    2 Posts
    2k Views
    D

    hum, hem, my bad, just needed to add an 's' to 'proc.command' (so it's proc.commands)

  • QtCreator Plugin

    5
    0 Votes
    5 Posts
    3k Views
    S

    @Tobias Hunger
    Ok thank you for the information. I thought that there is a official way to use one of the output windows, without creating a seperate window.

    @Gerolf
    This tutorial is very helpful but not up to date.

  • Cross compilation from OS X to Windows

    9
    0 Votes
    9 Posts
    6k Views
    G

    You can map you local CD drive to the VM or use an iso immage.

    Create the virtual machine right click --> properties (or similar, I have a german one :-) ) Hard disk --> IDE controller select empty slot and then CD/DVD drive --> host you could activate Passthrough or leave the check box out...
  • 0 Votes
    4 Posts
    9k Views
    T

    There is "QTCREATORBUG-2443":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2443 requesting exactly this feature.

  • Qt Creator Build Issue:

    3
    0 Votes
    3 Posts
    2k Views
    V

    both windows machines or has the other one an other OS?

  • Qt Creator Namespace Issue (Fixed)

    13
    0 Votes
    13 Posts
    5k Views
    J

    [quote author="ZapB" date="1301340439"]Try the latest beta of qt-creator 2.2. I understand that this has seen several improvements to the code model that is used by the auto-completer. If it is still broken there then please report it as a bug.[/quote]

    Verified that it works in 2.1, as I'm at work, I can't verify the beta build.

  • Serious bugs on QtQuick designer Creator 2.1.0

    6
    0 Votes
    6 Posts
    3k Views
    S

    I have another issue with C++ extensions.

    When I register a new type to qml and import it the quick designer reffers to the import as an error.
    "package not found"
    So as soon as I import a new type the designer becomes nearly unusable.

    Is there a way to go around this or is it still a bug ?

  • 0 Votes
    5 Posts
    3k Views
    T

    I've created a "bugreport":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-4249

  • Upgraded to latest Xcode and...

    9
    0 Votes
    9 Posts
    5k Views
    A

    "Qt Creator -> Preferences (or shortcut cmd-comma) -> Qt4" is the menu path for that in OS X version.

  • 0 Votes
    3 Posts
    2k Views
    Y

    I don' know, but the bug can reproduce every time

    Open designer(zh_CN version4.7.0),
    drag and drop one form(must need qrc file ) to window. Now pop up a messagebox: "loading qrc file". Then if I clicked "Yes" button, the window crash., or if I switch other windows, the messagebox not respose, must kill it in "windows Task Manager".

    So this problem I met is not the same to "Multiple pages in QStackedWidget":http://developer.qt.nokia.com/forums/viewthread/4293. If not loading qrc file, I can open more than 15 files

  • QtCreator 2.1 autocomplete

    9
    0 Votes
    9 Posts
    4k Views
    G

    Better file a bug report on http://bugreports.qt.nokia.com

  • 0 Votes
    12 Posts
    6k Views
    T

    bhupathirao: Please check the documentation we ship with Qt Creator: That does explain all these details.

    The Deployment settings are in Project mode, Run Settings.

  • 0 Votes
    10 Posts
    4k Views
    mzimmersM

    Thanks for all the suggestions. This is going to be just me (or predominantly me, anyway). Those services that Volker mentioned sound good, but...I'll have to schedule some time to learn them. I guess it'll wait until I've become more proficient with Qt.

  • Linker error with testlib project

    2
    0 Votes
    2 Posts
    4k Views
    S

    Never mind, classic case of me spotting the problem a few seconds after posting the issue. Auto complete seems to have messed up the class name in the test class implementation file. Sorry for wasting bandwidth.

  • 0 Votes
    8 Posts
    7k Views
    AlicemirrorA

    Ah, ok, so it is the right site. I found it but seeing the text-only pages I thought that it was a wrong link. It seems that these pages have no stylesheet on them at all... I try later. Thanks.

  • Qmake with debug_and_release

    8
    0 Votes
    8 Posts
    13k Views
    R

    I'm getting crazy trying to make it work the way I think it should. I must be misunderstanding something.

    I would like to have qmake generate makefiles that produce the output (TARGET) in specific directories for debug and release. I've tried something on the lines of what you (and many others) suggest, but it simply doesn't work for me.

    I have:

    @TEMPLATE = lib
    CONFIG = qt shared debug_and_release build_all

    debug_and_release:build_pass {
    CONFIG(debug, debug|release) {
    TARGET = ColorAnalyzerSimulator_debug
    DESTDIR = debug
    } else {
    TARGET = ColorAnalyzerSimulator_release
    DESTDIR = release
    }
    }
    DEPENDPATH += .
    INCLUDEPATH += .

    Input

    HEADERS += ColorAnalyzerSimulator.h
    SOURCES += ColorAnalyzerSimulator.cpp@

    And I issue the command

    @qmake -spec macx-g++ -o Makefile.mac Simulator.pro@

    and when I look into the Makefile.mac.Debug, TARGET has the default name (Simulator) and DESTDIR is empty!!

    I have tried many variations of these settings but no result. I've also tried a similar thing on Linux and still no result.

    I really hope someone can help.

    [quote author="GordonSchumacher" date="1292262276"]Honestly, you really don't want OBJECTS_DIR to be the same between the builds either! (What happens if you inadvertently get a mixture of debug and release object files...?)

    What I've done in the past is something like:
    @debug_and_release:build_pass {
    CONFIG(debug, debug|release) {
    CURBUILD = debug
    } else {
    CURBUILD = release
    }

    DESTDIR = $${OUT_PWD}/$${CURBUILD} OBJECTS_DIR = $${OUT_PWD}/$${CURBUILD}/$$dirname($${_PRO_FILE_PWD_}) MOC_DIR = $${OBJECTS_DIR} UI_DIR = $${OBJECTS_DIR} RCC_DIR = $${OBJECTS_DIR} INCLUDEPATH += $${OBJECTS_DIR} LIBS += -L$${DESTDIR} unset(CURBUILD)

    }@

    I'm not positive those are all actually necessary, but you get the idea anyway.[/quote]

  • Where is compiler optimization turned off/on?

    12
    0 Votes
    12 Posts
    14k Views
    Z

    The default debug flags are simply "-g" which is set for QMAKE_CFLAGS_DEBUG and QMAKE_CXXFLAGS_DEBUG.