| View Revisions: Issue #3496 |
[ Back to Issue ] |
| Summary |
0003496: Document instructions to build Doomseeker on OpenBSD |
|
| Revision |
2018-09-18 21:00 by WubTheCaptain |
|
| Additional Information |
|
|
| Revision |
2018-09-18 21:07 by WubTheCaptain |
|
| Additional Information |
Quote from pkg_info qt4
People who want to use qt4 to compile applications outside the ports tree
should note that qt4's installation conforms to OpenBSD habits, not
TrollTech's recommendations.
Accordingly:
- libs are separated from includes.
- moc is installed as /usr/local/bin/moc4, in order not to conflict
with other qt versions.
- uic is installed as /usr/local/bin/uic4
Generally, it's just a question of invoking
env MOC=moc4 UIC=uic4 configure --with-qt-includes=/usr/local/include/X11/qt4
--with-qt-libraries=/usr/local/lib/qt4
Or to force MOC/UIC in your make/gmake invocation:
make MOC=moc4 UIC=uic4
will override the Makefile contents.
Warning: the qt4 library also appears under /usr/local/lib, but you
*must* make sure your application sees /usr/local/lib/qt4 *first*, because
/usr/local/lib may also contain a later incarnation of Qt, in which case
the linker will pick up the most recent library.
Quote from pkg_info qt5 People who want to use Qt5 to compile applications outside the ports tree
should note that Qt5's installation conforms to OpenBSD habits, not
TrollTech's recommendations. Accordingly:
- libs are separated from includes.
- moc is installed as /usr/local/bin/moc-qt5, in order not to conflict
with other Qt versions.
- uic is installed as /usr/local/bin/uic-qt5
Generally, it's just a question of invoking:
env MOC=moc-qt5 UIC=uic-qt5 configure \
--with-qt-includes=/usr/local/include/X11/qt5 \
--with-qt-libraries=/usr/local/lib/qt5
... or, to force MOC/UIC in your make/gmake invocation:
make MOC=moc-qt5 UIC=uic-qt5
will override the Makefile contents. |
|
| Revision |
2018-09-18 21:07 by WubTheCaptain |
|
| Additional Information |
Quote from pkg_info qt4
People who want to use qt4 to compile applications outside the ports tree
should note that qt4's installation conforms to OpenBSD habits, not
TrollTech's recommendations.
Accordingly:
- libs are separated from includes.
- moc is installed as /usr/local/bin/moc4, in order not to conflict
with other qt versions.
- uic is installed as /usr/local/bin/uic4
Generally, it's just a question of invoking
env MOC=moc4 UIC=uic4 configure --with-qt-includes=/usr/local/include/X11/qt4
--with-qt-libraries=/usr/local/lib/qt4
Or to force MOC/UIC in your make/gmake invocation:
make MOC=moc4 UIC=uic4
will override the Makefile contents.
Warning: the qt4 library also appears under /usr/local/lib, but you
*must* make sure your application sees /usr/local/lib/qt4 *first*, because
/usr/local/lib may also contain a later incarnation of Qt, in which case
the linker will pick up the most recent library.
Quote from pkg_info qt5
People who want to use Qt5 to compile applications outside the ports tree
should note that Qt5's installation conforms to OpenBSD habits, not
TrollTech's recommendations. Accordingly:
- libs are separated from includes.
- moc is installed as /usr/local/bin/moc-qt5, in order not to conflict
with other Qt versions.
- uic is installed as /usr/local/bin/uic-qt5
Generally, it's just a question of invoking:
env MOC=moc-qt5 UIC=uic-qt5 configure \
--with-qt-includes=/usr/local/include/X11/qt5 \
--with-qt-libraries=/usr/local/lib/qt5
... or, to force MOC/UIC in your make/gmake invocation:
make MOC=moc-qt5 UIC=uic-qt5
will override the Makefile contents. |