Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Graeme Geldenhuys via lazarus
On 30/05/2020 9:04 pm, Brian via lazarus wrote:
> Copyright (c) 1993-2017 by Florian Klaempfl and others
> (1002) Target OS: Linux for x86-64
> (3104) Compiling fcllaz.pas
> /home/brian/subversion/lazarus/packager/registration/fcllaz.pas(11,3) Fatal: 
> (10022) Can't find unit db used by fcllaz
> Fatal: (1018) Compilation aborted
> Makefile:2929: recipe for target 'fcllaz.ppu' failed

From that errer, that tells me you have some problem with your FPC
setup, not Lazarus. FPC is trying to compile the Lazarus fcllaz
package that uses the FPC's db.pp unit, but can't find it.

The "db.pp" unit is part of FPC's fcl-db package. I would double
check your ~/.fpc.cfg file and make sure all the paths are correct.


Regards,
  Graeme
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Brian via lazarus
On 5/30/20 4:32 PM, Don Alfredo via lazarus wrote:
> Fpcupdeluxe maintainer message:
> 
> Currently, QT5 Linux Lazarus will not build due to outdated
> libQT5pas.so that fpcupdeluxe uses.
> The same is valid for macOS.
> 
> This issue will be solved in next release.
> 

Thanks, that solves that question at least!

Brian.

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Don Alfredo via lazarus
Fpcupdeluxe maintainer message:

Currently, QT5 Linux Lazarus will not build due to outdated libQT5pas.so
that fpcupdeluxe uses.
The same is valid for macOS.

This issue will be solved in next release.
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Brian via lazarus
On 5/30/20 3:22 PM, Brian via lazarus wrote:
> On 5/30/20 2:57 PM, Juha Manninen via lazarus wrote:
>> On Sat, May 30, 2020 at 4:40 PM Brian via lazarus
>>  wrote:
>>> Unless you have some reason to believe that the QT5 version of
>>> fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
>>> tried this idea and still seen the same problem.  Yes, I deleted back
>>> EVERYTHING except for the actual fpcupdeluxe executable - all config
>>> files and the entire target directory - from the GTK2 build. Then I
>>> downloaded the QT5 version of the executable and ran that. Once again,
>>> it built, but I still saw the key mapping etc. problem.
>>
>> Yes I have a reason to believe so.
>> The LCL widgetset used for fpcupdeluxe executable does not affect how
>> Lazarus is built.
>> You can check the current widgetset of Lazarus executable from Help ->
>> About Lazarus.
>>
>> All this hassle proves that fpcupdeluxe should not be used for the
>> simple task of building native (OS, CPU) version of Lazarus trunk.
>> It only complicates things and confuses.
>> Getting sources and building Lazarus is so easy when FPC is already 
>> installed.
>> Things are different when you want FPC trunk. It is not as trivial. (*)
>> Cross-compilation is another good reason to use fpcupdeluxe. I have
>> understood it shines there.
>>
>>
>>> Since I've come this far, though, I guess I'm willing to try building
>>> the lazarus code downloaded via subversion with the QT5 bindings. Is
>>> there a web page, or some other documentation, that leads me though
>>> doing that? I've never previously built the QT5 version except the
>>> attempt to build it via fpcupdeluxe.
>>
>> As John Landmesser showed, Tools -> Configure "Build Lazarus" ...
>>
> 
> OK, my misunderstanding. I thought you were talking about a difference
> in actually building Lazarus from sources. I will give it a try.
> 

Well, I still can't get Lazarus to build from the sources obtained
through subversion. Here's the output, with an initial update to make
sure I was building the latest version.

