Date: Tue, 30 Aug 2005 11:48:28 -0500 From: Miguel =?iso-8859-1?q?C=E1rdenas?= <mfcardenas@prodigy.net.mx> To: freebsd-questions@freebsd.org> Subject: FreeBSD 5.2.1 and Qt library Message-ID: <200508301148.29542.mfcardenas@prodigy.net.mx>
next in thread | raw e-mail | index | archive | help
Hello list... I have a little problem compiling Qt-based programs, when running 'make' get the following error: bash$ make ( cd /src/moc ; make ) cd: can't cd to /src/moc *** Error code 2 and then stops. Am using the Qt that comes with the FreeBSD 5.2.1 Note that the program compiles perfectly under Linux, so it is not the project.pro configuration file generated by qmake, it tries to 'cd /src/moc' that obviously does not exist. I asked on Trolltech mailing list and they said it was a distribution problem, so that I should ask at FreeBSD mailing list... they suggested me to check for the QTDIR environment variable, and it is not set... How can I setup the QTDIR variable? I did it by hand using export in bash shell, but want to do it automatically while booting, which script or configuration file should I use? In Linux I use /etc/profile but am new to FreeBSD, just am porting a Qt software... Thanks!!!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508301148.29542.mfcardenas>