[Development] Build Qt on Solaris 10 Fail

Konstantin Tokarev annulen at yandex.ru
Tue Oct 18 20:51:39 CEST 2016



18.10.2016, 21:47, "Fabio Santos via Development" <development at qt-project.org>:
> Hi all,
>
> I'm new here and trying to compile Qt on solaris sparc 10, But I receive a error during gmake command, see:

I think CC is not supported, it's a very peculiar C++ compiler and it does not have C++11 support. Please use GCC instead.

>
> CC -c -mt -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -xldscope=hidden -mt -I/usr/sfw/include -I/usr/sfw/include/freetype2 -KPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/solaris-cc -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I/usr/sfw/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/openwin/share/include -I.uic/release-shared -I/usr/sfw/include -o .obj/release-shared/qapplication.o kernel/qapplication.cpp
> "../../include/QtGui/private/../../../src/gui/painting/qpaintengine_raster_p.h", line 292: Warning: QRasterPaintEngine::clip hides the virtual function QPaintEngineEx::clip(const QPainterPath&, Qt::ClipOperation).
> "../../include/QtGui/private/../../../src/gui/painting/qpaintengine_raster_p.h", line 292: Warning: QRasterPaintEngine::updateState hides the virtual function QPaintEngineEx::updateState(const QPaintEngineState&).
> "../../include/QtGui/private/../../../src/gui/painting/qpaintengine_blitter_p.h", line 56: Warning: extra ";" ignored.
> "../../include/QtGui/private/../../../src/gui/painting/qpaintengine_blitter_p.h", line 99: Warning: QBlitterPaintEngine::drawEllipse hides the virtual function QPaintEngineEx::drawEllipse(const QRect&).
> "../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h", line 285: Warning: threadData hides QScopedLoopLevelCounter::threadData.
> "kernel/qapplication.cpp", line 3168: Error: Overloading ambiguity between "operator!=<QWidget>(const QPointer<QWidget>&, QWidget*)" and "operator!=<QWidget>(const QPointer<QWidget>&, const QWidget*)".
> "kernel/qapplication.cpp", line 3168: Error: Overloading ambiguity between "operator!=<QWidget>(const QPointer<QWidget>&, QWidget*)" and "operator!=<QWidget>(const QPointer<QWidget>&, const QWidget*)".
> 2 Error(s) and 5 Warning(s) detected.
> gmake[1]: *** [.obj/release-shared/qapplication.o] Error 2
> gmake[1]: Leaving directory `/tmp/SCI/SuccessfullyS/qt-everywhere-opensource-src-4.8.7/src/gui'
> gmake: *** [sub-gui-make_default-ordered] Error 2
> You have new mail in /var/mail/root
> bash-3.2#
>
> Someone can help me?
> ,
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development


-- 
Regards,
Konstantin



More information about the Development mailing list