开发者

Where are Qt libraries and source installed on Mac OS X?

开发者 https://www.devze.com 2023-01-02 09:56 出处:网络
I need to manually build a Qt plugin. No problem on Linux and Windows, but I cannot determine where in the world Qt installed the source on my Mac. The documenta开发者_开发知识库tion indicates that th

I need to manually build a Qt plugin. No problem on Linux and Windows, but I cannot determine where in the world Qt installed the source on my Mac. The documenta开发者_开发知识库tion indicates that the path is /usr/local/Trolltech/Qt-4.6.2, but I'm pretty sure that's out of date. In any case, there's nothing there on my machine.

I searched in Finder for sqlite.pro (the project I need to build) and it came up with zero hits. Is it hidden? Does the Mac SDK not come with the source (even though it is larger than both the Linux and Windows downloads?)

EDIT: Nevermind; this was user error. I forgot that I had downloaded the libraries-only on the Mac. I used the full SDK on the other machines.


None of the pre-build Qt binary packages come with source files. You need to download the source code package and built it yourself.


Start building with:

./configure --prefix=/usr/local

That should do it.

0

精彩评论

暂无评论...
验证码 换一张
取 消