
- #NOT ABLE TP START SQUIRELL SQL ON MAC OSX HOW TO#
- #NOT ABLE TP START SQUIRELL SQL ON MAC OSX MAC OS X#
- #NOT ABLE TP START SQUIRELL SQL ON MAC OSX CODE#
(compatibility version 1.0.0, current version 1.0.0) (compatibility version 7.0.0, current version 7.3.0) (compatibility version 1.0.0, current version 22.0.0) System/Library/Frameworks/amework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 1.2.3) (compatibility version 1.0.0, current version 10.0.0) System/Library/Frameworks/amework/Versions/A/QuickTime (compatibility version 2.0.0, current version 128.0.0) System/Library/Frameworks/amework/Versions/A/Carbon Here is what the output looks like for the static Plug & Paint: plugandpaint.app/Contents/MacOS/plugandpaint: You can check what other libraries your application links to using the otool: otool -L plugandpaint.app/Contents/MacOs/plugandpaint One easy way to check that the application really can be run stand-alone is to copy the bundle to a machine that doesn't have Qt or any Qt applications installed, and run the application on that machine. Now, provided that everything compiled and linked without any errors, we should have a plugandpaint.app bundle that is ready for deployment. This doesn't have as large an effect if you are using GCC 4, since Qt will then have function visibility hints built-in, but if you use GCC 3.3, it could make a difference. You can do this by passing LIBS+= -dead_strip to qmake in addition to the -config release parameter.
#NOT ABLE TP START SQUIRELL SQL ON MAC OSX CODE#
If you have Xcode Tools 1.5 or higher installed, you may want to take advantage of "dead code stripping" to reduce the size of your binary even more. Now run qmake to create a new makefile for the application, and do a clean build to create the statically linked executable: make clean Once Qt is built statically, the next step is to regenerate the makefile and rebuild the application. You can check the various options that are available by running configure -help. Remember that you will not be able to use plugins and you must build in all the image formats, SQL drivers, etc. Start by installing a static version of the Qt library. If you want to keep things simple by only having a few files to deploy, then you must build everything statically. A future version of this document may include more information for using Xcode in the deployment process. While it is possible to use Xcode for this, Xcode has changed enough between each version that it makes it difficult to document it perfectly for each version. We will only concern ourselves with command-line tools here.
#NOT ABLE TP START SQUIRELL SQL ON MAC OSX HOW TO#
Please refer to the X11 deployment documentation for information about how to deploy these "bundle-less" applications. This will tell qmake not to put the executable inside a bundle. You probably don't want to run it in a bundle: Add this to your application's.
#NOT ABLE TP START SQUIRELL SQL ON MAC OSX MAC OS X#
More information about bundles is available on Apple's Developer Website.Ī Qt command line application on Mac OS X works similar to a command line application on Unix and Windows. This is specific to Mac OS X and beyond the scope of this document. As a programmer you can access bundle information in your own code. One primary advantage is that, since it is a single entity, it allows for drag-and-drop installation.
