File: README.MACOS

package info (click to toggle)
qstardict 1.3-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,784 kB
  • sloc: cpp: 9,590; makefile: 10; sh: 10
file content (38 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
QStarDict for macOS is set to be built as a "bundle" application.

Distributed packages should contain all required stuff to run out-of-the-box.

All following notes are important for developers.


BUILDING REQUIREMENTS:
 * Qt4 libraries/frameworks (tested with macport's qt4-mac+universal)
 * glib2 devel environment (I'm using macports for it too)
 * all other libraries are propably part of mac's OS


CONFIRURE PHASE:
qmake
  it will build qstardict and install it into /opt (sudo make install will be required)
  or:
qmake INSTALL_PREFIX=/absolute/path/to/selected/dir
  it will build qstardict and install it into this location.
  The path *must* be absolute. Relative path will cause install problems.

example:
qmake INSTALL_PREFIX=/Users/pvanek/oss/qstardict/release


MAKE PHASE:
just run: make

INSTALL PHASE:
make install

DEPLOY PHASE:
macdeployqt path/to/QStarDict.app/
or:
macdeployqt path/to/QStarDict.app/ -dmg
for dmg build (but I'm using another tool for it)