Skip to content

Instantly share code, notes, and snippets.

@ryandesign
Created January 27, 2012 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryandesign/1686499 to your computer and use it in GitHub Desktop.
Save ryandesign/1686499 to your computer and use it in GitHub Desktop.
Fix QupZilla's application bundling
diff --git a/src/app/mainapplication.cpp b/src/app/mainapplication.cpp
index 692d5d8..2961e6f 100644
--- a/src/app/mainapplication.cpp
+++ b/src/app/mainapplication.cpp
@@ -101,7 +101,7 @@ MainApplication::MainApplication(const QList<CommandLineOptions::ActionPair> &cm
#endif
#ifdef Q_WS_MAC
- DATADIR.append("Resources/");
+ DATADIR.append("../Resources/");
#endif
#ifdef PORTABLE_BUILD
diff --git a/src/src.pro b/src/src.pro
index 223666b..f154572 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -396,7 +396,7 @@ mac {
bundle_target.files += ../bin/locale
bundle_target.files += ../bin/themes
- bundle_target.path = Resources
+ bundle_target.path = Contents/Resources
QMAKE_BUNDLE_DATA += bundle_target
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment