Sign in Join

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

Mailing lists / lazarus / 2011-06

Can't build lazarus for QT

11 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Krzysztof

Hi,

I have lazarus snapshot 0.9.31 from 2011-06-26 and FPC 2.4.4 installed on Kubuntu 11.04 32bit. I'm trying rebuild lazarus to QT following by this article:
http://wiki.lazarus.freepascal.org/Qt_Interface
This article refers to the old build profiles. I don't know what I should check now. With "Clean + build all" I have to choice "IDE" and "Examples" I check only "IDE", but when I try rebuild I get error "Fatal: Can't find unit Interfaces used by Lazarus"

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/0db3dc40/attachment.html>

Reply by email

Mattias Gaertner
to Krzysztof

?
?

Krzysztof hat am 27. Juni 2011 um 17:25 geschrieben:

Show quoted text 6 lines
Hi, I have lazarus snapshot 0.9.31 from 2011-06-26 and FPC 2.4.4 installed on Kubuntu 11.04 32bit. I'm trying rebuild lazarus to QT following by this article: http://wiki.lazarus.freepascal.org/Qt_Interface
This articlerefers to the old build profiles.

?
I updated this page for Linux.?
?
?

I don't know what I should check now. With "Clean + build all" I have to choice "IDE" and "Examples" I check only "IDE", but when I try rebuild I get error "Fatal: Can't find unit Interfaces used by Lazarus"

IDE is correct.
Maybe you have messed up some files. Please check "clean all" in the configure build lazarus dialog.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/9629b589/attachment.html>

Reply by email

Krzysztof
to Mattias Gaertner

Still this same error:
/usr/lib/lazarus/0.9.31/ide/lazarus.pp(1,1) Fatal: Can't find unit Interfaces used by Lazarus

I have permissions to this folder because I can rebuild with GTK2 interface without errors.

On ubuntu with gnome (GTK2) I have lazarus installed too (but revision 31377 instead of 31388 and FPC 2.5.1 instead of 2.4.4) but I can rebuild to QT without errors, so maybe this is some bug in revision 31388 (which is not compiled from SVN, but downloaded from snapshots page)

2011/6/27 Mattias Gaertner

Show quoted text 44 lines
** Krzysztof hat am 27. Juni 2011 um 17:25 geschrieben: Hi, I have lazarus snapshot 0.9.31 from 2011-06-26 and FPC 2.4.4 installed on Kubuntu 11.04 32bit. I'm trying rebuild lazarus to QT following by this article: http://wiki.lazarus.freepascal.org/Qt_Interface This article refers to the old build profiles. I updated this page for Linux. I don't know what I should check now. With "Clean + build all" I have to choice "IDE" and "Examples" I check only "IDE", but when I try rebuild I get error "Fatal: Can't find unit Interfaces used by Lazarus" IDE is correct. Maybe you have messed up some files. Please check "clean all" in the configure build lazarus dialog. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/06ae0622/attachment.html>

Reply by email

Mattias Gaertner
to Krzysztof

?
?

Krzysztof hat am 27. Juni 2011 um 18:31 geschrieben:

Show quoted text 11 lines
Still this same error: /usr/lib/lazarus/0.9.31/ide/lazarus.pp(1,1) Fatal: Can't find unit Interfaces used by Lazarus I have permissions to this folder because I can rebuild with GTK2 interface without errors. On ubuntu with gnome (GTK2) I have lazarus installed too (but revision 31377 instead of 31388 and FPC 2.5.1 instead of 2.4.4) but I can rebuild to QT without errors, so maybe this is some bug in revision 31388 (which is not compiled from SVN, but downloaded from snapshots page)

Ah. Maybe the snapshot changed some settings.
Please open Package / Package Graph. Double click LCL to open the package editor of the LCL.
Click on 'Options' / IDE Integration. The Update/Rebuild setting should be "Automatically if needed".?
If this setting is "manually", then the snapshot has set all packages to compile manually.
That would be a bug.?

?
Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/20ace596/attachment-0001.html>

Reply by email

Krzysztof
to Mattias Gaertner

I have "manually", so this could be a reason, but how can I change it to "Automatically if needed"? I can't see "OK" button.

2011/6/27 Mattias Gaertner

Show quoted text 46 lines
** Krzysztof hat am 27. Juni 2011 um 18:31 geschrieben: Still this same error: /usr/lib/lazarus/0.9.31/ide/lazarus.pp(1,1) Fatal: Can't find unit Interfaces used by Lazarus I have permissions to this folder because I can rebuild with GTK2 interface without errors. On ubuntu with gnome (GTK2) I have lazarus installed too (but revision 31377 instead of 31388 and FPC 2.5.1 instead of 2.4.4) but I can rebuild to QT without errors, so maybe this is some bug in revision 31388 (which is not compiled from SVN, but downloaded from snapshots page) Ah. Maybe the snapshot changed some settings. Please open Package / Package Graph. Double click LCL to open the package editor of the LCL. Click on 'Options' / IDE Integration. The Update/Rebuild setting should be "Automatically if needed". If this setting is "manually", then the snapshot has set all packages to compile manually. That would be a bug. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/040ff7a0/attachment.html>

Reply by email

Mattias Gaertner
to Krzysztof

?
?

Krzysztof hat am 27. Juni 2011 um 18:56 geschrieben:

I have "manually", so this could be a reason,

?
Ok. bug. This should be changed.?
?
?

but how can I change it to "Automatically if needed"? I can't see "OK" button.

The Ok button is at the same place as in all dialogs: right, bottom. ? Can you send me a screenshot??
What happens when you resize the dialog??
?
?
Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/3769693f/attachment.html>

Reply by email

Krzysztof

I don't know if I can attach screenshot here but I try (it should be as attachment). I see only disabled "close" button and some "save" button with 3 dots (on click it ask me where to save file but I don't know where and which name to set). On gnome (lazarus from SVN) I have "OK" button next to "close".

2011/6/27 Krzysztof

Show quoted text 60 lines
I don't know if I can attach screenshot here but I try (it should be as attachment). I see only disabled "close" button and some "save" button with 3 dots (on click it ask me where to save file but I don't know where and which name to set). On gnome (lazarus from SVN) I have "OK" button next to "close". 2011/6/27 Krzysztof > I don't know if I can attach screenshot here but I try (it should be as > attachment). I see only disabled "close" button and some "save" button with > 3 dots (on click it ask me where to save file but I don't know where and > which name to set). On gnome (lazarus from SVN) I have "OK" button next to > "close". > > 2011/6/27 Mattias Gaertner > >> ** >> >> >> >> >> >> Krzysztof hat am 27. Juni 2011 um 18:56 geschrieben: >> >> >> I have "manually", so this could be a reason, >> >> >> >> Ok. bug. This should be changed. >> >> >> >> >> >> but how can I change it to "Automatically if needed"? I can't see "OK" >> button. >> >> The Ok button is at the same place as in all dialogs: right, bottom. >> >> Can you send me a screenshot? >> >> What happens when you resize the dialog? >> >> >> >> >> >> Mattias >> >> >> -- >> _______________________________________________ >> Lazarus mailing list >> >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> >> >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/ed43d644/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: lazarus_qt.jpeg
Type: image/jpeg
Size: 54440 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/ed43d644/attachment-0001.jpeg>

Reply by email

Mattias Gaertner
to Krzysztof
Show quoted text 5 lines
I don't know if I can attach screenshot here but I try (it should be as attachment). I see only disabled "close" button and some "save" button with 3 dots (on click it ask me where to save file but I don't know where and which name to set). On gnome (lazarus from SVN) I have "OK" button next to "close".

Ehm, this looks like a pre-step of the migration of the old options dialog to the new.
What revision is this? See Help / About?

Mattias

Reply by email

Krzysztof
to Mattias Gaertner

I have empty revision in about, but filename is
lazarus-0.9.31.31388-20110626.i386.deb.tar, downloaded yesterday. I temporary try create debs from svn which I have on ubuntu and copy them to kubuntu virtual mashine

BTW: I have two questions about QT in lazarus
1. If I sent compiled QT executable to my friend (which has kubuntu, so he has QT) he will run it without external librarys? (like libQt4Pas.so etc)
2. I notify that application popup menus have no icons and trayicon have no transparency. Is this known behavior or this is because I have LCL GTK yet?

2011/6/27 Mattias Gaertner

Show quoted text 24 lines
On Mon, 27 Jun 2011 21:14:04 +0200 Krzysztof wrote: > I don't know if I can attach screenshot here but I try (it should be as > attachment). I see only disabled "close" button and some "save" button with > 3 dots (on click it ask me where to save file but I don't know where and > which name to set). On gnome (lazarus from SVN) I have "OK" button next to > "close". Ehm, this looks like a pre-step of the migration of the old options dialog to the new. What revision is this? See Help / About? Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110627/1123cbad/attachment.html>

Reply by email

zeljko
to Krzysztof
Krzysztof wrote 8 lines
I have empty revision in about, but filename is lazarus-0.9.31.31388-20110626.i386.deb.tar, downloaded yesterday. I temporary try create debs from svn which I have on ubuntu and copy them to kubuntu virtual mashine BTW: I have two questions about QT in lazarus 1. If I sent compiled QT executable to my friend (which has kubuntu, so he has QT) he will run it without external librarys? (like libQt4Pas.so etc)

No, libQt4Pas must be installed , it's glue (C library) between lazarus and qt libs.

2. I notify that application popup menus have no icons and trayicon have no transparency. Is this known behavior or this is because I have LCL GTK yet?

Theme settings disables icons in menus.

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110628/ac9fd95e/attachment-0001.html>

Reply by email