Sign in Join

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

Mailing lists / lazarus / 2015-04

Cannot bulid Lazarus Qt

10 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Vojtěch Čihák

?
Hi, I got strange problem I didn't see ever before. ?
I cannot build Lazarus for Qt. It always falls to GTk2. ?
I got set "Qt" in Configure Build Lazarus Dialog and Build with Clean All option. ?
I also tried to buid from console:?make clean all useride LCL_PLATFORM=qt ?
but no luck.
?
Linux 64-bit, FPC 3.1.1 (r.30494)
Qt 4.8.6
Lazarus 1.5 r48562:48630M FPC 3.1.1 x86_64-linux-gtk 2 ?
(Last workig Qt build was?Lazarus 1.5 r48530M FPC 3.1.1 30069 x86_64-linux-qt)

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

Reply by email

Mattias Gaertner
to Vojtěch Čihák
Show quoted text 6 lines
? Hi, I got strange problem I didn't see ever before. ? I cannot build Lazarus for Qt. It always falls to GTk2. ? I got set "Qt" in Configure Build Lazarus Dialog and Build with Clean All option.

There was such a bug some days ago. Maybe you have local modifications or maybe you are starting an old IDE?

With lazarus r48678 and FPC 2.6.4 I get:
qtwidgets.pas(18281,3) Error: Identifier not found "FPreviewWidget"

?

Show quoted text 5 lines
I also tried to buid from console:?make clean all useride LCL_PLATFORM=qt ? but no luck. ? Linux 64-bit, FPC 3.1.1 (r.30494)

Or maybe it has to do with FPC 3.1.1. I did not check.

Qt 4.8.6 Lazarus 1.5 r48562:48630M FPC 3.1.1 x86_64-linux-gtk 2 ? (Last workig Qt build was?Lazarus 1.5 r48530M FPC 3.1.1 30069 x86_64-linux-qt)

Mattias

Reply by email

zeljko
to Vojtěch Čihák: ? Hi, I got strange problem I didn't see ever before. ? I cannot build Lazarus for Qt. It…
Vojt?ch ?ih?k wrote 19 lines
Hi, I got strange problem I didn't see ever before. I cannot build Lazarus for Qt. It always falls to GTk2. I got set "Qt" in Configure Build Lazarus Dialog and Build with Clean All option. I also tried to buid from console: make clean all useride LCL_PLATFORM=qt but no luck. Linux 64-bit, FPC 3.1.1 (r.30494) Qt 4.8.6 Lazarus 1.5 r48562:48630M FPC 3.1.1 x86_64-linux-gtk 2 (Last workig Qt build was Lazarus 1.5 r48530M FPC 3.1.1 30069 x86_64-linux-qt)

Mine laz is r46641 + fpc-2.6.4 and works fine. You should check revisions after 46641 if anything build related is changed in lazarus, but I've already seen some 64bit problems with latest fpc-3.1.1 and widestrings .... so could be both.

zeljko

Reply by email

zeljko
to Mattias Gaertner: On Wed, 08 Apr 2015 13:41:46 +0200 There was such a bug some days ago. Maybe you have…
Mattias Gaertner wrote 15 lines
On Wed, 08 Apr 2015 13:41:46 +0200 Vojt?ch ?ih?k wrote: > > Hi, I got strange problem I didn't see ever before. > > I cannot build Lazarus for Qt. It always falls to GTk2. > > I got set "Qt" in Configure Build Lazarus Dialog and Build with Clean All option. There was such a bug some days ago. Maybe you have local modifications or maybe you are starting an old IDE? With lazarus r48678 and FPC 2.6.4 I get: qtwidgets.pas(18281,3) Error: Identifier not found "FPreviewWidget"

???? how ? It builds here w/o problems with 2.6.4. Just tried r48678. Do you have any Qt dialogs define enabled ? Only that could be the problem.

zeljko

Show quoted text 24 lines
> I also tried to buid from console: make clean all useride LCL_PLATFORM=qt > > but no luck. > > Linux 64-bit, FPC 3.1.1 (r.30494) Or maybe it has to do with FPC 3.1.1. I did not check. > Qt 4.8.6 > Lazarus 1.5 r48562:48630M FPC 3.1.1 x86_64-linux-gtk 2 > > (Last workig Qt build was Lazarus 1.5 r48530M FPC 3.1.1 30069 x86_64-linux-qt) Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to zeljko
Show quoted text 19 lines
On 04/08/2015 02:13 PM, Mattias Gaertner wrote: > On Wed, 08 Apr 2015 13:41:46 +0200 > Vojt?ch ?ih?k wrote: > >> >> Hi, I got strange problem I didn't see ever before. >> >> I cannot build Lazarus for Qt. It always falls to GTk2. >> >> I got set "Qt" in Configure Build Lazarus Dialog and Build with Clean All option. > > There was such a bug some days ago. Maybe you have local > modifications or maybe you are starting an old IDE? > > With lazarus r48678 and FPC 2.6.4 I get: > qtwidgets.pas(18281,3) Error: Identifier not found "FPreviewWidget" ???? how ? It builds here w/o problems with 2.6.4. Just tried r48678. Do you have any Qt dialogs define enabled ? Only that could be the problem.

