Results 1 to 3 of 3

Thread: project settings on MAC

  1. #1

    Exclamation project settings on MAC

    I am doing c++ programming with qt library (not qt creator) on MAC.
    My project works totally fine on other machines, but doesn't work on my current one.
    My current OS is 10.6.8 and Xcode is 3.2.6.
    Qt library I installed is 4.8.
    I installed them at the default directory.
    when I try to build my project, I choose "Debug | i386 " .
    I got 3404 errors, which are similar to following ones.
    I think it's due to the settings of my project, but don't know how I should solve it.
    Does any one know how to fix those problems?
    Thanks a lot!!

    ld: warning: in /Library/Frameworks/QtXmlPatterns.framework/QtXmlPatterns, file was built for unsupported file format which is not the architecture being linked (i386)

    ld: warning: in /Library/Frameworks/QtNetwork.framework/QtNetwork, file was built for unsupported file format which is not the architecture being linked (i386)

    "QObject::qt_metacall(QMetaObject::Call, int, void**)", referenced from:
    NWLangItem::qt_metacall(QMetaObject::Call, int, void**)in moc_NWLangItem.o
    NWQtRegAccess::qt_metacall(QMetaObject::Call, int, void**)in moc_NWQtRegAccess.o

    "QAbstractItemModel::mimeData(QList<QModelInde x> const&) const", referenced from:
    vtable for MLConnectionLogTableModelin moc_MLConnectionLogTableModel.o
    vtable for DebugViewDataModelin moc_MLDebugViewDataModel.o
    vtable for MLAddressBookDataModelin moc_MLAddressBookDataModel.o

  2. #2
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: project settings on MAC

    Qt on mac is 64bit only. I'm guessing you're building 32bit app and linking against 64bit qt libraries.

  3. #3

    Default Re: project settings on MAC

    Then, how can I get 32bit app with Qt on MAC?
    Thanks.

Similar Threads

  1. Settings in windows
    By kurrachow in forum Newbie
    Replies: 8
    Last Post: 18th March 2011, 00:28
  2. Replies: 1
    Last Post: 3rd December 2009, 23:34
  3. .pro settings for obj subdir
    By bajarangi in forum Newbie
    Replies: 2
    Last Post: 17th April 2009, 14:31
  4. [Eclipse/Integration] Project Settings dialog problems
    By BrainB0ne in forum Installation and Deployment
    Replies: 0
    Last Post: 23rd January 2008, 15:52
  5. Where are these settings stored?
    By adorp in forum Qt Programming
    Replies: 6
    Last Post: 24th July 2007, 22:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.