mac os x programming help needed
one of the features we had planned for mysql connector/odbc 5.1 is native setup libraries for the major platforms. we have the microsoft windows version going, and some code to get us going on linux/unix (using gtk instead of qt), but our gui team is too busy to get us started on a native mac os x version.
anyone want to pitch in by showing us how to get a basic dialog window to pop up based on a c library call? i think we will be able to customize it from there, but i am just unfamiliar enough with mac os x gui programming that i have a feeling it would take a long time for me to get that going.
Comments
we already have a cross-platform setup library, using the qt toolkit. there is very little that the setup gui actually needs to do, so there is very little to be gained from using a cross-platform library other than annoying extra dependencies. and calling out to java would be more than a little painful.
Hi there,
What is the timeline on this? I think I could provide you with a sample project doing what you need on this weekend. I would set something up with XCode. I would use Objective-C for the GUI part as it goes naturally with the environment.
Yours, Björn
Have you considered wxWidgets? C++ GUI library with a port for MS Windows, GTK, X11, MacOS, et al. You could conceivably have a single code base. An example would be Berkeley's BOINC project where the front end is available across multiple platforms.
www.wxWidgets.org
Hi there again, I setup a simple project starting a Cocoa-Window from a plain C call. However, I think you would be served better with a Setup-UI written in Cocoa and Objective-C using libodbc5 as a plain-C backend. Starting Cocoa from plain-C is, while possible, not really intended use and could lead to lots of interesting behavior ...
Feel free to contact me via email if you have any questions.
Yours, Björn
Add a comment
Sorry, comments on this post are closed.
Have you considered simply writing a cross-platform UI? Java has very nice native widgets on OS X.