[Lazarus] Setting default widgetset per IDE installation

Vladimir Zhirov vvzh.lists at gmail.com
Mon Nov 1 13:57:58 CET 2010


Hi, 

I've got a problem with setting widgetset for my project.

I use Qt version of Lazarus IDE but I want to build my
application using GTK 2 on Linux. Since "default" widgetset
in Project Options points to qt for my IDE, I cannot use it and
have to manually change it to gtk2. However, if I committed this
change to repository, my colleagues using Windows would have to
change it back to "default" (that is win32/win64 for them).
I see two possible solutions, but neither of them is perfect:

1. I can change widgetset from "default (qt)" to "gtk2" after
an update and change it back from "gtk2" to "default" before
a commit. Not very handy solution.

2. I can create two lpi files pointing to the same lpr, one for
"default" widgetset and one for "gtk2". But then I have 2 almost
identical files and have to synchronize them.

It would be nice if there was a way to specify the default
widgetset per Lazarus IDE installation, other than building 
the IDE using this widgetset. Is there a way to do it?
If not, I wonder how would you guys handle this problem?




More information about the Lazarus mailing list