Friday, July 25th 2008, 2:50am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, December 24th 2007, 6:20am

fail to compile a project in XCODE with Qt? template?

Hello,

I compile a helloworld program under Xcode with QT.

I use :
qmake -project
qmake -spec macx-xcode

to generate the project file.

After I open the project in Xcode, compile it, it fails.

Firstly, QT_MODULE undefined.

After I add the __cplusplus macro, ti generates other error:

parse error before '<' token,

in qglobal.h, that line reads "template <int> class QUintForSize...


Who can help?

Thanks!

This post has been edited 1 times, last edit by "searockcliff" (Dec 24th 2007, 6:22am)

  • Go to the top of the page

2

Thursday, May 8th 2008, 9:25am

RE: fail to compile a project in XCODE with Qt? template?

need to see YOUR code and need your xcode version.
  • Go to the top of the page

Rate this thread