Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-04

Cannot compile with the qt enabled.

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

codepunk

Man,
I do not know what is going on but I copied the gtkint and units to qt and stripped them. I am now compiling with the QT directive and it just is not happening. I am running into terrible conflicts within all of the winapi stuff. Not to mention compiler panics due to circular references, etc.

Any ideas on a fix?

Cliff

Reply by email

Marc Weustink
to codepunk

+ From: codepunk
+
+ Man,
+ I do not know what is going on but I copied the gtkint and
+ units to qt and stripped them. I am now compiling with the QT
+ directive and it just is not happening. I am running into
+ terrible conflicts within all of the winapi stuff.
+ Not to mention compiler panics due to circular references, etc. +
+ Any ideas on a fix?

Yep, copy gtkint.pp gtkcallback.inc gtkproc.inc and gtkobjects.inc. For the moment forget the gtkwinapi* stuff.

Strip them, make sure your TQTObject is derived from TInterfacebase, and all should compile. TInterfacebase has all dummy defines for the winapi stuff

Marc

Reply by email

codepunk
to Marc Weustink

I will try it again tonight with new units. I tried exactly this last night but it failed miserably. There are some units on the uses that are causing me trouble. I will start with a fresh unit and object and start from there and see If I can track the cause. I did actually get the thing to fire up last night after commenting out about 200 lines LCL code. I was able to add forms but when I fired it up it got thrown in a loop and fired up about 200 windows in 5 seconds. Oh well at least I know the new library I wrote performs well.

Cliff

Show quoted text 12 lines
Yep, copy gtkint.pp gtkcallback.inc gtkproc.inc and gtkobjects.inc. For the moment forget the gtkwinapi* stuff. Strip them, make sure your TQTObject is derived from TInterfacebase, and all should compile. TInterfacebase has all dummy defines for the winapi stuff Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email