Recent

Author Topic: Any help to install QT in mac and works with it  (Read 10384 times)

cpalx

  • Hero Member
  • *****
  • Posts: 754
Any help to install QT in mac and works with it
« on: June 11, 2011, 03:00:52 am »
Hello

well,Lazarus have several bugs in Mac, and the  time to solve it is slow, i understant it. so i will like to test using QT in mac. But i failed. Can some body help me in thiis wat?

Thans

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Any help to install QT in mac and works with it
« Reply #1 on: June 11, 2011, 04:23:09 am »
What have you tried so far and what's the failure you get?

cpalx

  • Hero Member
  • *****
  • Posts: 754
Re: Any help to install QT in mac and works with it
« Reply #2 on: June 11, 2011, 05:55:38 am »
First of all, i use linux a lot and mac (snow leopard) is new for me. I download the last QT from http://qt.nokia.com/downloads/  (MAC OSX), i installed it. Even i can run QTdeveloper, then i wanted to recompile Lazarus with QT target, i had an error QTpas, well i downloaded from http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html and with some hacks i could compile.

Even when i did that i cannot compile lazarus with QT target and same my aplications cannot comple in QT target.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Any help to install QT in mac and works with it
« Reply #3 on: June 11, 2011, 06:38:29 am »
Do you download Qt in binary / source form? Watch out about sse2 problem if you download the binary form, that Qt for FPC page already mentioned it.
Quote
Even when i did that i cannot compile lazarus with QT target and same my aplications cannot comple in QT target.
What errors do you get?

cpalx

  • Hero Member
  • *****
  • Posts: 754
Re: Any help to install QT in mac and works with it
« Reply #4 on: June 11, 2011, 04:03:13 pm »
i used QT binary packages
and libQt4Pas i compiled and installed, but lazarus doesnt find it

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Any help to install QT in mac and works with it
« Reply #5 on: June 11, 2011, 04:40:43 pm »
Quote
but lazarus doesnt find it
Almost exactly what I was guessing, it's FPC who actually can't find it. What's the error message? "Can't find unit xxx" or "undefined symbol xxx" or "library xxx not found" or something else?

zeljko

  • Hero Member
  • *****
  • Posts: 1883
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Any help to install QT in mac and works with it
« Reply #6 on: June 11, 2011, 06:10:06 pm »
i used QT binary packages
and libQt4Pas i compiled and installed, but lazarus doesnt find it

Have you passed options to linker (it's "a must" with qt under mac),and if yes what exact options did you pass ?

cpalx

  • Hero Member
  • *****
  • Posts: 754
Re: Any help to install QT in mac and works with it
« Reply #7 on: June 11, 2011, 06:17:31 pm »
i didnt pass any linker. How i do it?

zeljko

  • Hero Member
  • *****
  • Posts: 1883
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Any help to install QT in mac and works with it
« Reply #8 on: June 11, 2011, 08:49:27 pm »
So you didn't read documentation for Qt for Mac. I'm @home atm, but tomorrow I'll paste here linker options which I use on Mac.

cpalx

  • Hero Member
  • *****
  • Posts: 754
Re: Any help to install QT in mac and works with it
« Reply #9 on: June 12, 2011, 05:17:57 pm »
Thanks @zeljko i willl wait.

DenJean

  • New Member
  • *
  • Posts: 18
Re: Any help to install QT in mac and works with it
« Reply #10 on: July 06, 2011, 08:46:01 pm »
Does it work now ?

regards,

Den Jean

 

TinyPortal © 2005-2018