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 debugger is taking its own initial values

    15
    0 Votes
    15 Posts
    7k Views
    T
    Bug reported: https://bugreports.qt-project.org/browse/QTBUG-24388 Thanks for the help guys. Hopefully they'll solve it soon :-)
  • [Solved] "qmake " Console window problem in the release build

    5
    0 Votes
    5 Posts
    3k Views
    S
    UPDATE I figured it out..i just tried CONFIG +=release and it worked.
  • Recommendations for building on PC from Mac source code?

    14
    0 Votes
    14 Posts
    6k Views
    mzimmersM
    OK, thanks...may I ask why you'd use MSVC over what comes bundled with Qt? EDIT: I spent most of yesterday trying to clean up this PC that I've been forced to work on. This AM I re-installed the MSVC and created a new build configuration for it. When I tried to build, I got the following error: @06:39:48: Running build steps for project HittiteModem... 06:39:48: Configuration unchanged, skipping qmake step. 06:39:48: Starting: "C:\QtSDK\QtCreator\bin\jom.exe" C:\QtSDK\QtCreator\bin\jom.exe -nologo -j 2 -f Makefile.Debug cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -I"..\simulator" -I"..\simulator\headers" -I"." -I"c:\QtSDK\Desktop\Qt\4.8.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ @C:\DOCUME~1\Putin\LOCALS~1\Temp\clock.obj.1364.109.jom cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -I"..\simulator" -I"..\simulator\headers" -I"." -I"c:\QtSDK\Desktop\Qt\4.8.0\msvc2010\mkspecs\win32-msvc2010" -Fodebug\ @C:\DOCUME~1\Putin\LOCALS~1\Temp\demod.obj.1364.156.jom jom 1.0.6 - empower your cores 'cl' is not recognized as an internal or external command, operable program or batch file. command failed with exit code 1 'cl' is not recognized as an internal or external command, operable program or batch file. command failed with exit code 1 command failed with exit code 2 06:39:49: The process "C:\QtSDK\QtCreator\bin\jom.exe" exited with code 2. Error while building project HittiteModem (target: Desktop) When executing build step 'Make'@ Can someone tell me what: jom.exe is this "cl" command is Thanks. EDIT II: Traced this to a environment variable problem, and fixed. I now am getting a jom.exe error 2 in my build...can someone shine some light on this? I can provide additional information if desired. Thanks.
  • How to use QCA (Qt Cryptographic Architecture) on Ubuntu

    12
    0 Votes
    12 Posts
    9k Views
    S
    You have to install openSSL. If you develop, install openSSL-devel. You can download here the version witch is compatible of your plate forme: http://packages.ubuntu.com/fr/hardy/qca-dev and http://darkstar.ist.utl.pt/ubuntu/archive/ubuntu/pool/universe/q/qca/
  • 0 Votes
    3 Posts
    2k Views
    R
    Thanks, I see that it's integrated in it, I've been building my own helpers in Qt Creator until 2.4.0, I guess that 2.4.1 now has them automatically, I just didn't see it in the release notes.
  • 0 Votes
    6 Posts
    3k Views
    G
    You're welcome. Glad it worked out for you. One can do quit tricky things with qmake. Looking at the project files of the Qt sources can be inspirational too.
  • Autohide output window

    2
    0 Votes
    2 Posts
    3k Views
    T
    I guess you are talking about Qt Creator? No, there is no such option. You might want to "file a feature request":http://bugreports.qt.nokia.com/ . Some more elaboration description of when you want the panes to hide would be helpful though.
  • GDB failed to launch

    4
    0 Votes
    4 Posts
    4k Views
    T
    Duck: Thanks for the correction! I changed my debugger mode layout a long time ago;-)
  • Debugging qt dll

    4
    0 Votes
    4 Posts
    4k Views
    D
    Select "Debug" mode as build configuration, and press <F5> to start debugging.
  • Adding Qt to gdb without QtCreator

    2
    0 Votes
    2 Posts
    2k Views
    D
    [Apple's gdb is a more robust choice even if it has no support python.] Anyway, for "deep inspection" of QObjects (i.e. evaluate properties, etc) Qt Creator is about the only choice I am aware of, for simpler types like QStrings http://websvn.kde.org/checkout/trunk/KDE/kdesdk/scripts/kde-devel-gdb does the trick, too. You could try to get a gdbserver up int the "CLI environment" and start Qt Creator on a machine with a GUI and a suitable cross-gdb.
  • Subclassing (promoting) non-QWidget in Designer

    2
    0 Votes
    2 Posts
    2k Views
    D
    There is no way to subclass a QLayout in designer. You need real code for that.
  • QListView/QFileSystemModel:Change directory.

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • [SOLVED] how to link a form(.ui) to another form using push button

    24
    0 Votes
    24 Posts
    24k Views
    G
    Sorry, I don't have experience with mobile development. From a simple point of view, neither QWorkspace nor QMdiArea seem to be appropriate widgets for mobile devices. These are pure desktop widgets, in my opinion.
  • Directory Separator in Makefiles

    4
    0 Votes
    4 Posts
    3k Views
    T
    Backslashes are tricky since C++ interprets them in a string as the start of an escape sequence (e.g. '\t' for the tab character). So you need to escape the backslashes by prepending another backslash. That is also true for most other environments like build systems. In qmake you should always use '/' as a directory separator, even on windows. That gets you round the escaping issue and -- as an added benefit -- will work on all supported platforms.
  • A question about the auto compleation of Qt creator

    4
    0 Votes
    4 Posts
    4k Views
    T
    I am not aware of an option for that, no.
  • Qt Creator/MinGW: Add some function to the static .lib part of a DLL

    2
    0 Votes
    2 Posts
    2k Views
    G
    Hi, the .lib part of a windows dll is nothing for static linkage. windows knows two types of libraries: dynamic ones (with a .dll containing the binary code and a .lib file which knows the offsets inside the dll) static ones, where the objects are stored inside the lib and linked to the client. EDIT: by the way, this is valid for the MS compiler
  • 0 Votes
    10 Posts
    9k Views
    V
    I see thank you!
  • Where can I download Qt Designer separately ?

    2
    0 Votes
    2 Posts
    21k Views
    sierdzioS
    Designer is in "QtTools":https://qt.gitorious.org/qt/qttools module (src/designer).
  • How can I input unicode characters in Qt Linguist?

    4
    0 Votes
    4 Posts
    5k Views
    G
    We're developers and think like those - and not always the straight way :-)
  • 0 Votes
    5 Posts
    5k Views
    U
    [quote author="Tobias Hunger" date="1328773916"]No, the .user file mostly contains the project data (everything you see in Projects mode). You can set up a shadow build directory per build configuration you have (in fact that is done by default for non-Symbian builds).[/quote] Gotcha, now I understand. I've got ccache up and running (really slick!). Also I've figured out how to set up my build configuration. All I need to do now is figure out a way to have that conditional build step that only checks out the branch if it's not already checked out. Thank you for your help!