Author Topic: Lazarus Release Candidate 1 of 5.0  (Read 14496 times)

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 226
    • http://www.lazarus.freepascal.org
Lazarus Release Candidate 1 of 5.0
« on: October 16, 2026, 11:18:23 am »
The Lazarus team is glad to announce the first release candidate of Lazarus 5.0.

https://lazarus-ide.org/

Download:
https://download.lazarus-ide.org/

Choose your CPU, OS, distro and then the "Lazarus 5.0RC1" directory.

This release candidate was built with FPC 3.2.2, except for macOS and Linux arm64, which were built with FPC 3.2.4RC2.

Here is the list of changes for Lazarus and Free Pascal:
https://wiki.lazarus.freepascal.org/Lazarus_5.0_release_notes
https://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Here is the list of fixes for Lazarus 5.x:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_5/

Checksums for the files:
https://www.lazarus-ide.org/index.php?page=checksums#5_0RC1

Minimum requirements:

Windows:
  2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only)

FreeBSD/Linux:
  gtk2 2.24 for gtk2, gtk3 3.24 for gtk3, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit.

Mac OS X:
  Cocoa (64bit) 10.15, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only).

The gitlab page:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_5_0_RC1

Download mirrors:
https://sourceforge.net/projects/lazarus/files/
ftp://ftp.freepascal.org/pub/lazarus/releases/

Why should everybody (including you) test the release candidate?

In the past weeks the Lazarus team has stabilized the 5.0 fixes branch.
The resulting 5.0RC1 is now stable enough to be used by any one for test purposes.

While we have tested those ourselves, there may still be problems that only occur with very specific configurations or one project in a million.

Yes, it may be that you are the only person with a project, that will not work in the new IDE. So if you do not test, we can not fix it.

Please do not wait for the final release, in order to test. It may be too late. Once the release is out we will have to be more selective about which fixes can be merged for further 5.x releases. So it may be, that we can not merge the fix you require. And then you will miss out on all the new features.

How to test

Download and install the 5.0 RC1.
- On Windows you can install as a 2ndary install, that will not affect your current install:

http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
- On other platforms, if you install to a new location you need to use --primary-config-path

In either case you should make backups. (including your primary config)

Open your project in your current Lazarus, and use "Publish Project" from the project menu. This creates a clean copy of your project.

You can then open that copy in the 5.0RC1. Please test:
- If you can edit forms in the designer
   - rename components / change properties in Object inspector / Add new events
   - Add components to form / Move components on form
   - Frames, if you use them
- If you can navigate the source code (e.g. jump to implementation)
- Auto completion in source code
- Compile, debug and run
- Anything else you use in your daily work

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 5.0
« Reply #1 on: October 16, 2026, 11:24:26 am »
For Windows:

Step by step instruction to install for testing: https://wiki.lazarus.freepascal.org/Install_Secondary_Windows#IDE_Settings




OPM Download error (SSL):

If you get an error in OPM (before even getting the list of packages, failure to download the list)

Download the ssl libraries and put them into your Lazarus folder

32bit: https://gitlab.com/freepascal.org/lazarus/binaries/-/tree/main/i386-win32/openssl?ref_type=heads
64bit: https://gitlab.com/freepascal.org/lazarus/binaries/-/tree/main/x86_64-win64/openssl?ref_type=heads




FPC 3.2.4RC2

For anyone interested. Snapshots for Windows with the FPC 3.2.4 RC2 are available at:

64bit: https://sourceforge.net/projects/lazarus-snapshots/files/Window%2064/2026-10-08%20Lazarus-5.0RC1%20with%20FPC-3.2.4RC2
32bit: https://sourceforge.net/projects/lazarus-snapshots/files/Window%2032/2026-10-08%20Lazarus-5.0RC1%20with%20FPC-3.2.4RC2
« Last Edit: October 18, 2026, 10:48:04 am by Martin_fr »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 5.0
« Reply #2 on: October 16, 2026, 11:31:37 am »
For Windows there are new "add ons". A debug build for the RTL (the entire FPC build with debug info).

To use that it needs to be installed after the main installer. It should be installed into the same directory.
- It will create a sub directory fpc-dbg
- To use the debug RTL/FPC you need to change the compiler (global, or in project options)
- This means all packages (LCL, LazUtils, ....) need to be rebuild each time you make that change.

Unfortunately the IDE does not pick up when you make that change the very first time => you must open the package "FCL" and rebuild it with the changed compiler (this will follow the compiler settings of the project options, if you changed it there).

After that you can change it forth and back, and the IDE detects it.

----------------------------
You may want to check out "Excluded routines" in the debugger options, if you want to avoid stepping into functions like fpc_object_check

T

  • Newbie
  • Posts: 3
Re: Lazarus Release Candidate 1 of 5.0
« Reply #3 on: October 16, 2026, 12:13:27 pm »
Are there any plans to include version FPC 3.2.4RC* in the final release of Lazarus IDE 5.0? Or do we need a stable FPC release first?

Thank you very much for the new IDE RC1 release! I will test it out.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 5.0
« Reply #4 on: October 16, 2026, 01:25:04 pm »
The release will be build with the stable FPC at that time.

As we do plan a few RC ourself, it is not yet clear which FPC will be the stable release at the time of the actual Lazarus 5.0 Release.

If FPC releases after that, then it is likely that Lazarus 5.2 or 5.4 will pick up the new FPC release.

minesadorada

  • Sr. Member
  • ****
  • Posts: 464
  • Retired
