[Qt-creator] Unable to build on Solaris
Murphy, Sean M.
sean.murphy at gd-ais.com
Tue Nov 16 16:14:31 CET 2010
> > CC -c -m64 -library=stlport4 -O -xldscope=hidden -mt -KPIC -
> DBUILD_QTCONCURRENT -DIDE_LIBRARY_BASENAME=\"lib\" -
> DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -
> DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -
> DQT_SHARED -I../../../../qt-4.7.1/mkspecs/solaris-cc-64-stlport -
> I../../../../qt-creator-2.1.0-beta1-src/src/libs/qtconcurrent -
> I../../../../qt-4.7.1/include/QtCore -I../../../../qt-
> 4.7.1/include/QtGui -I../../../../qt-4.7.1/include -I../../../../qt-
> creator-2.1.0-beta1-src/src/libs -I/data1/u/murphy/qt-creator-2.1.0-
> beta1-src/tools -I.moc/release-shared -I/usr/sfw/include -I. -o
> .obj/release-shared/moc_multitask.o .moc/release-
> shared/moc_multitask.cpp
> > ".moc/release-shared/../../../../../../qt-creator-2.1.0-beta1-
> src/src/libs/qtconcurrent/runextensions.h", line 354: Error: Templates
> can only declare classes or functions.
>
> That line does declare a function template and looks correct.
Agreed, I didn't see anything wrong with it, but Sun's compiler doesn't seem to like it for some reason.
I could try to recompile Qt using gcc on our machine, but I thought I tried previously and I couldn't get it to compile. I'm starting that now, we'll see where I end up!
Sean
More information about the Qt-creator-old
mailing list