Hi Pritpal,

Please see my other e-mail regarding this.

This is basically hitting a nail with sledgehammer (or how
the saying goes?). It'd be much better to include only
the required parts on each source instead of QWidget,
which contains just about everything, thus makes them
slow to compile.

Brgds,
Viktor

On 2009.07.01., at 18:26, vouch...@users.sourceforge.net wrote:

Revision: 11590
         
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11590&view=rev
Author:   vouchcac
Date:     2009-07-01 16:26:49 +0000 (Wed, 01 Jul 2009)

Log Message:
-----------

2009-07-01 09:26 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
 * harbour/contrib/hbqt/hbqt.h
   ! Includes <QtGui/QWidget>
     Appears it is required for all .cpp's

Modified Paths:
--------------
   trunk/harbour/ChangeLog
   trunk/harbour/contrib/hbqt/hbqt.h

Modified: trunk/harbour/ChangeLog
===================================================================
--- trunk/harbour/ChangeLog     2009-07-01 15:48:47 UTC (rev 11589)
+++ trunk/harbour/ChangeLog     2009-07-01 16:26:49 UTC (rev 11590)
@@ -17,6 +17,11 @@
   past entries belonging to author(s): Viktor Szakats.
*/

+2009-07-01 09:26 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
+  * harbour/contrib/hbqt/hbqt.h
+    ! Includes <QtGui/QWidget>
+      Appears it is required for all .cpp's
+
2009-07-01 08:30 UTC-0800 Pritpal Bedi (prit...@vouchcac.com)
  * harbour/contrib/hbqt/hbqt.h
  * harbour/contrib/hbqt/hbqt_base.cpp

Modified: trunk/harbour/contrib/hbqt/hbqt.h
===================================================================
--- trunk/harbour/contrib/hbqt/hbqt.h 2009-07-01 15:48:47 UTC (rev 11589) +++ trunk/harbour/contrib/hbqt/hbqt.h 2009-07-01 16:26:49 UTC (rev 11590)
@@ -56,6 +56,9 @@
#ifndef __HBQT_H
#define __HBQT_H

+#include <qglobal.h>
+#include <QtGui/QWidget>
+
#if QT_VERSION >= 0x040500

#define hbqt_par_QTranslator( n ) ( ( QTranslator* ) hb_parptr( n ) )


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to