~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to application.pro

  • Committer: Adam Reichold
  • Date: 2020-01-01 09:02:34 UTC
  • Revision ID: adam.reichold@t-online.de-20200101090234-t7v5ct4zs04jmiud
Make the data subdirectory in the application directory compile-time-configurable as it has a special meaning on Mac OS X and must be ../Resources instead of data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
    RESOURCES += help.qrc translations.qrc
263
263
}
264
264
 
265
 
DEFINES += DATA_INSTALL_PATH=\\\"$${DATA_INSTALL_PATH}\\\"
 
265
DEFINES += DATA_INSTALL_PATH=\\\"$${DATA_INSTALL_PATH}\\\" APP_DIR_DATA_PATH=\\\"$${APP_DIR_DATA_PATH}\\\"
266
266
 
267
267
 
268
268
DESKTOP_FILE = miscellaneous/qpdfview.desktop