Struggling with "C++ GUI Programming with Qt 3"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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'."
	Here is the Makefile generated by tqmake:
> 
> ###########################################################################
> Makefile for building: Tutorial1
> Generated by qmake (1.07a) (TQt 3.5.0) on: Wed Nov 16 22:57:35 2016
> Project:  Tutorial1.pro
> Template: subdirs
> Command: $(QMAKE) -o Makefile Tutorial1.pro
> ###########################################################################
>
> MAKEFILE =      Makefile
> MAKE    =      tqmake
> DEL_FILE =    rm -f
> CHK_DIR_EXISTS= test -d
> MKDIR    = mkdir -p
> INSTALL_FILE=
> INSTALL_DIR =
> SUBTARGETS =
>
> first: all
>
> all: Makefile $(SUBTARGETS)
>
> Makefile: Tutorial1.pro  /usr/share/tqt3/mkspecs/default/qmake.conf
>         $(QMAKE) -o Makefile Tutorial1.pro
> qmake: qmake_all
>         @$(QMAKE) -o Makefile Tutorial1.pro
>
> all qmake_all distclean uicables mocables install_subdirs uninstall_subdirs 
uiclean mocclean lexclean yaccclean clean : FORCE
> install:  install_subdirs
>
> uninstall:  uninstall_subdirs
>
> FORCE:
>

	And here is the Project file:

> ######################################################################
> # Automatically generated by qmake (1.07a) Wed Nov 16 22:47:58 2016
> ######################################################################
>
> TEMPLATE = subdirs
>
> # Directories

	Are there additional steps required when compiling a QT project in Trinity?

Leslie

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux