Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flying-sheep/qtjambi-git-pkgbuild
archlinux PKGBUILD for qtjambi – current git master
https://github.com/flying-sheep/qtjambi-git-pkgbuild
Last synced: about 1 month ago
JSON representation
archlinux PKGBUILD for qtjambi – current git master
- Host: GitHub
- URL: https://github.com/flying-sheep/qtjambi-git-pkgbuild
- Owner: flying-sheep
- Created: 2012-08-11T09:49:07.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-04T15:53:43.000Z (over 10 years ago)
- Last Synced: 2023-03-12T00:42:30.478Z (almost 2 years ago)
- Language: Shell
- Homepage: https://aur.archlinux.org/packages.php?ID=52760
- Size: 184 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Qt Jambi PKGBUILD
This Repo contains a [PKGBUILD] of the current git master version of [Qt Jambi] for [Archlinux].Its current aim is to provide Qt Jambi compiled against system Qt.
Code examples contain `$QTVERSION` which can be determined like so: `QTVERSION=$(pkg-config --modversion QtCore)`.
## Paths
currently, it installs its libraries into `lib/jni`, and needs system Qt libraries to run.This means that your IDE/buildscript needs to add the following paths to its `java.library.path`:
* `/usr/lib`
* `/usr/lib/jni`The `jar` resides in `share/java`, so you have to add the following to your classpath:
* `/usr/share/java/qtjambi-$QTVERSION.jar`
## Examples
### Eclipse
Setup your project like so (it’s german, but you should figure it out)![Eclipse user libraries](https://raw.github.com/flying-sheep/qtjambi-git-pkgbuild/master/eclipse-user-lib.png)
### Running the demos
```bash
java -Djava.library.path=/usr/lib:/usr/lib/jni \
-cp /usr/share/java/qtjambi-$QTVERSION.jar:/usr/share/java/qtjambi-examples-$QTVERSION.jar \
com.trolltech.launcher.Launcher
```[Archlinux]: https://www.archlinux.org/
[PKGBUILD]: https://wiki.archlinux.org/index.php/PKGBUILD
[Qt Jambi]: http://qt-jambi.org/