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
  • 0 Votes
    10 Posts
    29k Views
    D

    Ask on IRC on the #qt-creator channel; all in all, creator knows how to nicely show Qt datatypes, therefore there must be a way to do that with arbitrary datatypes.

    Apart from this, use a typedef, not a define :)

  • 0 Votes
    15 Posts
    15k Views
    M

    [quote author="Raul" date="1302092643"]I've been meaning to learn Qt Quick but where do I start? [/quote]

    Try here: http://developer.qt.nokia.com/wiki/Qt_Quick :)

  • [SOLVED] Visual Studio 2010 Qt Add-in Error

    4
    0 Votes
    4 Posts
    7k Views
    W

    This 'issue' appears to have been caused by an aborted build of the SDK under a different target platform and was 'fixed' as a result of a rebuild of the SDK.

    --
    William

  • [SOLVED] qmake crashing at startup.

    7
    0 Votes
    7 Posts
    6k Views
    W

    "There are no issues with the tool chain support" :-)

    Maybe an unfortunate choice of words.. But if I have a build issue I would be inclined to post here first in case it is 'driver' error. For what it is worth the ONLY compiler we can use is Intel so I may be back!

    --
    William

  • Do Qt creator have related analysis tools?

    11
    0 Votes
    11 Posts
    5k Views
    G

    you can use the tools outside creator. Some of the comercial windows tools are also not integrated inot MSVS but can be used with MSVS binaries.

  • 0 Votes
    5 Posts
    3k Views
    A

    Do Qt creator have related analysis tool? If Qt creator have some analysis, could you introduce them to me?

  • 0 Votes
    6 Posts
    5k Views
    M

    Thank you both for your advice.

    Finally I have found a way of moving on without using the FLTK libraries, and it seems to work fine.

    See you around.

    Miguel

  • 0 Votes
    3 Posts
    7k Views
    D

    Thank you very much, it works indeed. What was confusing me is that @message ($(FOO))@ outputs @Project Message: <foo content>@

  • 0 Votes
    3 Posts
    2k Views
    F

    We had a similar issue with templates, which are somehow C++ macros (just better or worse, depending if you write them or have to understand the ones of another developper....)

    One of the solution we had was to define virtual interface for our slots, and then, have our real class derivate from interface and qobject, just redefining the previous virtual functions as slots.

    The fun thing is you can do the connect from your interface as it's done on runtime. Kind of risky however to maintain, so we finished by generating these aprts of code with some external python scripting.

  • 0 Votes
    4 Posts
    4k Views
    W

    Maybe I am pointing out the obvious but have you logged out (rebooted even) after setting your QTDIR env parameter? Also it may not do any harm to modify your paths to have a single \ even better is to change them for /.

    For what it's worth.

    --
    William

  • Qt Creator error messages on Mac

    5
    0 Votes
    5 Posts
    3k Views
    AlicemirrorA

    Hi, sorry for the delay in my answer but I have big troubles to solve some problems in the source code.

    If I remember, I used the offline installer, but I had no problems bot in wndows of mac, running the program.
    When the error appeared, what I means is that I tried to update on MAC so I removed all and reinstalled SDK 1.1 and now the problem seems solved.

  • 0 Votes
    8 Posts
    16k Views
    D

    Have it working correctly now. As you suggested previously, I downloaded Qt Creator 2.1 now that it is officially released and it handles this case correctly.

    The key is the SOURCEDIR variable. By using this, I can have the relative path

    $SOURCEDIR/../shadow

    and it works correctly on Mac.

  • [Solved] qmake: variables scope

    2
    0 Votes
    2 Posts
    3k Views
    D

    Well, I found the solution:
    @defineTest(append_dir){
    _DIR_NAME = $$1
    _SOURCES = $$2
    _HEADERS = $$2
    for(a, _SOURCES):SOURCES += $${_DIR_NAME}$${a}
    for(a, _SOURCES):HEADERS += $${_DIR_NAME}$${a}
    export(SOURCES)
    export(HEADERS)
    }@
    To bad that this neither documented in the Qt qmake documentation nor in the 'Undocumented qmake' web page...

  • TortoiseSvn

    6
    0 Votes
    6 Posts
    8k Views
    F

    Qt Creator uses the command line clients for version control.
    For SVN on Windows, for example "slik SVN":http://www.sliksvn.com/ can be used.
    The executable can be configured at Tools -> Options -> Version Control -> Subversion.
    It does not necessarily need to be in the search path.

  • Mercurial usage in Creator 2.2 beta1

    10
    0 Votes
    10 Posts
    5k Views
    G

    Strange. The file should be checked in then. I just tested it with a local file and it works for me (but I'm on a Mac, not a Windows box).

    I split out the Mercurial problem into a separate thread an move that to the Tools forum, as it's more a Creator issue. Maybe someone else can help here.

  • QtCreator and OpenSceneGraph

    3
    0 Votes
    3 Posts
    6k Views
    R

    Thanks, it was very easy ..
    Just include the. pro project

    @
    LIBS + = -losgar
    -losgViewer
    -losgGA
    -losgDB
    -losgUtil
    -losgParticle
    @

    [EDIT: fixed code formatting, please use @-tags, Volker]

  • 0 Votes
    7 Posts
    6k Views
    X

    the main reason why I want to use the scratchbox enirenment with qt creator is because I wanna build applications for maemo with external libs like taglib for mp3 tagging.

    Can I do that with Qt SDK 1.1 beta?

    In my Nokia Qt SDK it's impossible to install taglib-dev in the fremantle sysroot or I don't know how I should do it.

  • 0 Votes
    2 Posts
    2k Views
    Z

    As long as you set things after the .prf files have been processed your .pro file should override them. It can be tricky though since in some cases a .pro file can be processed up to 3 times by qmake.

    As a last resort you could just edit the .prf file in question.

  • Linguist gives an error

    3
    0 Votes
    3 Posts
    2k Views
    R

    I create file "About" and error changed
    Now this error:
    --- (lupdate) file: c:\Documents and Settings\rustam\Мои документы\Visual Studio 2008\Projects\Rizek Action Manager\Rizek Action Manager\rizek action manager_ru.ts
    --- Scanning directory './About'...
    --- lupdate error: File 'program/aboutProgram.h' does not exist.
    I understand that there are no file "aboutProgram.h" in this patch, but why linguist search this file in this patch? This file situated in the About program/aboutProgram.h

  • Bug in Creator 2.2 (When 2 version of qt)

    17
    0 Votes
    17 Posts
    6k Views
    J

    Ok, no problems.