<HTML><BODY>Thanks for your update,<br><br>with SSE you are correct, because by default (per "auto") one would get only:<br><br>Target compiler supports:<br> SSE .................. <none><br> AVX .................. <none><br> AVX512 ............... <none><br><br>Complete QT 5.7 configuration listing:<br><br><br>Build type: solaris-g++ (i386, CPU features: mmx sse sse2)<br><br>qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_MTDEV QT_LIBS_DBUS = -ldbus-1 QT_CFLAGS_DBUS = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include QT_HOST_CFLAGS_DBUS = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include QT_CFLAGS_GLIB = -D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include QT_LIBS_GLIB = -lgthread-2.0 -lpthread -lglib-2.0 QT_CFLAGS_QGTK3 = -DMESA_EGL_NO_X11_HEADERS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_PTHREADS -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng14 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include QT_LIBS_QGTK3 = -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 QT_CFLAGS_PULSEAUDIO = -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include QT_LIBS_PULSEAUDIO = -lpulse-mainloop-glib -lpulse -lglib-2.0 QMAKE_INCDIR_OPENGL = "/usr/include/libdrm" QMAKE_LIBDIR_OPENGL = QMAKE_LIBS_OPENGL = "-lGL" QMAKE_CFLAGS_OPENGL = "-DMESA_EGL_NO_X11_HEADERS" "-D_REENTRANT" "-D_POSIX_PTHREAD_SEMANTICS" QMAKE_CFLAGS_FONTCONFIG = -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/harfbuzz QMAKE_LIBS_FONTCONFIG = -lfontconfig -lfreetype DEFINES += QT_NO_LIBUDEV DEFINES += QT_NO_EVDEV DEFINES += QT_NO_TSLIB DEFINES += QT_NO_LIBINPUT QMAKE_LIBXI_VERSION_MAJOR = 1 QMAKE_LIBXI_VERSION_MINOR = 7 QMAKE_LIBXI_VERSION_PATCH = 6 QMAKE_X11_PREFIX = /usr QMAKE_XKB_CONFIG_ROOT = /usr/share/X11/xkb QMAKE_CFLAGS_XCB = QMAKE_LIBS_XCB = -lxcb sql-drivers = sql-plugins = sqlite qmake switches ......... <br><br>Build options:<br> Configuration .......... accessibility accessibility-atspi-bridge audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cups dbus dbus-linked doubleconversion eventfd fontconfig full-config getaddrinfo getifaddrs glib gstreamer-0.10 gtk3 harfbuzz iconv ipv6ifname kms large-config largefile medium-config minimal-config nis opengl openssl pcre png poll_ppoll posix_fallocate precompile_header pulseaudio qpa qpa reduce_exports release rpath shared small-config system-freetype system-jpeg system-png system-zlib use_gold_linker xcb xcb-glx xcb-plugin xcb-qt xcb-sm xcb-xlib xinput2 xkbcommon-qt xlib xrender <br> Build parts ............ libs tools examples<br> Mode ................... release<br> Using sanitizer(s)...... none<br> Using C++ standard ..... c++11<br> Using gold linker....... yes<br> Using new DTAGS ........ no<br> Using PCH .............. yes<br> Using LTCG ............. no<br> Target compiler supports:<br> SSE .................. <none><br> AVX .................. <none><br> AVX512 ............... <none><br><br>Qt modules and options:<br> Qt D-Bus ............... yes (linked to dbus-1)<br> Qt Concurrent .......... yes<br> Qt GUI ................. yes<br> Qt Widgets ............. yes<br> Large File ............. yes<br> QML debugging .......... yes<br> Use system proxies ..... no<br><br>Support enabled for:<br> Accessibility .......... yes<br> ALSA ................... no<br> CUPS ................... yes<br> DoubleConversion........ yes (bundled copy)<br> Evdev .................. no<br> FontConfig ............. yes<br> FreeType ............... yes (system library)<br> Glib ................... yes<br> GStreamer .............. yes (0.10)<br> GTK platformtheme ...... yes<br> HarfBuzz ............... yes (bundled copy)<br> Iconv .................. yes<br> ICU .................... no<br> Image formats: <br> GIF .................. yes (plugin, using bundled copy)<br> JPEG ................. yes (plugin, using system library)<br> PNG .................. yes (in QtGui, using system library)<br> libinput................ no<br> Logging backends: <br> journald ............... no<br> syslog ............... no<br> mtdev .................. no<br> Networking: <br> getaddrinfo .......... yes<br> getifaddrs ........... yes<br> IPv6 ifname .......... yes<br> libproxy.............. no<br> OpenSSL .............. yes (loading libraries at run-time)<br> NIS .................... yes<br> OpenGL / OpenVG: <br> EGL .................. no<br> OpenGL ............... desktop<br> OpenVG ............... no<br> PCRE ................... yes (bundled copy)<br> pkg-config ............. yes <br> PulseAudio ............. yes<br> QPA backends: <br> DirectFB ............. no<br> EGLFS ................ no<br> EGLFS i.MX6 ........ no<br> EGLFS i.MX6 Wayland. no<br> EGLFS EGLDevice .... no<br> EGLFS GBM .......... no<br> EGLFS Mali ......... no<br> EGLFS Raspberry Pi . no<br> EGLFS X11 .......... no<br> LinuxFB .............. no<br> Mir client............ no<br> XCB .................. yes (bundled copy)<br> EGL on X ........... no<br> GLX ................ yes<br> MIT-SHM ............ yes<br> Xcb-Xlib ........... yes<br> Xcursor ............ yes (loaded at runtime)<br> Xfixes ............. yes (loaded at runtime)<br> Xi2 ................ yes<br> Xrandr ............. yes (loaded at runtime)<br> Xrender ............ yes<br> XKB ................ yes<br> XShape ............. yes<br> XSync .............. yes<br> Session management ..... yes<br> SQL drivers: <br> DB2 .................. no<br> InterBase ............ no<br> MySQL ................ no<br> OCI .................. no<br> ODBC ................. no<br> PostgreSQL ........... no<br> SQLite 2 ............. no<br> SQLite ............... yes (plugin, using bundled copy)<br> TDS .................. no<br> tslib .................. no<br> udev ................... no<br> xkbcommon-x11........... yes (bundled copy, XKB config root: /usr/share/X11/xkb)<br> xkbcommon-evdev......... no<br> zlib ................... yes (system library)<br><br><br>bash was the first thing that needed to be changed (for a quick test it is always my recommendation to<br># mount -F lofs -O /usr/bin/amd64/bash/usr/bin/sh<br><br>(important: you have to mount an isa version, not the isaexec hardlink directly in /usr/bin, otherwise this results in the typical isaexec error).<br><br><br>What I used as configure (via Makefile in components/qt5) is something like:<br><br>./configure -prefix /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR) -opensource -confirm-license -nomake tests -qt-xcb -platform solaris-g++ -verbose<br><br>or to copy it straight from the Makefile:<br><br><br>COMPONENT_INSTALL_ENV+= INSTALL_ROOT=$(PROTO_DIR)<br><br>CONFIGURE_OPTIONS= -prefix /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)<br>CONFIGURE_OPTIONS.32= -bindir /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)/bin<br>CONFIGURE_OPTIONS.32+= -libdir /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)/lib<br>CONFIGURE_OPTIONS.32+= -plugindir /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)/plugins<br>CONFIGURE_OPTIONS.32+= -importdir /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)/imports<br>CONFIGURE_OPTIONS.64= -bindir /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)/bin/$(MACH64)<br>CONFIGURE_OPTIONS.64+= -libdir /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)/lib/$(MACH64)<br>CONFIGURE_OPTIONS.64+= -plugindir /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)/plugins/$(MACH64)<br>CONFIGURE_OPTIONS.64+= -importdir /usr/lib/$(COMPONENT_NAME)/$(COMPONENT_VERSION_MJR)/imports/$(MACH64)<br>CONFIGURE_OPTIONS.32+= -platform solaris-g++<br>CONFIGURE_OPTIONS.64+= -platform solaris-g++-64<br>CONFIGURE_OPTIONS+= -verbose<br>CONFIGURE_OPTIONS+= -opensource<br>CONFIGURE_OPTIONS+= -confirm-license<br>#CONFIGURE_OPTIONS+= -xmlpatterns<br>#CONFIGURE_OPTIONS+= -webkit<br>CONFIGURE_OPTIONS+= -no-opengl<br>CONFIGURE_OPTIONS+= -nomake examples<br>#CONFIGURE_OPTIONS+= -nomake demos<br>#CONFIGURE_OPTIONS+= -nomake translations<br>#CONFIGURE_OPTIONS+= -nomake docs<br>CONFIGURE_OPTIONS+= $(CONFIGURE_OPTIONS.$(BITS))<br>#CONFIGURE_OPTIONS+= -plugin-sql-sqlite<br>#CONFIGURE_OPTIONS+= -plugin-sql-mysql<br>#CONFIGURE_OPTIONS+= -plugin-sql-psql<br>#CONFIGURE_OPTIONS+= -system-sqlite<br>#CONFIGURE_OPTIONS+= -nomake tests<br>CONFIGURE_OPTIONS+= -qt-xcb<br><br><br>Unlike virtualbox4 of old opensxce times which I now took and upgraded to virtualbox5 living from now on in oi-userland/components/virtualbox5, for qt I didn't take the opensxce bits but rather oi-userland/components/qt4 as basis.<br><br>Your hints are much appreciated because it has been since November 2014 since I last dealt with QT.<br>Another thing which newer QT _requires_ is CFLAGS/CXXFLAGS containing -std=gnu11 / -std=gnu++11 respectively, via mkspecs (tnx to Aurelien for that, because until then I had used a temporary wrapper workaround for this on gcc4.9).<br><br><br><br>Tnx! <br>best regards,<br>%martin bochnig<br><br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
Вторник, 13 сентября 2016, 18:51 UTC от Peter Tribble <peter.tribble@gmail.com>:<br>
<br>
<div id="">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div>
<base target="_self" href="https://e.mail.ru/">
<div id="style_14737926780000000540_BODY"><div dir="ltr">On Tue, Sep 13, 2016 at 5:27 PM, Мартин Бохниг via oi-dev <span dir="ltr"><<a target="_blank" href="//e.mail.ru/compose/?mailto=mailto%3aoi%2ddev@openindiana.org">oi-dev@openindiana.org</a>></span> wrote:<br><div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hi all, please some patience: Just to let you know, VirtualBox-5.1.4 builds </div></blockquote><div><br></div><div>Brilliant!<br> <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>and almost packages in my local hipster userland but so far without QT5 frontend. I tried to make it use QT4 via configure, but although this is still a supported configuration, in reality it is broken. That's why we really need QT5.<br><br>And atm I'm still waiting for QT5.5 to complete.<br>...<br>Ouch, new problem in QT5.5:<br><br><br>Undefined first referenced<br> symbol in file<br>qt_memfill16(...)<br clear="all"></div></blockquote><div><br></div><div>So I've got what appears to be a functional build of 5.6.1-1 on Tribblix.<br></div><div>Which was a bit of a surprise as 5.6.0 didn't work at all last time I tried.<br><br></div><div>Configure command:<br><br></div><div> ./configure --prefix=/usr/versions/Qt-5 -opensource --disable-reduce-exports -no-sql-sqlite -confirm-license -platform solaris-g++<br></div></div><br></div><div>Only changes necessary were to qtbase/configure - first, force bash;<br></div><div>second, set CFG_SSE2=yes instead of CFG_SSE2=auto. (The undefined<br></div><div>symbols are because SSE2 autodetection is busted, some code thinks yes,<br>some thinks no, so it gets confused and it's best to just force it.)<br></div><div><br>-- <br><div>-Peter Tribble<br><a target="_blank" href="http://www.petertribble.co.uk/">http://www.petertribble.co.uk/</a> - <a target="_blank" href="http://ptribble.blogspot.com/">http://ptribble.blogspot.com/</a><br data-mce-bogus="1"></div>
</div></div>
</div>
<base target="_self" href="https://e.mail.ru/">
</div>
</div>
</div>
</blockquote>
<br></BODY></HTML>