[Qt-interest] Qt newbie needs some help with Xcode

Andre Haupt andre at bitwigglers.org
Fri May 29 08:08:27 CEST 2009


On Fri, May 29, 2009 at 02:00:12PM +0200, Norman Rosner wrote:
> Hi folks,
> 
> I'm stuck in a problem and I can't find a solution to it. I'm using  
> the current version of Qt with Xcode. Here is what I did:
> In my Project Folder there's a main.cpp and i have set up a  
> MainWindow.ui file.
> 
> I set up a project using qmake -project in a folder.
> Then I ran qmake -spec mac-xcode
> 
> Now when I start up the created Xcode project I created a new Class  
> that inherits from Ui::MainWindow and QMainWindow in MainWindow.h and  
> MainWindow.cpp.
> 
> So now, when I run Build and Go I get errors like this one:
> 
> "MainWindow::~MainWindow()", referenced from:

Do you have something like this in your .pro file?

HEADERS += MainWindow.h


regards,

Andre



More information about the Qt-interest-old mailing list