[QBS] Is qbs broken?

Иван Комиссаров abbapoh at gmail.com
Wed Jun 11 10:46:35 CEST 2014


It seems that qbs is completely broken right now.
First, version that is shipped with Qt Creator can't build Qt5.3 apps on Mac:
  qstring.h:765:26: error: no template named 'QConditional' in namespace 'QtPrivate'; did you mean 'std::conditional'?
QMake works fine.

Next, qbs built from 1.2 branch hangs with the following error:
    QObject: Cannot create children for a parent that is in a different thread.
    (Parent is qbs::CommandLineFrontend(0x7fff5fbff9f0), parent's thread is QThread(0x102110740), current thread is QThread(0x1021176a0)
    QEventLoop: Cannot be used without QApplication

Next, qbs built from master branch crashes:
    Program received signal EXC_BAD_ACCESS, Could not access memory.
    Reason: 13 at address: 0x0000000000000000
    0x0000000100004154 in QGenericAtomicOps<QBasicAtomicOps<4> >::load<int> () at /Developer/Qt/5.2.1/clang_64/lib/QtCore.framework/Versions/5/Headers/qgenericatomic.h:142
    142	    T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); }
    (gdb) bt
    #0  0x0000000100004154 in QGenericAtomicOps<QBasicAtomicOps<4> >::load<int> () at /Developer/Qt/5.2.1/clang_64/lib/QtCore.framework/Versions/5/Headers/qgenericatomic.h:142
    #1  0x0000000100004154 in QBasicAtomicInteger<int>::load (this=0xd000000000000000) at qbasicatomic.h:142
    #2  0x0000000100004819 in QtPrivate::RefCount::ref (this=0xd000000000000000) at qrefcount.h:57
    #3  0x00000001000047e8 in QString (this=0x7fff5fbff370, other=@0x1025029a8) at qstring.h:766
    #4  0x000000010000477d in QString (this=0x7fff5fbff370, other=@0x1025029a8) at qstring.h:766
    #5  0x000000010002f653 in qbs::Settings::baseDirectoy (this=0x1025029a0) at settings.h:62
    #6  0x0000000100029f04 in qbs::CommandLineFrontend::start (this=0x7fff5fbff9c8) at ../../../../qbs/src/app/qbs/commandlinefrontend.cpp:128
    #7  0x0000000100034232 in qbs::CommandLineFrontend::qt_static_metacall (_o=0x7fff5fbff9c8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x102300ed0) at /Users/arch/Programming/qt/alien/qbs-build/src/app/qbs/moc_commandlinefrontend.cpp:105
    #8  0x000000010057ff4b in QObject::event ()
    #    9  0x0000000100556199 in QCoreApplication::notify ()
    #10 0x0000000100556c07 in QCoreApplicationPrivate::sendPostedEvents ()
    #11 0x00000001005a642e in QEventDispatcherUNIX::processEvents ()
    #12 0x000000010055364d in QEventLoop::exec ()
    #13 0x0000000100556652 in QCoreApplication::exec ()
    #14 0x0000000100021bea in main (argc=5, argv=0x7fff5fbffac8) at ../../../../qbs/src/app/qbs/main.cpp:81

I have no idea why this happens...

Иван Комиссаров

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140611/ce484aaa/attachment.html>


More information about the Qbs mailing list