On 2016/11/27 11:11 AM, Leslie Turriff wrote:
On 2016-11-17 07:17:00 Michele Calgaro wrote:
On 2016/11/17 01:02 PM, Leslie Turriff wrote:
Hi, I'm trying to learn to write a GUI app using the book "C++ GUI Programming with Qt 3", which of course is not written with Trinity in mind, but hopefully will be enough to get me started. I've already figured out that I need to substitute 'tqmake' for 'qmake', but I can't get the simple 'helloworld' project to actually compile the c++ code. I've got the project generated, and I see the code in its src/ directory, but when I try to build it (the book says to use 'make') it says "make: Nothing to be done for 'first'."
Take a look at the QT3 tutorial here https://www.trinitydesktop.org/docs/qt3/tutorial.html Should be able to get you started with TQt ;-) Cheers Michele
Okay, I tried that and got exactly the same results. The tutorial you cited even has the same mistaken instruction to use qmake instead of tqmake.
Leslie
I tried tutorial 1: copied the code to a .cpp file, followed the exact instructions (except replacing qmake with tqmake as you already pointed out). Works perfectly on my system. This is a pretty basic tutorial ofcourse, no TDE stuff there, no tqtinterface. Try to give it a second try :-) Cheers Michele