You are right. I have -dQT_NATIVE_DIALOGS.
It compiles without that.

Mattias

Reply by email

zeljko
to Mattias Gaertner: On Wed, 08 Apr 2015 13:41:46 +0200 There was such a bug some days ago. Maybe you have…
Mattias Gaertner wrote 15 lines
On Wed, 08 Apr 2015 13:41:46 +0200 Vojt?ch ?ih?k wrote: > > Hi, I got strange problem I didn't see ever before. > > I cannot build Lazarus for Qt. It always falls to GTk2. > > I got set "Qt" in Configure Build Lazarus Dialog and Build with Clean All option. There was such a bug some days ago. Maybe you have local modifications or maybe you are starting an old IDE? With lazarus r48678 and FPC 2.6.4 I get: qtwidgets.pas(18281,3) Error: Identifier not found "FPreviewWidget"

Fixed (as I suspected, QT_NATIVE_DIALOGS define). Build works with 2.6.4, w/o problem, so Vojtech probably have problem with fpc.

zeljko

Reply by email

FreeMan
to zeljko
zeljko wrote
ixed (as I suspected, QT_NATIVE_DIALOGS define). Build works with 2.6.4, w/o problem, so Vojtech probably have problem with fpc. zeljko

fpc r30493 lazarus r48679 yosemite x64 QT
-k'-framework' -k'ApplicationServices' -dUSE_QT_45 -dQT_NATIVE_DIALOGS -g -gl -vn-h-i-
my make OPT parameter like this. Now when click open file in IDE dialog is like "Finder"
Thank you.

Reply by email

zeljko
to FreeMan
FreeMan wrote 12 lines
On 8.04.2015 15:29, zeljko wrote: > ixed (as I suspected, QT_NATIVE_DIALOGS define). Build works with > 2.6.4, w/o problem, so Vojtech probably have problem with fpc. > > zeljko fpc r30493 lazarus r48679 yosemite x64 QT -k'-framework' -k'ApplicationServices' -dUSE_QT_45 -dQT_NATIVE_DIALOGS -g -gl -vn-h-i- my make OPT parameter like this. Now when click open file in IDE dialog is like "Finder" Thank you.

Yes, that's why -dQT_NATIVE_DIALOGS exists. Keep in mind that when you use QT_NATIVE_DIALOGS there's no events from dialogs (like filter changed etc...).

zeljko

Reply by email

zeljko
to Vojtěch Čihák: ? Hi, I got strange problem I didn't see ever before. ? I cannot build Lazarus for Qt. It…
Vojt?ch ?ih?k wrote 19 lines
Hi, I got strange problem I didn't see ever before. I cannot build Lazarus for Qt. It always falls to GTk2. I got set "Qt" in Configure Build Lazarus Dialog and Build with Clean All option. I also tried to buid from console: make clean all useride LCL_PLATFORM=qt but no luck. Linux 64-bit, FPC 3.1.1 (r.30494) Qt 4.8.6 Lazarus 1.5 r48562:48630M FPC 3.1.1 x86_64-linux-gtk 2 (Last workig Qt build was Lazarus 1.5 r48530M FPC 3.1.1 30069 x86_64-linux-qt)

Probably related to this:
http://bugs.freepascal.org/view.php?id=27806

2.6.4 and fixes_3_0 works ok.

zeljko

Reply by email

Vojtěch Čihák
to zeljko

Thanks for assistance.
?
Finally, there were something wrong with configuration rather than FPC or Lazarus. ?
Even if I had "Qt" in combobox or I used command line:??make all useride LCL_PLATFORM=qt it was built as gtk2.Now I successfuly compiled r.48681 with FPC r.30496. I think Lazarus and FPC are OK (but I didn't try BIGIDE).V.______________________________________________________________

Show quoted text 5 lines
Od: zeljko Komu: Lazarus mailing list Datum: 08.04.2015 15:29 P?edm?t: Re: [Lazarus] Cannot bulid Lazarus Qt
Vojt?ch ?ih?k wrote 19 lines
Hi, I got strange problem I didn't see ever before. I cannot build Lazarus for Qt. It always falls to GTk2. I got set "Qt" in Configure Build Lazarus Dialog and Build with Clean All option. I also tried to buid from console: make clean all useride LCL_PLATFORM=qt but no luck. Linux 64-bit, FPC 3.1.1 (r.30494) Qt 4.8.6 Lazarus 1.5 r48562:48630M FPC 3.1.1 x86_64-linux-gtk 2 (Last workig Qt build was Lazarus 1.5 r48530M FPC 3.1.1 30069 x86_64-linux-qt)

Probably related to this:
http://bugs.freepascal.org/view.php?id=27806 <http://bugs.freepascal.org/view.php?id=27806>

2.6.4 and fixes_3_0 works ok.

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150408/7761236c/attachment-0001.html>

Reply by email