Build Error Building QT Creator 3.2.2 (Mac)



  • Environment:
    Qt Creator 3.2.2 (3.2 a5cf632 Qnx: Fix the Id for the BlackBerry run configuration)

    Qt 5.3

    Mac OS 10.9.5

    Clang++ Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)

    The problem is pretty simple. I do a qmake -r, with no problem.

    When I do a make I get the following:

    @qbsproject.cpp:267:43: error: no member named 'addFiles' in 'qbs::Project'
    qbs::ErrorInfo err = m_qbsProject.addFiles(productData, groupData, QStringList() << path);
    ~~~~~~~~~~~~ ^
    qbsproject.cpp:294:32: error: no member named 'removeFiles' in 'qbs::Project'
    = m_qbsProject.removeFiles(productData, groupData, QStringList() << path);
    ~~~~~~~~~~~~ ^
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DWITH_TESTS -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_SETENV -DVIEWLOGGER -DENABLE_TEXT_VIEW -DQWEAKPOINTER_ENABLE_ARROW -DQDEBUG_IN_TESTS -DWARNINGS_IN_TESTS -DTEST_EXPORTS -DDESIGNER_CORE_LIBRARY -DQT_PLUGIN -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_SCRIPT_LIB -DQT_CONCURRENT_LIB -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="/Volumes/Projects/myQt_Creator/src/plugins/qmldesigner" -I/Volumes/Projects/Qt5.3/mkspecs/macx-clang -I. -I. -I../../../share/qtcreator/qml/qmlpuppet/interfaces -I../../../share/qtcreator/qml/qmlpuppet/types -Idesignercore -Idesignercore/include -Icomponents/componentcore -Icomponents/importmanager -Icomponents/formeditor -Icomponents/itemlibrary -Icomponents/navigator -Icomponents/propertyeditor -Icomponents/stateseditor -Icomponents/debugview -Icomponents/integration -Icomponents/logger -I../../../src -I../../libs -I/Volumes/Projects/myQt_Creator/tools -I../../plugins -I../../shared -I../../libs/3rdparty -Idesignercore -Idesignercore/include -Idesignercore/instances -I../../../share/qtcreator/qml/qmlpuppet/interfaces -I../../../share/qtcreator/qml/qmlpuppet/commands -I../../../share/qtcreator/qml/qmlpuppet/container -I../../../share/qtcreator/qml/qmlpuppet/types -Icomponents/pluginmanager -I/Volumes/Projects/Qt5.3/lib/QtQuickWidgets.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtQuickWidgets.framework/Versions/5/Headers/5.3.1 -I/Volumes/Projects/Qt5.3/lib/QtQuickWidgets.framework/Versions/5/Headers/5.3.1/QtQuickWidgets -I/Volumes/Projects/Qt5.3/lib/QtQuick.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtQuick.framework/Versions/5/Headers/5.3.1 -I/Volumes/Projects/Qt5.3/lib/QtQuick.framework/Versions/5/Headers/5.3.1/QtQuick -I/Volumes/Projects/Qt5.3/lib/QtWidgets.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtWidgets.framework/Versions/5/Headers/5.3.1 -I/Volumes/Projects/Qt5.3/lib/QtWidgets.framework/Versions/5/Headers/5.3.1/QtWidgets -I/Volumes/Projects/Qt5.3/lib/QtQml.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtGui.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtGui.framework/Versions/5/Headers/5.3.1 -I/Volumes/Projects/Qt5.3/lib/QtGui.framework/Versions/5/Headers/5.3.1/QtGui -I/Volumes/Projects/Qt5.3/lib/QtScript.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtConcurrent.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtTest.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtCore.framework/Versions/5/Headers -I/Volumes/Projects/Qt5.3/lib/QtCore.framework/Versions/5/Headers/5.3.1 -I/Volumes/Projects/Qt5.3/lib/QtCore.framework/Versions/5/Headers/5.3.1/QtCore -I/Volumes/Projects/Qt5.3/lib/QtNetwork.framework/Versions/5/Headers -I.moc/debug-shared -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -I.uic -F/Projects/Qt5.3/lib -o .obj/debug-shared/qmlrefactoring.o designercore/filemanager/qmlrefactoring.cpp
    cd qnx/ && ( test -e Makefile || /Projects/Qt5.3/bin/qmake /Volumes/Projects/myQt_Creator/src/plugins/qnx/qnx.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
    2 errors generated.@

    I searched the source tree for qbs::Project to no avail. I've tried doing a make clean and a git reset --hard followed by a git pull, and get the same results.

    Can anyone help?

    Thanks!

    -Eric


  • Lifetime Qt Champion

    Hi,

    Did you also do a "git submodule update" in Qt Creator's sources ?



  • Yes, my 'hard pull' script looks like this:

    @git pull
    git submodule sync
    git submodule update --recursive@



  • After poking around the source tree, and accumulating more questions than answers, I just nuked my qt-creator directory, cloned a new source tree, and now things are MUCH better :)


  • Lifetime Qt Champion

    From time to time that can also be a good solution :-D


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.