Re: Lazarus Release Candidate 1 of 5.0
« Reply #5 on: October 16, 2026, 03:13:07 pm »
Can you make the Lazarus 5.0RC1 Linux 32bit DEB file available for download on https://download.lazarus-ide.org/ please?
GPL Apps: Health Monitor,  Retro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

chinaliu

  • New member
  • *
  • Posts: 8
Re: Lazarus Release Candidate 1 of 5.0
« Reply #6 on: October 16, 2026, 04:21:08 pm »
thanks

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 226
    • http://www.lazarus.freepascal.org
Re: Lazarus Release Candidate 1 of 5.0
« Reply #7 on: October 16, 2026, 05:22:06 pm »
Can you make the Lazarus 5.0RC1 Linux 32bit DEB file available for download on https://download.lazarus-ide.org/ please?

What distro are you using?

minesadorada

  • Sr. Member
  • ****
  • Posts: 464
  • Retired
Re: Lazarus Release Candidate 1 of 5.0
« Reply #8 on: October 16, 2026, 05:44:21 pm »
Old 32-bit version of Linux Mint (Cinnamon I think) it uses gtk2.  I installed Laz V4.8 just fine from the DEB.
Note: I am a total newbie at Linux - I dual boot it for Lazarus multiplatform testing and as a backup OS for when (not if) my Windows 10 goes t*ts up.
I have installed the Windows Laz V5RC1 which (thank goodness) doesn't break any of my software.
GPL Apps: Health Monitor,  Retro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4760
  • I like bugs.
Re: Lazarus Release Candidate 1 of 5.0
« Reply #9 on: October 16, 2026, 06:08:57 pm »
@minesadorada, I recommend you "git clone" the Lazarus sources and build with the installed FPC.

$ git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git
$ cd lazarus
$ git checkout fixes_5
$ make
$ ./lazarus --pcp=~/.lazarus5 &

or something similar.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Gigatron

  • Sr. Member
  • ****
  • Posts: 434
  • Amiga Rulez !!
    • Gigatron Shader Network Demo
Re: Lazarus Release Candidate 1 of 5.0
« Reply #10 on: October 16, 2026, 07:08:23 pm »
Good news , thank you !!!
Coding faster than Light ! Finishing 5 Java Projects , will come back soon ;
https://www.youtube.com/@gtrgtr9505

minesadorada

  • Sr. Member
  • ****
  • Posts: 464
  • Retired
Re: Lazarus Release Candidate 1 of 5.0
« Reply #11 on: October 16, 2026, 07:48:20 pm »
@minesadorada, I recommend you "git clone" the Lazarus sources and build with the installed FPC.

$ git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git
$ cd lazarus
$ git checkout fixes_5
$ make
$ ./lazarus --pcp=~/.lazarus5 &

or something similar.


Thanks Juha.  I'll give it a go - I assume git is pre-installed?

Meanwhile why not make the DEB available on the official website?  All I had to do in 4.8 was click on the link.

Meanwhile, the Windows installer worked really well.  Perhaps the dev team assumes Linux users are more savvy?  For sure, I am not.
Cross-compiling is a pain.  I can't seem to find fpupdeluxe for my ancient distro.  A simple DEB would be really handy.
Is there a FOSS DEB-maker somewhere?
Booted into Linux now.  Here is the About screen:

Linux Mint 18.3
 "Sylvia"Xfce 32-bit
« Last Edit: October 16, 2026, 09:03:56 pm by minesadorada »
GPL Apps: Health Monitor,  Retro Ski Run
OnlinePackageManager Components: LazAutoUpdate, LongTimer, PoweredBy, ScrollText, PlaySound, CryptINI

Aquineas

  • Newbie
  • Posts: 5
Re: Lazarus Release Candidate 1 of 5.0
« Reply #12 on: October 16, 2026, 09:03:47 pm »
I've just installed the 5.0RC1 (64bit version) on Windows 11. I observed that when attempting to grab online packages, I'm encountering an openSSL error. I'm wondering what version of openssl I'm missing.

TIA
« Last Edit: October 16, 2026, 09:20:07 pm by Aquineas »

cgspas

  • Newbie
  • Posts: 2
Re: Lazarus Release Candidate 1 of 5.0
« Reply #13 on: October 16, 2026, 09:20:45 pm »
@minesadorada, I recommend you "git clone" the Lazarus sources and build with the installed FPC.

$ git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git
$ cd lazarus
$ git checkout fixes_5
$ make
$ ./lazarus --pcp=~/.lazarus5 &

or something similar.


Thanks too Juha, this is the method I currently use.

So, it fails at the build stage in `lazbuild` (see image).

Any suggestions? (Also tagging @mattias)


Arch Linux
Kernel Version: 6.18.57-1-lts (64-bit)
FPC 3.2.4 x86_64-linux-gtk2

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 5.0
« Reply #14 on: October 16, 2026, 09:48:45 pm »
I've just installed the 5.0RC1 (64bit version) on Windows 11. I observed that when attempting to grab online packages, I'm encountering an openSSL error. I'm wondering what version of openssl I'm missing.

In the OPM windows click the "Options" button. Then in the options window switch to the "OpenNsl" tab. Does it say "auto download" or "ask before"?

Is there any more error detail?

It sounds like it loaded the package list?
Have you tried different packages? (from different domains, each package has a url: github, bitbucket, ...)

Are you sure Windows defender is not blocking the downloaded ssl dll?

 

TinyPortal © 2005-2018