QSA-interest Archive, August 2005
Qt and FreeBSD 5.2.1
Message 1 in thread
Hello
Trying to port a small Qt based program I did to FreeBSD (5.2.1) had
some troubles...
1. The headers were not found automatically, so I had to find where do
they stand and add a line:
INCLUDEPATH += /usr/X11R6/include
so the compilation was able to go further
2. When compiling one of the source files which contains signals and slots
it fails with the following message:
g++ -c ..... -o main.o main.cpp
( cd /src/moc ; make )
cd: can't cd to /src/moc
*** Error code 2
and then stops everything... of course "/src/moc" does not exist, but why
does it try to cd there? how can I fix it? am using the default Qt library
that comes with the FreeBSD and it is a headache to install the (in)famous
"ports" to this OS, so would prefer to fix it instead of installing
another version...
This is my ".pro" file that compiles perfect under linux (which does not
require the INCLUDEPATH)
--------------------------
SOURCES = gui.cpp \
main.cpp
HEADERS = gui.h \
main.h
INCLUDEPATH += /usr/X11R6/include
CONFIG += qt thread warn_on release
LIBS += lstdc++ lv2 -thread -dl
--------------------------
as usually y perform
"qmake -o Makefile PROGRAM.pro"
and then "make", but simply fails while calling "moc" and can't go
further... any suggestion???
Thanx!!!
P.S. I've never used news before, if the message does not arrive properly
please let me know
Message 2 in thread
Hi,
> Trying to port a small Qt based program I did to FreeBSD (5.2.1) had
> some troubles...
I suggest posting to the qt-interest mailing list.
This is the qsa-interest mailinglist for discussing the Qt Script for
Applications product:
http://www.trolltech.com/products/qsa/
--
[ signature omitted ]