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
    5 Posts
    9k Views
    I

    LIBS += -LC:/MinGW/boost_1_46_1/lib/
    win32-g++ {
    LIBS += -lboost_thread -lboost_date_time
    } else: win32-msvc* {
    LIBS += -lboost_thread-vc90-mt-1_46_1 -lboost_date_time-vc90-mt-1_46_1
    }

  • 0 Votes
    5 Posts
    4k Views
    Y

    yeah i'm aware of those commands but I was actually wondering if there was a way to make them read-only directly from qt creator (the lock we see in the IDE, I was thinking it could be activated from there or something)

  • Symbol(s) not found for architecture x86_64

    12
    0 Votes
    12 Posts
    26k Views
    G

    I abandoned the project .... it was very weird .... the error was probably generated by some sort of cyclic dependency. Now, that I have put all those things into 1 header and 1 cpp file and now it works. Actually I took the example which can be found in the Qt Creator.
    Thank you for all the help.

  • 0 Votes
    9 Posts
    5k Views
    K

    You are welcome.

    If this solved your problem, please mark it in the title line with [solved]. This may help others then.

  • 0 Votes
    2 Posts
    2k Views
    A

    Not that I know of, no.

  • 0 Votes
    32 Posts
    11k Views
    T

    OK :)

  • 0 Votes
    2 Posts
    4k Views
    P

    I found the reason!
    For some simple interface, as IEnumCurves, dumpcpp just generate it's code like this:
    @
    // stub for vtable-only interface
    class IEnumCurves : public QAxObject {};
    @
    And dumpcpp dosen't generate the corresponding qMetaTypeConstructHelper() function.

    But the compiler need every interface/coclass's qMetaTypeConstructHelper() function.

    WTF.

  • [NOT SOLVED] Parser generator and Qt project

    2
    0 Votes
    2 Posts
    2k Views
    S

    I'm waiting for the answer :-)

  • 0 Votes
    4 Posts
    2k Views
    S

    yes it's a double Esc , i test it and it work :)

  • 0 Votes
    5 Posts
    2k Views
    F

    The version of Qt Creator you use has very little to do with the version of Qt you work with.

  • 0 Votes
    7 Posts
    7k Views
    S

    @aureshinite
    You may want to try "Cppcheck":http://cppcheck.sourceforge.net/. I've been successfully using it for some time and it does help :). It's not as good and sophisticated as commercial solutions (for example PVS-Studio mentioned higher) but nonetheless Cppcheck catches many common errors.

  • 0 Votes
    1 Posts
    3k Views
    No one has replied
  • [Moved] Newbie problems with QT Creator

    13
    0 Votes
    13 Posts
    6k Views
    C

    It will be better if you add the additional notes using edit the existing one rather than appending a new reply next time.
    [quote author="misterwalrus" date="1310580984"]I forgot to include version info: Qt Creator: 2.2.1 , based on qt 4.7.4 (32 bit)
    Thank you[/quote]

    http://developer.qt.nokia.com/forums/viewthread/7753/#

  • Display QObject class in MSVC debugger

    5
    0 Votes
    5 Posts
    5k Views
    K

    That is a part of it:
    @
    [Visualizer]
    ;QT_DEBUG_START (Qt Visual Studio Add-in v1.1.9)
    ; Nokia Qt 4.x visualizers -----------------------------------------[ start ]--
    ;------------------------------------------------------------------------------
    ; Feel free to modify these visualizers to suit yours needs! But please let us
    ; know about the changes you make, so we continuously improve the visualizers.

    QString{
    preview ([$e.d->data,su])
    stringview ([$e.d->data,sub])
    children
    (
    #(
    d: $c.d,
    [size]: $c.d->size,
    [referenced]: $c.d->ref._q_value
    )
    )
    }

    QByteArray{
    preview ([$e.d->data,s])
    stringview ([$e.d->data,sb])
    children
    (
    #(
    d: $c.d,
    [size]: $c.d->size,
    [referenced]: $c.d->ref._q_value
    )
    )

    }

    QUrl{
    preview
    (
    #if ($e.d.stateFlags == 0) (
    $e.d
    ) #else (
    #( $e.d->scheme, $e.d->host, $e.d->path )
    )
    )
    children
    (
    #(
    scheme: $c.d->scheme,
    host: $c.d->host,
    path: $c.d->path,
    username: $c.d->userName,
    password: $c.d->password,
    encodedOriginal: $c.d->encodedOriginal,
    query: $c.d->query,
    fragment: $c.d->fragment
    )
    )
    }
    @

    I was not completely right about my post. Further up I can find also part of what you have posted. However, since QString is not there it did show me only the other section.

    @
    [AutoExpand]
    ;QT_DEBUG_START (Qt Visual Studio Add-in v1.1.9)

    QByteArray=<d->data,s> size=<d->size,u>
    QPoint =x=<xp> y=<yp>
    QPointF =x=<xp> y=<yp>
    QRect =x1=<x1> y1=<y1> x2=<x2> y2=<y2>
    QRectF =x=<xp> y=<yp> w=<w> h=<h>
    QSize =width=<wd> height=<ht>
    QSizeF =width=<wd> height=<ht>
    QHash<> =size=<d->size>
    QVarLengthArray<> =size=<s> data=<ptr>

    ;QT_DEBUG_END
    .
    .
    .
    @

    I have simply installed vsaddin as to be dowloaded from devnet. So I did not follow gitoruos link.

  • Demo: help missing

    3
    0 Votes
    3 Posts
    3k Views
    U

    [quote author="QTCREATORBUG-5397 / Casper van Donderen@bugreports.qt.nokia.com" date="1310405287"]This is an issue in Creator 2.2. The whole structure of loading the examples changes for 2.3 and this will not be fixed for 2.2[/quote]

  • Qt Creator unable to find the executable

    7
    0 Votes
    7 Posts
    5k Views
    T

    Thanks for the bug report!

  • Harmattan SDK and Qt Creator integration

    9
    0 Votes
    9 Posts
    4k Views
    D

    The sbox-qmake called from command line works fine - --version returns installed version, -query returns correct values - but Qt Creator shows still the same error: “Could not determine the patch to the binaries of the Qt installation, maybe the qmake path is wrong?".

  • 0 Votes
    8 Posts
    3k Views
    I

    I'll try to look into this, to see if it is just displayed twice or also ran twice. If the latter, I guess it could be a potential for some troubles. If it just display, it is a mere annoyance (a big one though!)

  • VC++6 with QT

    9
    0 Votes
    9 Posts
    4k Views
    A

    I downloaded latest FANN version and did some commands( from here: http://comments.gmane.org/gmane.comp.lib.qt.general/40928 )
    So, I got libfann.a file and I used it as a lib in qt. It works without any errors.

    BUT, the outputs of Neural networks not correct. I'm worried about my way to build it FANN library!

  • 0 Votes
    12 Posts
    20k Views
    V

    F4 does not work if the file you want to jump to is not already open.