Re: [Lazarus] Cannot bulid Lazarus Qt
On 04/08/2015 01:41 PM, 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. 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot bulid Lazarus Qt
On Wed, 08 Apr 2015 13:41:46 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz 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 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 Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Cannot bulid Lazarus Qt
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) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot bulid Lazarus Qt
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. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot bulid Lazarus Qt
On Wed, 08 Apr 2015 14:23:09 +0200 zeljko zel...@holobit.net wrote: On 04/08/2015 02:13 PM, Mattias Gaertner wrote: On Wed, 08 Apr 2015 13:41:46 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot bulid Lazarus Qt
On 04/08/2015 03:05 PM, FreeMan wrote: 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot bulid Lazarus Qt
On 04/08/2015 02:13 PM, Mattias Gaertner wrote: On Wed, 08 Apr 2015 13:41:46 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz 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 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 Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot bulid Lazarus Qt
On 04/08/2015 02:13 PM, Mattias Gaertner wrote: On Wed, 08 Apr 2015 13:41:46 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot bulid Lazarus Qt
On 04/08/2015 01:41 PM, 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. 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cannot bulid Lazarus Qt
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.__ Od: zeljko zel...@holobit.net Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Datum: 08.04.2015 15:29 Předmět: Re: [Lazarus] Cannot bulid Lazarus Qt On 04/08/2015 01:41 PM, 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. 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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus