> On Dec 24, 2016, at 0:45, Hanspeter Niederstrasser <[email protected]>
> wrote:
>
> On 12/23/16 6:11 PM, Sean Lake wrote:
>> Hello all:
>>
>> Ran into the following error when compiling qt5-mac-qtquick1-5.5.1-2.
>>
>> Error plus command that lead to it:
>> /sw/lib/qt5-mac/bin/moc -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV
>> -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_BUILD_DECLARATIVE_LIB -DQT_BUILDING_QT
>> -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
>> -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
>> -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_URL_CAST_FROM_STRING
>> -DQT_NO_OPENTYPE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE
>> -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB
>> -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB
>> -DQT_CORE_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
>> -D__APPLE__ -D__GNUC__=4 -D__APPLE_CC__
>> -I/sw/lib/qt5-mac/share/qt5/mkspecs/macx-clang
>> -I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/src/declarative
>>
>> -I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/include
>>
>> -I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/include/QtDeclarative
>> -I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-
opensource-src-5.5.1/include/QtDeclarative/5.5.1
-I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/include/QtDeclarative/5.5.1/QtDeclarative
-I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/src/declarative/qml
-I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/src/declarative/qml/parser
-I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/src/declarative/qml/rewriter
-I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/src/declarative/util
-I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/src/declarative/graphicsitems
-I/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/src/declarative/debugger
-I/sw/lib/qt5-mac/lib/QtWidgets.framework/Headers/5.7.1
-I/sw/lib/qt5-mac/lib/QtWidgets.framework/Headers/5.7.1/QtWidgets
-I/sw/lib/qt5-mac/lib/QtGui.framework/Headers/5.7.1
-I/sw/lib/qt5-mac/lib/QtGui.framework/Headers/5.
7.1/QtGui -I/sw/lib/qt5-mac/lib/QtScript.framework/Headers/5.7.1
-I/sw/lib/qt5-mac/lib/QtScript.framework/Headers/5.7.1/QtScript
-I/sw/lib/qt5-mac/lib/QtCore.framework/Headers/5.7.1
-I/sw/lib/qt5-mac/lib/QtCore.framework/Headers/5.7.1/QtCore
-I/sw/lib/qt5-mac/lib/QtWidgets.framework/Headers
-I/sw/lib/qt5-mac/lib/QtGui.framework/Headers
-I/sw/lib/qt5-mac/lib/QtScript.framework/Headers
-I/sw/lib/qt5-mac/lib/QtSql.framework/Headers
-I/sw/lib/qt5-mac/lib/QtXmlPatterns.framework/Headers
-I/sw/lib/qt5-mac/lib/QtNetwork.framework/Headers
-I/sw/lib/qt5-mac/lib/QtCore.framework/Headers
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/include
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/inclu
de -F/sw/lib/qt5-mac/lib debugger/qdeclarativedebugclient.cpp -o
.moc/qdeclarativedebugclient.moc
>> 1 error generated.
>> make[2]: *** [.obj/qdeclarativetextinput.o] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> make[1]: *** [sub-declarative-make_first-ordered] Error 2
>> make: *** [sub-src-make_first] Error 2
>
> Unfortunately, that compiler command doesn't belong to the error shown due to
> a multi-threaded build. Either search for the string
> 'qdeclarativetextinput.o' in the build output and send the compiler command
> that appears in, or switch to using a single build job (option available
> through 'fink configure') and try rebuilding.
>
> Also include the output of 'fink list qt5-mac-qtquick'
>
> Hanspeter
Ok, here's the correct command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-c -MD -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-mmacosx-version-min=10.10
-F/sw/src/fink.build/qt5-mac-qtquick1-5.5.1-2/qtquick1-opensource-src-5.5.1/lib
-O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions
-Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB
-DQT_NO_LIBINPUT -DQT_BUILD_DECLARATIVE_LIB -DQT_BUILDING_QT
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_OPENTYPE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB
-DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_XMLPATTERNS_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../in
clude/QtDeclarative -I../../include/QtDeclarative/5.5.1
-I../../include/QtDeclarative/5.5.1/QtDeclarative -Iqml -Iqml/parser
-Iqml/rewriter -Iutil -Igraphicsitems -Idebugger
-I/sw/lib/qt5-mac/lib/QtWidgets.framework/Headers/5.7.1
-I/sw/lib/qt5-mac/lib/QtWidgets.framework/Headers/5.7.1/QtWidgets
-I/sw/lib/qt5-mac/lib/QtGui.framework/Headers/5.7.1
-I/sw/lib/qt5-mac/lib/QtGui.framework/Headers/5.7.1/QtGui
-I/sw/lib/qt5-mac/lib/QtScript.framework/Headers/5.7.1
-I/sw/lib/qt5-mac/lib/QtScript.framework/Headers/5.7.1/QtScript
-I/sw/lib/qt5-mac/lib/QtCore.framework/Headers/5.7.1
-I/sw/lib/qt5-mac/lib/QtCore.framework/Headers/5.7.1/QtCore
-I/sw/lib/qt5-mac/lib/QtWidgets.framework/Headers
-I/sw/lib/qt5-mac/lib/QtGui.framework/Headers
-I/sw/lib/qt5-mac/lib/QtScript.framework/Headers
-I/sw/lib/qt5-mac/lib/QtSql.framework/Headers
-I/sw/lib/qt5-mac/lib/QtXmlPatterns.framework/Headers
-I/sw/lib/qt5-mac/lib/QtNetwork.framework/Headers
-I/sw/lib/qt5-mac/lib/QtCore.framework/Headers -I.moc -I/Applica
tions/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers
-I/sw/lib/qt5-mac/share/qt5/mkspecs/macx-clang -F/sw/lib/qt5-mac/lib -o
.obj/qdeclarativetextinput.o graphicsitems/qdeclarativetextinput.cpp
graphicsitems/qdeclarativetextinput.cpp:517:17: error: no member named
'setCursorBlinkPeriod' in 'QWidgetLineControl'
d->control->setCursorBlinkPeriod(on?QApplication::cursorFlashTime():0);
~~~~~~~~~~ ^
1 error generated.
And fink list qt5-mac-qtquick
Information about 10235 packages read in 1 seconds.
i qt5-mac-qtquick 5.7.1-1 Qt Quick library (mac)
qt5-mac-qtquick 5.5.1-2 Cross-Platform framework (mac)
qt5-mac-qtquick 5.5.1-2 Qt5 QtQuick1 designer plugins (mac)
qt5-mac-qtquick 5.5.1-2 Qt5 QtQuick1 dev tools (mac)
qt5-mac-qtquick 5.5.1-2 Qt5 QtQuick1 qml plugins (mac)
qt5-mac-qtquick 5.5.1-2 Qt5 QtQuick1 qmltooling plugins (mac)
qt5-mac-qtquick 5.7.1-1 Qt5 Quick Controls2 (mac)
qt5-mac-qtquick 5.7.1-1 Qt QuickControls2 library (mac)
i qt5-mac-qtquick 5.7.1-1 Qt QuickParticles library (mac)
qt5-mac-qtquick 5.7.1-1 Qt QuickTemplates2 library (mac)
i qt5-mac-qtquick 5.7.1-1 Qt QuickTest library (mac)
i qt5-mac-qtquick 5.7.1-1 Qt QuickWidgets library (mac)
Thanks,
Sean Lake
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users