简体   繁体   中英

Get Qt running on Mac OS X Mountain Lion

I wanted to set up Qt so I could develop applications with it. It all seemed pretty straight forward - i ran the installer and it installed. I then added the path variable to /etc/profile. the qmake -v command works as described in the netbeans docs, but netbeans does not seem to detect the include files required for Qt.

在此处输入图片说明在此处输入图片说明

Yup I fixed it: If you are getting those errors, add the qmake command to your path variable, reboot your computer and then attempt to run the basic QT project in netbeans. It should prompt for a qmake directory. Point that towards QT's bin folder and the project should run. For the the squiggly lines disappeared after a project cleanup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM