# The x11/qt4 port

## qt4-4.8.7p23 – C++ X11 GUI toolkit

## Description

    Qt is a toolkit for building a GUI for X in C++.
    There are some user documentation files in ${QT_DOC}, but
    the main documentation is in the qt4-html package.

    There is also a qt4-examples package, that contains tutorial, demos
    simple example programs (source + binaries).

    There's a debug version of the libraries: qt4-debug.

    There are database plugins: qt4-mysql, qt4-postgresql, qt4-sqlite,
    qt4-sqlite2 and qt4-tds.

    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 ${PREFIX}/bin/moc4, in order not to conflict
      with other qt versions.
    - uic is installed as ${PREFIX}/bin/uic4

    Generally, it's just a question of invoking

    env MOC=moc4 UIC=uic4 configure --with-qt-includes=${PREFIX}/include/X11/qt4
    	--with-qt-libraries=${PREFIX}/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 ${PREFIX}/lib, but you
    *must* make sure your application sees ${PREFIX}/lib/qt4 *first*, because
    ${PREFIX}/lib may also contain a later incarnation of Qt, in which case
    the linker will pick up the most recent library.

WWW: https://www.qt.io/

Multi-packages
  qt4-4.8.7p23 qt4-examples-4.8.7p9 qt4-html-4.8.7p4 qt4-mysql-4.8.7p8 qt4-postgresql-4.8.7p7 qt4-sqlite2-4.8.7p7 qt4-tds-4.8.7p7
Only for arches
  aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 sh sparc64
Broken
  on arm: invalid instruction, vmov.u32 r2, r3, s8, s9, related to FELightingNEON.cpp on hppa: libQtWebKit.so.3.0: undefined reference to __sync_sub_and_fetch_4
Categories:
  x11

## Library dependencies

- STEM->=8,<9:lang/gcc/8,-libs
- databases/sqlite3
- devel/glib2
- graphics/jpeg
- graphics/libmng
- graphics/png
- multimedia/gstreamer-0.10/plugins-base

## Build dependencies

- STEM->=8,<9:lang/gcc/8
- STEM->=8,<9:lang/gcc/8,-c++
- databases/postgresql,-server
- devel/gmake
- print/cups,-libs
- x11/dbus
- x11/gtk+2

## Run dependencies

- textproc/icu4c