Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Qt

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> General Programming
General Programming  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Mon Jun 12, 2017 3:53 pm    Post subject: Qt Reply with quote

so - Qt 5.4 application bundled for OSX crashes when launched

"It's not a crash, it's a deliberate abort. qt_message_fatal() indicates that
there's an error message printed on stderr that should give you details."
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 2673
Location: Europe

PostPosted: Wed Sep 20, 2017 12:44 pm    Post subject: Reply with quote

so - Qt generate info.plist file

Code:
# For the plist version
QMAKE_INFO_PLIST +=  $${TARGET}/data/default.plist
QMAKE_POST_LINK += sed -i -e "s/@VERSION@/$$VERSION/g" "./$${TARGET}.app/Contents/Info.plist";
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 2673
Location: Europe

PostPosted: Thu Sep 21, 2017 12:13 pm    Post subject: Reply with quote

wiki.qt.io - MacOS application without menu bar

"Fortunatelly, qmake provides a configuration option to point to a custom
Info.plist file, which you can pre-modify with the above snippet. Just add
to your .pro file:

QMAKE_INFO_PLIST = /path/to/your/custom/Info.plist

See the docs about QMAKE_INFO_PLIST for some more details."
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> General Programming All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group