Hi,
I'm making my move to CodeTyphon to make cross platform builds for some of my projects and so far I am impressed with the work you guys have done so far!
I noticed however some issues when I tried to make a build on windows targeting other widget sets than Win32. The pl_Virtualtrees package for example will not compile when you target GTK2 or QT on Windows.
To fix this I changed the following in the code:
vtvdragmanager.inc
{$IF DEFINED(LCLGTK) or (DEFINED(GTK))}
{$i vtvdragmanager_gtk.inc}
{$ELSE}
{$IF DEFINED(LCLGTK2) or (DEFINED(GTK2))}
{$i vtvdragmanager_gtk2.inc}
{$ELSE}
{$IF DEFINED(LCLCarbon) or (DEFINED(Carbon))}
{$i vtvdragmanager_carbon.inc}
{$ELSE}
{$IF DEFINED(LCLWin32) or (DEFINED(Windows))}
{$i vtvdragmanager_win32.inc}
{$ELSE}
{$IF DEFINED(LCLQT) or (DEFINED(QT))}
{$i vtvdragmanager_qt.inc}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
olemethods.inc
{$IF DEFINED(LCLGTK) or (DEFINED(GTK))}
{$i olemethods_gtk.inc}
{$ELSE}
{$IF DEFINED(LCLGTK2) or (DEFINED(GTK2))}
{$i olemethods_gtk2.inc}
{$ELSE}
{$IF DEFINED(LCLCarbon) or (DEFINED(Carbon))}
{$i olemethods_carbon.inc}
{$ELSE}
{$IF DEFINED(LCLWin32) or (DEFINED(Windows))}
{$i olemethods_win32.inc}
{$ELSE}
{$IF DEFINED(LCLQT) or (DEFINED(QT))}
{$i olemethods_qt.inc}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
vtgraphicsi.inc
{$IF DEFINED(LCLGTK) or (DEFINED(GTK))}
{$i vtgraphicsi_gtk.inc}
{$ELSE}
{$IF DEFINED(LCLGTK2) or (DEFINED(GTK2))}
{$i vtgraphicsi_gtk2.inc}
{$ELSE}
{$IF DEFINED(LCLCarbon) or (DEFINED(Carbon))}
{$i vtgraphicsi_carbon.inc}
{$ELSE}
{$IF DEFINED(LCLWin32) or (DEFINED(Windows))}
{$i vtgraphicsi_win32.inc}
{$ELSE}
{$IF DEFINED(LCLQT) or (DEFINED(QT))}
{$i vtgraphicsi_qt.inc}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
virtualpanningwindow.inc
{$IF DEFINED(LCLGTK) or (DEFINED(GTK))}
{$i virtualpanningwindow_gtk.pas}
{$ELSE}
{$IF DEFINED(LCLGTK2) or (DEFINED(GTK2))}
{$i virtualpanningwindow_gtk2.pas}
{$ELSE}
{$IF DEFINED(LCLCarbon) or (DEFINED(Carbon))}
{$i virtualpanningwindow_carbon.pas}
{$ELSE}
{$IF DEFINED(LCLQT) or (DEFINED(QT))}
{$i virtualpanningwindow_qt.pas}
{$ELSE}
{$IF DEFINED(LCLWin32) or (DEFINED(Windows))}
{$i virtualpanningwindow_win32.pas}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$ENDIF}
Possibly this will need to be fixed in other packages too. I'll report it if I come across others.