> brian@brian-mint:~/subversion$ svn update lazarus
> Updating 'lazarus':
> Ulazarus/docs/xml/lcl/stdctrls.xml
> Ulazarus/lcl/include/customcombobox.inc
> Ulazarus/lcl/interfaces/cocoa/cocoawsstdctrls.pas
> Ulazarus/lcl/interfaces/cocoa/cocoadefines.inc
> Ulazarus/lcl/interfaces/cocoa/cocoaint.pas
> Ulazarus/lcl/interfaces/gtk2/gtk2wsstdctrls.pp
> Ulazarus/lcl/interfaces/qt5/qtwsstdctrls.pp
> Ulazarus/lcl/interfaces/win32/win32wsstdctrls.pp
> Ulazarus/lcl/stdctrls.pp
> Ulazarus/lcl/widgetset/wsstdctrls.pp
> Ulazarus/components/datetimectrls/datetimepicker.pas
> Ulazarus/components/ideintf/srceditorintf.pas
> Ulazarus/components/fpweb/fpwebtoolsunit.pas
> Ulazarus/ide/fpdoceditwindow.pas
> Ulazarus/ide/sourceeditor.pp
>  U   lazarus
> Updated to revision 63253.
> brian@brian-mint:~/subversion$ cd lazarus
> brian@brian-mint:~/subversion/lazarus$ make -B
> make -C packager/registration
> make[1]: Entering directory 
> '/home/brian/subversion/lazarus/packager/registration'
> /bin/rm -f ../units/x86_64-linux/fcllaz.ppu
> /bin/mkdir -p ../units/x86_64-linux
> /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. 
> -Fu/usr/lib/fpc/3.0.4/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux 
> -Cg -dx86_64 fcllaz.pas
> Free Pascal Compiler version 3.0.4 [2018/10/29] for x86_64
> Copyright (c) 1993-2017 by Florian Klaempfl and others
> (1002) Target OS: Linux for x86-64
> (3104) Compiling fcllaz.pas
> /home/brian/subversion/lazarus/packager/registration/fcllaz.pas(11,3) Fatal: 
> (10022) Can't find unit db used by fcllaz
> Fatal: (1018) Compilation aborted
> Makefile:2929: recipe for target 'fcllaz.ppu' failed
> make[1]: *** [fcllaz.ppu] Error 1
> make[1]: Leaving directory 
> '/home/brian/subversion/lazarus/packager/registration'
> Makefile:3410: recipe for target 'registration' failed
> make: *** [registration] Error 2
> brian@brian-mint:~/subversion/lazarus$ 


So, I switched to the version which I had successfully built using
fpcupdeluxe, and followed John's instructions. While the gtk2 version
did build correctly, but showed the 'i' and 'm' problems, the qt5
version did not even build. I got an error about an undefined
reference in Qtwidgets.pas to QTextEdit_setPlaceholderText.

If there's anything else you need me to try, let me know. For the
moment, I'm back to using my LMDE VM, which shows none of this 'i' and
'm' nonsense, even with the gtk2 setting.

Brian.
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Brian via lazarus
On 5/30/20 2:57 PM, Juha Manninen via lazarus wrote:
> On Sat, May 30, 2020 at 4:40 PM Brian via lazarus
>  wrote:
>> Unless you have some reason to believe that the QT5 version of
>> fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
>> tried this idea and still seen the same problem.  Yes, I deleted back
>> EVERYTHING except for the actual fpcupdeluxe executable - all config
>> files and the entire target directory - from the GTK2 build. Then I
>> downloaded the QT5 version of the executable and ran that. Once again,
>> it built, but I still saw the key mapping etc. problem.
> 
> Yes I have a reason to believe so.
> The LCL widgetset used for fpcupdeluxe executable does not affect how
> Lazarus is built.
> You can check the current widgetset of Lazarus executable from Help ->
> About Lazarus.
> 
> All this hassle proves that fpcupdeluxe should not be used for the
> simple task of building native (OS, CPU) version of Lazarus trunk.
> It only complicates things and confuses.
> Getting sources and building Lazarus is so easy when FPC is already installed.
> Things are different when you want FPC trunk. It is not as trivial. (*)
> Cross-compilation is another good reason to use fpcupdeluxe. I have
> understood it shines there.
> 
> 
>> Since I've come this far, though, I guess I'm willing to try building
>> the lazarus code downloaded via subversion with the QT5 bindings. Is
>> there a web page, or some other documentation, that leads me though
>> doing that? I've never previously built the QT5 version except the
>> attempt to build it via fpcupdeluxe.
> 
> As John Landmesser showed, Tools -> Configure "Build Lazarus" ...
> 

OK, my misunderstanding. I thought you were talking about a difference
in actually building Lazarus from sources. I will give it a try.

Brian.


-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] SQLdb Tab lost

2020-05-30 Thread Juha Manninen via lazarus
On Sat, May 30, 2020 at 1:17 PM Special via lazarus
 wrote:
> On a Raspberry Pi 4B 4GB, I installed Lazarus Trunc with fpcupdeluxe.
> All seemed well, but then I discovered the SQLdb tab is lost. So I
> cannot compile my SQLite Applications. How to fix?

Install package sqldblaz.

> Version # 2.1.0, FPC Version 3.3.1, SVN Revision: 63249.  (Same problem
> was already on SVN Version 6327).

It does not depend on revision because it is a local configuration issue.

Juha
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Juha Manninen via lazarus
On Sat, May 30, 2020 at 4:40 PM Brian via lazarus
 wrote:
> Unless you have some reason to believe that the QT5 version of
> fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
> tried this idea and still seen the same problem.  Yes, I deleted back
> EVERYTHING except for the actual fpcupdeluxe executable - all config
> files and the entire target directory - from the GTK2 build. Then I
> downloaded the QT5 version of the executable and ran that. Once again,
> it built, but I still saw the key mapping etc. problem.

Yes I have a reason to believe so.
The LCL widgetset used for fpcupdeluxe executable does not affect how
Lazarus is built.
You can check the current widgetset of Lazarus executable from Help ->
About Lazarus.

All this hassle proves that fpcupdeluxe should not be used for the
simple task of building native (OS, CPU) version of Lazarus trunk.
It only complicates things and confuses.
Getting sources and building Lazarus is so easy when FPC is already installed.
Things are different when you want FPC trunk. It is not as trivial. (*)
Cross-compilation is another good reason to use fpcupdeluxe. I have
understood it shines there.


> Since I've come this far, though, I guess I'm willing to try building
> the lazarus code downloaded via subversion with the QT5 bindings. Is
> there a web page, or some other documentation, that leads me though
> doing that? I've never previously built the QT5 version except the
> attempt to build it via fpcupdeluxe.

As John Landmesser showed, Tools -> Configure "Build Lazarus" ...

Juha

(*) I have FPC trunk built and installed automatically from Manjaro
AUR. It was actually trivial. :)
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread John Landmesser via lazarus

Am 30.05.20 um 15:40 schrieb Brian via lazarus:

On 5/29/20 3:32 PM, Juha Manninen via lazarus wrote:

On Fri, May 29, 2020 at 5:40 PM Bart via lazarus
 wrote:

It is a Lazarus/LCL/WS issue though, since other programs don't have that issue.

Yes, let's hope GTK3 bindings will be better. Now it is alpha but
already usable for many applications.
For Brian I recommend using QT5 bindings. It has no problem with keys.

Lazarus trunk from fpcupdeluxe or from SVN directly should behave the
same. I don't know why the build failed.


Unless you have some reason to believe that the QT5 version of
fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
tried this idea and still seen the same problem.  Yes, I deleted back
EVERYTHING except for the actual fpcupdeluxe executable - all config
files and the entire target directory - from the GTK2 build. Then I
downloaded the QT5 version of the executable and ran that. Once again,
it built, but I still saw the key mapping etc. problem.

Since I've come this far, though, I guess I'm willing to try building
the lazarus code downloaded via subversion with the QT5 bindings. Is
there a web page, or some other documentation, that leads me though
doing that? I've never previously built the QT5 version except the
attempt to build it via fpcupdeluxe.

Brian.



That should be enough?!!

Look at tools/compile IDE, LCL Listbox:

Screenshot:

https://i.imgur.com/f0g14bS.png

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Keyboard mapping probelm

2020-05-30 Thread Brian via lazarus
On 5/29/20 3:32 PM, Juha Manninen via lazarus wrote:
> On Fri, May 29, 2020 at 5:40 PM Bart via lazarus
>  wrote:
>> It is a Lazarus/LCL/WS issue though, since other programs don't have that 
>> issue.
> 
> Yes, let's hope GTK3 bindings will be better. Now it is alpha but
> already usable for many applications.
> For Brian I recommend using QT5 bindings. It has no problem with keys.
> 
> Lazarus trunk from fpcupdeluxe or from SVN directly should behave the
> same. I don't know why the build failed.
> 

Unless you have some reason to believe that the QT5 version of
fpcupdeluxe doesn't build lazarus with QT5 bindings, I have already
tried this idea and still seen the same problem.  Yes, I deleted back
EVERYTHING except for the actual fpcupdeluxe executable - all config
files and the entire target directory - from the GTK2 build. Then I
downloaded the QT5 version of the executable and ran that. Once again,
it built, but I still saw the key mapping etc. problem.

Since I've come this far, though, I guess I'm willing to try building
the lazarus code downloaded via subversion with the QT5 bindings. Is
there a web page, or some other documentation, that leads me though
doing that? I've never previously built the QT5 version except the
attempt to build it via fpcupdeluxe.

Brian.
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] SQLdb Tab lost

2020-05-30 Thread Special via lazarus
On a Raspberry Pi 4B 4GB, I installed Lazarus Trunc with fpcupdeluxe. 
All seemed well, but then I discovered the SQLdb tab is lost. So I 
cannot compile my SQLite Applications. How to fix?


Version # 2.1.0, FPC Version 3.3.1, SVN Revision: 63249.  (Same problem 
was already on SVN Version 6327).


Regards --  Joe


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus