s40in  
                
               
                 
                 
              
                  
                    June 7, 2017,  7:39pm
                   
                   
              1 
               
             
            
              I did not wait who will port Lazarus (freepascal IDE) to Haiku and did it myself  
The error was simple. But I was looking for her for about 10 hours.
Lazarus 1.9 trunk Qt5pas(beta) + small patch in Haiku
It work!
Lazarus 1.9 trunk Qt4pas + small patch in Haiku
             
            
               
               
              20 Likes 
            
                
           
          
            
            
              So you can bring EGSL back to HAIKU?
             
            
               
               
               
            
           
          
            
            
              Awesome! Hope the bug in haiku gets submitted to trac and upstreamed, and the lazarus recipe appears in haikuports!
             
            
               
               
               
            
           
          
            
            
              Whoa… great… can you explain how to do that?
             
            
               
               
              1 Like 
            
           
          
            
            
              Wow!  Impressive job!  Congratulations! 
             
            
               
               
               
            
           
          
            
              
                s40in  
                
               
              
                  
                    June 8, 2017,  6:06am
                   
                   
              7 
               
             
            
              The main decision 
You need to add a line to Qt4Pas.pro  before build libQt4Pas (the same for qt5pas.pro )
QMAKE_CXXFLAGS += -mstackrealign -mincoming-stack-boundary=2
Download the compiled library libQt4pas and libQt5pas 
Who can add this (QMAKE_CXXFLAGS…) to HaikuPorts recipe?
             
            
               
               
               
            
           
          
            
            
              big thanks for the file… i’ll try when i have time
             
            
               
               
               
            
           
          
            
            
              You can submit a pull request to haikuports adding it. It would be very welcome to see this working again!
             
            
               
               
               
            
           
          
            
              
                s40in  
                
               
              
                  
                    June 8, 2017,  1:50pm
                   
                   
              10 
               
             
            
            
               
               
              5 Likes 
            
           
          
            
              
                s40in  
                
               
              
                  
                    June 8, 2017,  7:26pm
                   
                   
              11 
               
             
            
            
               
               
              5 Likes 
            
           
          
            
            
              Very very interesting!!! Awesome job. Does the installation requires any tweaks?
I am looking forward to see it in Haikuports.
             
            
               
               
               
            
           
          
            
              
                s40in  
                
               
              
                  
                    June 14, 2017, 11:07am
                   
                   
              13 
               
             
            
              Lazarus 1.8rc5 qt5 in message below  as portable requires only qt5 (5.6.1) from HaikuDepot 
             
            
               
               
               
            
           
          
            
              
                s40in  
                
               
                 
              
                  
                    June 14, 2017,  2:08pm
                   
                   
              14 
               
             
            
              Lazarus Test App with qt5 haiku style (qthaikustyle  in haikuports)
Top window: the native window of the Tracker settings 
Lower window - Form1 : test lazarus program with the same controls with qt5 haiku style
             
            
               
               
              3 Likes 
            
           
          
            
            
              But what happend with the scrollbar in the ListBox? 
             
            
               
               
              1 Like 
            
           
          
            
              
                michel  
                
               
              
                  
                    June 15, 2017,  4:28pm
                   
                   
              16 
               
             
            
              Trying to set up fpc, but fcpmkcfg is missing, so the samplecfg script won’t run. any ideas?
             
            
               
               
               
            
           
          
            
              
                s40in  
                
               
              
                  
                    June 15, 2017,  6:33pm
                   
                   
              17 
               
             
            
              Scrollbar automatically disappeared 
             
            
               
               
              1 Like 
            
           
          
            
              
                s40in  
                
               
              
                  
                    June 15, 2017,  6:38pm
                   
                   
              18 
               
             
            
              
I had this error on old version fpc 3.0.0. New version fpc 3.0.2   is installed perfectly (Haiku x86 GCC 2 Hybrid)
             
            
               
               
              1 Like 
            
           
          
            
              
                s40in  
                
               
              
                  
                    June 22, 2017,  9:00am
                   
                   
              19 
               
             
            
              I recompiled freepascal 3.0.2 for Haiku gcc5 ABI 
Download unofficial build freepascal 3.0.2 haiku (gcc5 ABI)   For test only 
             
            
               
               
              3 Likes 
            
           
          
            
              
                s40in  
                
               
                 
              
                  
                    June 26, 2017,  1:31pm
                   
                   
              20 
               
             
            
              My last neews about lazarus in Haiku 
I created two vector icons for Lazarus 
from original logo  
my first simple vector icon  
 
Added icon to app 
Changed setting folder to ~/config/settings/lazarus 
Complex build (qt4 and qt5). Lazarus work with qt4 interface, but you can build you project with qt4 or qt5 backend. See screenshot below. You can rebuild lazarus with qt5 backend, if need. 
 
Download Lazarus 1.9 qt4/qt5  (builded in Haiku gcc5_hybrid) 
Download libqt4pas and libqt5pas (qt5.9) for Haiku gcc5_hybrid  (builded in Haiku gcc5_hybrid) 
Download Qt5 (5.9.0-3) for Haiku gcc5_hybrid: qt5-5.9.0-3-x86.hpkg  and qt5_devel-5.9.0-3-x86.hpkg 
Select qt backend in Lazarus project 
             
            
               
               
              5 Likes