Results 1 to 3 of 3

Thread: QSA 1.2.2 compiling error with QBasicAtomic

  1. #1

    Default QSA 1.2.2 compiling error with QBasicAtomic

    when I try to make QSA 1.2.2, it reports `QBasicAtomic' does not name a type then exits. I check the qsobject.h file and find this "QBasicAtomic ref" on Line 85.
    The headers file included in qsobject.h are:
    #include "qsglobal.h"
    #include <QString>
    #include <QVariant>
    #include <QSharedData>

    QBasicAtomic Struct is in qatomic_parisc.h file but already in QT path. Can anyone know what's going on here?

  2. #2
    Join Date
    Jan 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Smile Re: QSA 1.2.2 compiling error with QBasicAtomic

    Dear llcwzg!

    I have had the same problem, while I was compiling QSA.
    I have tried to find QBasicAtomic in the Qt source, but I have found only QBasicAtomicInt and QBasicAtomicPointer classes.

    So I tried to change QBasicAtomic to QBasicAtomicInt and it compiled successfully!

    So my solution: In qsobject.h I have changed QBasicAtomic to QBasicAtomicInt.

    BR,
    arev

  3. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QSA 1.2.2 compiling error with QBasicAtomic

    QtScript was introduced in Qt 4.3. See Moving from QSA to Qt Script.
    J-P Nurmi

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.