Results 1 to 10 of 10

Thread: Newbie Mac OS X problems

  1. #1
    Join Date
    Oct 2009
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Newbie Mac OS X problems

    Hi,
    Me again with the newbie questions.
    I compiled my project, but still can not run it.

    My first problem is that I don't have the QMYSQL driver, and don't know how to find/install it.
    My second concern is this message I'm getting on every start of the app:
    Unable to read symbols for "QtSvg.framework/Versions/4/QtSvg" (file not found).
    Unable to read symbols from "QtSvg" (not yet mapped into memory).
    Unable to read symbols for "QtSql.framework/Versions/4/QtSql" (file not found).
    Unable to read symbols from "QtSql" (not yet mapped into memory).
    Unable to read symbols for "QtXml.framework/Versions/4/QtXml" (file not found).
    Unable to read symbols from "QtXml" (not yet mapped into memory).
    Unable to read symbols for "QtGui.framework/Versions/4/QtGui" (file not found).
    Unable to read symbols from "QtGui" (not yet mapped into memory).
    Unable to read symbols for "QtCore.framework/Versions/4/QtCore" (file not found).
    Unable to read symbols from "QtCore" (not yet mapped into memory).

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Newbie Mac OS X problems

    Ad 1. What did you already try? Did you follow the manual and/or our wiki?

    Ad 2. You're probably missing debug version of the libraries. That's nothing wrong unless you want to debug Qt code with a debugger.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2009
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Newbie Mac OS X problems

    I managed to compile qmysql plugin, but I don't know where should I put it?
    I fail to find Qt's plugin directory.

    I *believe* that would solve my problem?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Newbie Mac OS X problems

    Where did you look for it?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Oct 2009
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Newbie Mac OS X problems

    /usr and subfolders, /Library and subfolders, /Developer and subfolders...
    Nothing that looks like the right place to put mysql plugin in...

  6. #6
    Join Date
    Oct 2009
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Newbie Mac OS X problems

    Quote Originally Posted by wysota View Post
    Where did you look for it?
    I found where the other SQL drivers are... I put the mysql driver there, but still no luck
    Should I do something to make it load it?

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Newbie Mac OS X problems

    No, if you placed your driver in plugins/sqldrivers, this should be enough (just remember to instantiate a Q(Core)Application object as this is the place where plugins are loaded).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  8. #8
    Join Date
    Oct 2009
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Newbie Mac OS X problems

    Quote Originally Posted by wysota View Post
    No, if you placed your driver in plugins/sqldrivers, this should be enough (just remember to instantiate a Q(Core)Application object as this is the place where plugins are loaded).
    I thought it should be enough, too... but, it doesn't work
    The QApplication object is initialized, that's for sure. The application works, on Linux, at least. I just can't get it to load the MySql driver on OSX.

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Newbie Mac OS X problems

    Do you have MySql client libraries installed? Run ldd on the driver and see if it can see all its dependencies.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  10. #10
    Join Date
    Oct 2009
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Newbie Mac OS X problems

    Yes, I have MySql libs installed.
    I recompiled the driver, and it worked. It could be the location of the MySql libs, or maybe that I updated to 10.6.1 (along with XCode), or something completely different... The important thing is that it worked

    Thanks for keeping me on the right track

Similar Threads

  1. Problems with scope and C header functions
    By waldowoc in forum Newbie
    Replies: 5
    Last Post: 5th August 2008, 11:29
  2. flicker and wierd resize problems ...
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2008, 18:00
  3. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 15:39
  4. Newbie - experiences with Qt
    By masoroso in forum General Discussion
    Replies: 1
    Last Post: 3rd May 2006, 14:44

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.