Thank you for sharing Michael, Yes its retina display I'm still using qt in linux so use this in osx good idea I think. If I'm not wrong, if I use qt widgetset in osx, and builded application need qt library, so if I copy this application to another osx, have to install qt binary library first, like a in windows.
Michael, if its possible, can you share fp script too ? little bit different then lazarus, isn't it?
Mattias wrote,
After that it is the same as under Linux.
This mean I can use my linux script in osx, maybe need small changing. I'll share my scripts but more questions :) I'll try use ramdrive, make command kill ssd live, and ram drive so much faster then ssd (think hdd :) 5400rpm) I know ramdrive how work, and can loose data need backup etc. just for test what is speed, This test in kubuntu 14.04 i7 2600k, 8gb ram, ssd raid0
make ram drive, 2gb is enough
I attached my test bash script
this is result:
sent 901,034,905 bytes received 507,271 bytes 257,583,478.86 bytes/sec total size is 899,101,903 speedup is 1.00
Ba?lang?? zaman? : 2014-12-07 11:46:31
Biti? zaman? : 2014-12-07 11:46:34
S?re : 00 Dakika _*03*_ saniye -> saniye mean second
Don't forget fp folder is my active folder, I mean all (*.o, *.ppu) compiled files included in copy files. This is just for "can be?" test, not real test.
Michael Ring wrote 39 lines
When your new Mac has a Retina Display then I'd recommend building the
qt version, the fonts look much much better than in the Carbon Version
(at least for me)
qt has one drawback, the keys [ ] { } do not work on my german
keyboard...
In theory Cocoa should also give you nice fonts but I did not manage
to build a version that works (I just retried with current svn, on
start I get list index (-1) out of bounds error)
To build for qt you will need to first install qt4 libraries, the
installer from the qt page only comes with x64_64 libs, this is the
reason why I will build lazarus with CPU_TARGET=x86_64 later.
After installing the libs you need to compile the qt4 binding:
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html (V2.5)
instructions to do so are in the README.TXT. Install the built binaries.
I am using the following commands to then build lazarus (There might
be better solutions, but this works fine for me)
make clean all CPU_TARGET=x86_64 LCL_PLATFORM=qt OPT="-k'-framework'
-k'ApplicationServices'"
#make clean all CPU_TARGET=i386 LCL_PLATFORM=customdrawn
OPT="-k'-framework' -k'ApplicationServices'"
sudo rm -rf /usr/local/share/lazarus
sudo make install CPU_TARGET=x86_64 LCL_PLATFORM=qt
#sudo make install CPU_TARGET=i386 LCL_PLATFORM=cocoa
sudo chown -R ring:staff /usr/local/share/lazarus
# now recompile using lazbuild to have the
lazbuild --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64
#lazbuild --build-ide= --ws=cocoa --cpu=i386
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141207/ba6e5ac0/attachment.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: test.sh
Type: application/x-shellscript
Size: 399 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141207/ba6e5ac0/attachment.bin>