[Lazarus] Qt5 build of program, modal dialogs go to background
I made Qt5 build of CudaText, pls test and see is my bug present? I test on Ubuntu w/o Qt5: user@PC:~$ qmake --version qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory user@PC:~$ qmake-qt5 --version Command 'qmake-qt5' not found, did you mean: command 'qmake-qt4' from deb qt4-qmake (4:4.8.7+dfsg-7ubuntu1) steps. - get beta of Qt5 build https://sourceforge.net/projects/cudatext/files/beta_version/ - configure Python engine in it: https://wiki.freepascal.org/CudaText#Python_on_Linux.2C_BSD.2C_Solaris - open Plugins / Options Editor dialog, and drag this dialog by it caption. Here dialog always jumps to BACK of main cudatext dialog during dragging (and it jumps by pixels too). About dialog don't jump. -- Regards, Alexey -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer
On 10/25/19 10:16 AM, Dmitry Boyarintsev via lazarus wrote: On Fri, Oct 25, 2019 at 11:12 AM Dan Star via lazarus mailto:lazarus@lists.lazarus-ide.org>> wrote: /Compiler "/Users/Dan/Development/FreePascal/fpc/bin/x86-64-darwin/fpc.sh" does not support target x86-64-macos./ "macos" platform target refers to Classic MacOS (MacOS 9), rather than MacOSX (or the modern name macOS) You might need to adjust platform target as well to "darwin" Same error now: Build IDE: Exit code 2, Errors: 3 Error: ld: framework not found Cocoa make[2]: *** [lazarus] Error 1 make[1]: *** [idepkg] Error 2 Error: make: *** [idepkg] Error 2 Linking ../lazarus An error occurred while linking Error: Error while linking so something with config. Will look up details on how to build from command line and try that. Thanks. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer
On Fri, Oct 25, 2019 at 11:12 AM Dan Star via lazarus < lazarus@lists.lazarus-ide.org> wrote: > /Compiler > "/Users/Dan/Development/FreePascal/fpc/bin/x86-64-darwin/fpc.sh" does > not support target x86-64-macos./ > "macos" platform target refers to Classic MacOS (MacOS 9), rather than MacOSX (or the modern name macOS) You might need to adjust platform target as well to "darwin" thanks, Dmitry -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer
On 10/25/19 10:06 AM, Martin Frb via lazarus wrote: On 25/10/2019 16:54, Dan Star via lazarus wrote: If I remove those 2 packages and try to build vanilla Laz MacOS 64 I get the same errors so looks like a configuration problem caused by having had Laz 32 installed previously. Maybe go to "configure build lazarus" and choose target cpu (and target OS) I tried that initially using MacOS and x86-64 but Laz wouldn't build if I spec'd that stating /Compiler "/Users/Dan/Development/FreePascal/fpc/bin/x86-64-darwin/fpc.sh" does not support target x86-64-macos./ -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer
On Fri, Oct 25, 2019 at 10:54 AM Dan Star via lazarus < lazarus@lists.lazarus-ide.org> wrote: > The 'Build Lazarus" Information window appears OK for Cocoa but just > guessing; there is no way to copy this information to the clipboard nor > can I find a config file with it. > Try to build IDE from command-line, instead -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer
On 25/10/2019 16:54, Dan Star via lazarus wrote: If I remove those 2 packages and try to build vanilla Laz MacOS 64 I get the same errors so looks like a configuration problem caused by having had Laz 32 installed previously. Maybe go to "configure build lazarus" and choose target cpu (and target OS) -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] OSX 64 bit Cocoa + Catalina Installer
On 10/25/19 8:34 AM, Martin Frb via lazarus wrote: On 25/10/2019 15:25, Dan Star via lazarus wrote: On my other Catalina Mac I cannot install LLDB FPDebug. I get the following error when I rebuild the IDE with fpdebug and laz...fplldb packages: Build IDE: Exit code 2, Errors: 3 Error: ld: framework not found Cocoa make[2]: *** [lazarus] Error 1 make[1]: *** [idepkg] Error 2 Error: make: *** [idepkg] Error 2 An error occurred while linking Error: Error while linking code 11.1 is installed so I assume the Cocoa Framework (only needed for Programming or for Macos too?) is installed too. Please advise. I should add that this Mac OS system had a previous 32 bit version of Laz on it that I removed. The Mac OS system Laz 64 runs fine on never had Laz 32 installed. So was a legacy config left behind from Laz 32 that is mucking things up? Unfortunately I don't have to much experience in the Mac related build process. So someone else will need to answer this. I can't think how the fpdebug/lazdebugfp package causes this. Can you rebuild the IDE, if you install other packages? Also do you build from within the IDE, or call make? You may be accidentally building for 32bit. And cocoa does not exist for 32bit. The 'Build Lazarus" Information window appears OK for Cocoa but just guessing; there is no way to copy this information to the clipboard nor can I find a config file with it. I looked in ~/tmp and see no build log for today after trying to build again. Where is the build log file located? I am building from withing Laz 2.1 MacOS. If I remove those 2 packages and try to build vanilla Laz MacOS 64 I get the same errors so looks like a configuration problem caused by having had Laz 32 installed previously. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] OSX 64 bit Cocoa + Catalina Installer
On my other Catalina Mac I cannot install LLDB FPDebug. I get the following error when I rebuild the IDE with fpdebug and laz...fplldb packages: Build IDE: Exit code 2, Errors: 3 Error: ld: framework not found Cocoa make[2]: *** [lazarus] Error 1 make[1]: *** [idepkg] Error 2 Error: make: *** [idepkg] Error 2 An error occurred while linking Error: Error while linking code 11.1 is installed so I assume the Cocoa Framework (only needed for Programming or for Macos too?) is installed too. Please advise. I should add that this Mac OS system had a previous 32 bit version of Laz on it that I removed. The Mac OS system Laz 64 runs fine on never had Laz 32 installed. So was a legacy config left behind from Laz 32 that is mucking things up? -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] debug "textfile" [[was: Re: Feedback about GDB on Windows]]
El 25/10/19 a les 3:24, Martin Frb via lazarus ha escrit: On 21/10/2019 12:18, Luca Olivetti via lazarus wrote: Testing with Stabs (fpc -g or -gs / the default for 32 bit) is pointless. It's the only format that shows the content of a record, e.g. var f:textfile stabs (-g) -> f = record TEXt { HANDLE = 450900519, MODE = 55217 , .. dwarf with sets (-gw -godwarfsets) -> f = record TEXT {} dwarf2 (-gw2) -> f = record TEXT {} Interesting. I have a feeling that is intention (by the compiler). But you may want to discuss this on the fpc list. I just wanted to know why you said using stabs is pointless. A while ago I tried dwarf but then I switched back to stabs. I don't think I did it only because of the records but my memory is failing me :-( Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus