Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, March 2002
Qt/Pro and Win2k/Cygwin


Message 1 in thread

Hello list,

I'm trying to compile Qt Prof. under Win2k, using g++ under Cygwin, but
I can't get it to compile : qmake refuses to build, I got the error :
Creating qmake...
Makefile:14: *** missing separator.  Stop.
Building qmake failed, return code 2.

Trying with "configure -no-qmake", then "make", I got :
Makefile:9: *** missing separator. Stop.

I'm using the "manual" method described in INSTALL file, I don't have
Borland neither MSVS.

Any hint would be appreciated.

Regards,

-- 
 [ signature omitted ] 

Message 2 in thread

Hello list,
 
 I installed QT 3.02 for QT-X11, but I'm trying to compile the examples
and tutorial using make (following the file install) and I'm not
obtaining. It appears the following error:

make[1]: Entering directory `/usr/local/qt'
cd qmake && make
make[2]: Entering directory `/usr/local/qt/qmake'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/qt/qmake'
cd src/moc && make
make[2]: Entering directory `/usr/local/qt/src/moc'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/usr/local/qt/src/moc'
cd src && make
make[2]: Entering directory `/usr/local/qt/src'
g++ -c -pipe -Wall -W -O2 -fPIC -DQT_NO_DEBUG -DQT_NO_CHECK -DQT_NO_NIS
-DQT_NO_XFTFREETYPE -DQT_NO_REMOTE -DQT_NO_IMAGEIO_MNG
-DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC
-DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_COMPACT -I3rdparty/libpng
-I3rdparty/zlib -I/usr/local/qt/include -I../../../X11R6/include
-I.moc/release/ -I/usr/local/qt/mkspecs/linux-g++ -o
.obj/release/qapplication_x11.o kernel/qapplication_x11.cpp
In file included from kernel/qt_x11.h:140,
                 from kernel/qinputcontext_p.h:5,
                 from kernel/qapplication_x11.cpp:77:
../../../X11R6/include/X11/extensions/Xrender.h:129: parse error before
`template'
make[2]: *** [.obj/release/qapplication_x11.o] Error 1
make[2]: Leaving directory `/usr/local/qt/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] Error 2                

Any hint would be appreciated.

Regards,

          Isledna


Message 3 in thread

Hi again,

Jörg Preiß wrote:
 > What about unix/windows CRLF? This makes lots of trouble, especially on
 > Cygnus/XFree

Moore, Ric wrote:
 > I have seen that error many times.  It has always been caused by a missing
 > <tab> on the referenced line (usually the line following the line that
 > specifies the target.)

Clinton Stimpson wrote:
 > did you set the qmakespec enviornment variable to win32-g++?

In short :
1- I haven't check the CR/LF problem, but I think changing in *all* Qt's
   source files would be... not a nice solution ;-)
2- The referenced line, in qmake/Makefile, contains only "!ELSE"
3- ...and I have correctly set the QMAKESPEC variable.

Question : can this be due to the use of Cygwin shell (bash), instead of
"standard" Win2k command-line ?

Regards,

-- 
 [ signature omitted ] 

Message 4 in thread

I was told recently that g++ cygwin is not supported
in Qt because of lack of OLE support.  Use MSVC or
Borland.

Salman



--- Yves Bailly <yves.bailly@sescoi.fr> wrote:
> Hello list,
> 
> I'm trying to compile Qt Prof. under Win2k, using
> g++ under Cygwin, but
> I can't get it to compile : qmake refuses to build,
> I got the error :
> Creating qmake...
> Makefile:14: *** missing separator.  Stop.
> Building qmake failed, return code 2.
> 
> Trying with "configure -no-qmake", then "make", I
> got :
> Makefile:9: *** missing separator. Stop.
> 
> I'm using the "manual" method described in INSTALL
> file, I don't have
> Borland neither MSVS.
> 
> Any hint would be appreciated.
> 
> Regards,
> 
> -- 



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/