> I have installed GCC 4.3.3 and Qt 4.6.2 develompent
> packages from repositories.
> After installation of gcc and qmake - they are not in
> PATH... Added them to path and now I can build my
> simple application without Qt but with using qmake
> and .pro files. Resulting executable able to run and
> "ldd" shows me it's dependent on QtCore and etc...
> Seems good.
> 
> When I try to compile any simple example from Qt
> (downloaded separately) - it compiles 100% fine and
> failed on linking stage...
> 
> i386-pc-solaris2.11-g++ -g -o windowlayout main.o
> -L/usr/sfw/lib -L/opt/foss/qt4/lib -lQtGui
> -L/opt/foss/lib -L/usr/mysql/5.1/lib/mysql
> -L/usr/postgres/8.3/lib -L/opt/foss/qt4/lib
> -L/usr/sfw/lib -L/usr/openwin/lib -lQtCore -lsqlite3
>  -lpthread -lrt 
> ndefined                      first referenced
>  symbol                           in file
> Application::exec()                main.o
> QCoreApplication::translate(char const*, char const*,
> char const*, QCoreApplication::Encoding) main.o
> QLineEdit::QLineEdit(QWidget*)      main.o
> QWidget::setLayout(QLayout*)        main.o

QApplication is in QtGui ...


> 
> and others...
> 
> 1) why qmake and gcc not in global PATH?

qmake and all the stuff from the bionicmutton repo are in their own prefix. Not 
being in the default path prevents this highly experimental stuff from breaking 
your machine. At least that was the original idea.

regarding gcc I have no clue
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to