[Development] Build Qt on Solaris 10 Fail

Fabio Santos fabizs at yahoo.com
Tue Oct 18 22:10:07 CEST 2016


Hi Kontantin,
How can i force to use GCC? Beacuse I set some variables, see:
bash-3.2# envHZ=TERM=xtermSHELL=/sbin/shOLDPWD=/tmp/SCI/SuccessfullySPATH=/usr/ccs/bin:/usr/xpg4/bin:/local/lib:/usr/sbin:/usr/sfw/bin:/usr/local/bin:/usr/binMAIL=/var/mail/rootPWD=/tmp/SCI/SuccessfullyS/qt-everywhere-opensource-src-4.8.7TZ=Brazil/EastSHLVL=1HOME=/LOGNAME=rootcc=/usr/local/bin/gccCC=/usr/local/bin/gcc_=/usr/xpg4/bin/envbash-3.2#
And change  mkspecs/solaris-cc-64/qmake.conf file:

MAKEFILE_GENERATOR      = UNIXTARGET_PLATFORM         = unixTEMPLATE                = appCONFIG                  += qt warn_on release link_prlQT                      += core gui
QMAKE_CC                = gccQMAKE_LEX               = flexQMAKE_LEXFLAGS          =QMAKE_YACC              = yaccQMAKE_YACCFLAGS         = -dQMAKE_CFLAGS            = -xarch=generic64QMAKE_CFLAGS_DEPS       = -xMQMAKE_CFLAGS_WARN_ON    =QMAKE_CFLAGS_WARN_OFF   = -wQMAKE_CFLAGS_RELEASE    = -OQMAKE_CFLAGS_DEBUG      = -gQMAKE_CFLAGS_SHLIB      = -KPICQMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIBQMAKE_CFLAGS_YACC       =QMAKE_CFLAGS_THREAD     = -mtQMAKE_CFLAGS_HIDESYMS   = -xldscope=hidden
QMAKE_CXX               = GCCQMAKE_LINK              = GCCQMAKE_LINK_SHLIB        = GCCQMAKE_LFLAGS            = -xarch=generic64QMAKE_LFLAGS_RELEASE    =QMAKE_LFLAGS_DEBUG      =QMAKE_LFLAGS_SHLIB      = -GQMAKE_LFLAGS_PLUGIN     = $$QMAKE_LFLAGS_SHLIBQMAKE_LFLAGS_SONAME     = -h$$LITERAL_WHITESPACEQMAKE_LFLAGS_THREAD     = -mtQMAKE_LFLAGS_NOUNDEF    = -z defsQMAKE_LFLAGS_RPATH      = -R
QMAKE_LIBS              =QMAKE_LIBS_DYNLOAD      = -ldlQMAKE_LIBS_X11          = -lXext -lX11 -lresolv -lsocket -lnslQMAKE_LIBS_X11SM        = -lSM -lICEQMAKE_LIBS_NIS          =QMAKE_LIBS_OPENGL       = -lGLQMAKE_LIBS_OPENGL_QT    = -lGLQMAKE_LIBS_THREAD       = -lpthread -lrtQMAKE_LIBS_NETWORK      = -lresolv -lsocket -lxnet -lnsl
QMAKE_MOC               = $$[QT_INSTALL_BINS]/mocQMAKE_UIC               = $$[QT_INSTALL_BINS]/uic
QMAKE_AR                = GCC -xar -oQMAKE_OBJCOPY           = objcopyQMAKE_RANLIB            =
QMAKE_CLEAN             = -r $(OBJECTS_DIR)Templates.DB $(OBJECTS_DIR)SunWS_cache
QMAKE_TAR               = tar -cfQMAKE_GZIP              = gzip -9f
QMAKE_COPY              = cp -fQMAKE_MOVE              = mv -fQMAKE_DEL_FILE          = rm -fQMAKE_DEL_DIR           = rmdirQMAKE_CHK_DIR_EXISTS    = test -dQMAKE_MKDIR             = mkdir -pinclude(../common/unix.conf)
But ./configure remain trying cc... 

    Em Terça-feira, 18 de Outubro de 2016 16:51, Konstantin Tokarev <annulen at yandex.ru> escreveu:
 

 

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


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20161018/fc1bdfec/attachment.html>


More information about the Development mailing list