Results 1 to 9 of 9

Thread: not the architecture being linked

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    skizzik Guest

    Default Re: not the architecture being linked

    Now I have tested it, but with the same result.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: not the architecture being linked

    Then you obviously have something platform specific in either your code or your .pro file.

    Post your .pro file please.

  3. #3
    skizzik Guest

    Default Re: not the architecture being linked

    QT += network sql
    TEMPLATE = app
    CONFIG += x86
    SOURCES=...
    HEADERS=...
    FORM=...
    LIBS += -L"./map" -L"/opt/local/lib"
    INCLUDEPATH += "./map" "/opt/local/include"
    LIBS += -lmongoclient

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: not the architecture being linked

    libmongoclient.a, is that a library you made?
    Is it runable on your mac?

  5. #5
    skizzik Guest

    Default Re: not the architecture being linked

    it comes from a open source db, mongodb, which should run on mac

  6. #6
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: not the architecture being linked

    Did you compile it yourself? On the mac?
    Or did you copy if from somewhere else?

  7. #7
    skizzik Guest

    Default Re: not the architecture being linked

    I think I got mongodb to work, but still have problems with a few others: libboost_thread-mt.dylib
    and some more files from macport. Macport were installed when I came to this computer. The files have x86_64 arch and I don't know how to get them to i386.

Similar Threads

  1. How can we use dynamically linked lib in QT?
    By learning_qt in forum Qt Programming
    Replies: 3
    Last Post: 16th December 2008, 13:04
  2. Deploy app under many Mac OS and architecture
    By mourad in forum Installation and Deployment
    Replies: 2
    Last Post: 8th April 2008, 10:31
  3. Plugin Architecture
    By jtaylor108 in forum Newbie
    Replies: 2
    Last Post: 8th April 2008, 06:32
  4. Linked List
    By merry in forum Qt Programming
    Replies: 10
    Last Post: 14th March 2007, 07:07
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

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
  •  
Qt is a trademark of The Qt Company.