I was looking for a way to hide the tick box after it had been ticked. The checkbox was an item in a QListWidgetItem. I found that this did the job. item->setData(Qt::CheckStateRole, QVariant());
Apple wants you to use XCode to create apps for Mac, but you don't have to. Recently I posted about the launch of my new app in the Mac App Store.
I got a lot of interest from folks about what you need to do to get a Qt app - written using portable C++ and not using XCode - into the App Store.
Some commentators have said it can't be done. Well it can, and I've written a post with some guidelines on how to do it.
I did use 4.8 quite a bit and the things in 5.2 are not a big step forward with respect to Mac. In fact the Qt guys had to spend some time getting Mac things that already worked in 4.8 working again in 5.x with its big changes in rendering architecture and project layout.
The main differences I think are that you'll need to specify the paths for where your apps preferences, caches and so on live. For that the easiest way is probably just to call the NSSearchPathsForDirectoriesInDomains() function ( https://developer.apple.com/library/ios/documentation/cocoa/reference/foundation/miscellaneous/foundation_functions/reference/reference.html#//apple_ref/c/func/NSSearchPathForDirectoriesInDomains ).
That will return paths in the sandbox which are good to store the prefs and app data files in. You could define a macro or function to return a QSettings object that uses the fileName form of the constructor: http://qt-project.org/doc/qt-4.8/qsettings.html#QSettings-4
The fixes for macdeployqt will be slightly different - but basically you just need to hack the bundle structure that you wind up with after macdeployqt has done with it so that it matches the Apple spec. That spec is here: https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
The main thing macdeployqt really does for you is the renaming / re-pathing of embedded info in the app so that it uses the frameworks in the bundle instead of what it was compiled against. You can acheive that using otool but its a pain, and even a slightly broken macdeployqt will still save a lot of time.
If you go completely mad and decide to give this a try, I'll help where I can. Good luck! :-)
- Alto's Adventure
- Lara Croft GO
- This War of Mine
Scott Pilgrim vs. The World - Movies on Google Play
Genre-smashing filmmaker Edgar Wright tells the amazing story of one romantic slacker's quest to power up with love. Scott Pilgrim's (Michae
Roasted Butternut Squash and Black Bean Enchiladas and Simple Entertaining
One thing we can't forget about entertaining and inviting people into our homes is that the simpler we make it, the easier it becomes. Somet
Battlefield - The award winning franchise from EA / DICE
Battlefield - The award winning franchise from EA / DICE. United States · Australia · Ceska Republika · Deutschland · España · France · Ital
The new Google Search app for iPad - Official Google Mobile Blog
News, features and tips from the Google Mobile team
Chicken & vegetable curry recipe - Recipes - BBC Good Food
This Indian feast has a healthy vegetable count and is a really simple everyday supper
Dilbert comic strip for 04/17/2012 from the official Dilbert comic strip...
The Official Dilbert Website featuring Scott Adams Dilbert strips, animation, mashups and more starring Dilbert, Dogbert, Wally, The Pointy
How to create and apply a patch with Git - Ariejan.net
About Software Engineering, Ruby on Rails, Java, Git and the Cloud - by Ariejan
Chicken & chorizo jambalaya recipe - Recipes - BBC Good Food
A meaty family one-pot that's superhealthy and low in fat
New VidZone 2.0 – Unleashing The True Power Of Music Video!
Uncharted 3 Release. VidZone Revamp. Sonic Generations. inFAMOUS: Festival. English Select a Language: Deutsch Italiano Français Español. Vi