trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: November 2016

Re: [trinity-users] Struggling with "C++ GUI Programming with Qt 3"

From: Michele Calgaro <michele.calgaro@...>
Date: Tue, 29 Nov 2016 10:39:46 +0900
> 	I also notice that while Tutorial1 seems to work okay with tqapplication.h 
> and tqpushbutton.h, there also exist ntqapplication.h and ntqpushbutton.h. 
> Again, how does one know which to use?
> 

To try to keep it simple, the ntq* headers are tqt3 header files.
The tq* are the tqtinterface header files.
The tqtinterface was an intermediate layer that was born to support the migration of TDE to qt4. In the end TDE remained
with tqt3, but the tqtinterface was already part of the code and it stayed.

If you are only interested in qt, you can use the ntq* headers, but normally we use the tq* ones.
When you move to TDE development there will also be the TDE headers and additional libraries needs to be linked.

Cheers
  Michele



Attachments: