Version: 3.0.0a4 (using KDE 3.1.9) Compiler: gcc version 3.2 OS: Linux (i686) release 2.4.19-4GB When first compiling a qutopia template based project. I got a window "There is no Makefile in this directory. Run qmake first?" Cliking yes - runs 'tmake'! (where does the text in the window come from?) I did not have tmake installed. After installation it did not find the tmake.conf - added it to the environment variable list in make options Environment Variables list. But this is not enough. tmake needs the "-o Makefile" option to create the makefile.
Update: Noticed that I forgot to mention what I added... TMAKEPATH /usr/lib/tmake/qws/linux-x86-g++ (or some other TMAKEPATH) Contents of this file is (I probably have a OLD tmake - SuSE 8.1): $Id: tmake.conf,v 1.1 1999/11/08 03:06:27 warwick Exp $ But compiling generates lots of errors, modify Makefile INCPATH = $(QTDIR)/include Compile lines $(CXX) $(CXXFLAGS) -I $(INCPATH) -o $@ $< Remaining errors can be explained - I do not have qt embedded installed... (#include <qpe/qpeapplication.h> fails)
Can you send a patch against latest CVS ?
Created attachment 2513 [details] Added "-o Makefile" to tmake builds, and more... Added "-o Makefile" for tmake builds When tmake is to be run query "There is no Makefile in this directory. Run tmake first?" (still query "... Run qmake first?" when qmake will be used) *** Cleaned up duplicated code! *** see new private method 'make' Bugs not fixed yet: * tmake requires TMAKEPATH, this is not set but can be handled with the following addition to qtopiaapp/app.kdevelop <envvar value="/usr/lib/tmake/qws/linux-x86-g++" name="TMAKEPATH" /> * the "Messages" output from tmake is immedeatly overwritten by the output from gmake. * it builds with error, no INCPATH defined (installation problem?)
This has already been fixed for 3.3.