0

I am somewhat new to qt/c++ (coming from a php/sql world) and I am trying to get my qt c++ app to connect to my mysql database on my localhost.

I understand that I need to create a plugin to connect to the mysql driver? Do I need to recompile qt? qt creator? Apologies if the question is a bit confusing, but I am a bit lost.

Thanks in advance.

I am using MAMP for the mysql. Mac is 10.6 (64 bit).

3
  • Couldn't you just use the standalone mysql connector library? Commented Mar 13, 2012 at 1:13
  • Not sure. Can you give me a link? Commented Mar 13, 2012 at 1:15
  • 1
    doc.qt.nokia.com/4.7-snapshot/… Commented Mar 13, 2012 at 6:23

1 Answer 1

1

You could use the following step-by-step instruction: http://zamslivenet.fatcow.com/zamswiki/index.php?title=TechBase:MacOSX:Qt

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you! I have no idea why that was so hard for me to find.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.