<HTML><BODY><p><br>Hi Aurélien,<br><br><br>I'm by NO means intending to unintentionally diminish your qt5 work.<br>All I'm saying is: Qt5.8 is simply too new in every aspect.<br>It needs to be migrated in carefully and in paralel to good old stable 4.8<br><br>As promised I now wanted to port vbox5 back to Qt5 and run a test compile against your bins.<br>This showed me 2 things:<br><br><br></p><p>First of all it simply isn't a good fit yet, if the Qt5 version is above Qt5.6.<br><br>Secondly my host is too old (and if it wasn't, then most test users' host would be and then their tests would have failed).<br>I didn't even come to any point close to getting Vbox linked against your bins so I cannot even say, if it would actually work now or still crash at start with</p><pre>><em> with all I would get was: "gtk_menu_attach_to_widget(): menu already
</em>><em> attached to GtkMenuItem"</em><br><br>... as it did with the Qt5.8 bins I built myself over last week.<br><br>But even now without the final confirmation I can say: Oracle Vbox is not yet by default compatible to 5.6 or higher - that's a fact.<br><br>Here the individual dilemmata:<br><br>#0.)<br>During ./configure of Vbox5 in the checks for Qt5 it requires the same CFLAGS/CXXFLAGS as Qt5.6 or higher does: -std=gnu++11<br>BUT as soon as Vbox compile runs for 1 or 2 minutes, it encounters the first (of hundred) points where -std=gnu++11 BREAKS the Vbox5 compile.<br><br><br>#1.) My host is too old and there I ran into such situations again where I in the past shouted I HATE IPS.<br>Your Qt5 is linked against several (!) libs that are not yet available on my machine in the matching version.<br>But there is no -f or -ignore-ips-insanity option to get these bits installed here without perhaps some full upgrade (still didn't ever check if that really works).<br><br>I could work around that for some time with symlinks, but after all it failed because the linked in versions also get checked during linkage, but don't match. <br>Then I attempted to install the missing bits (here only one example), but IPS's dictatorship mode never lets me.<br><br><br># pkg install libpng16<br>Creating Plan (Checking for conflicting actions): \<br>pkg install: The following packages all deliver file actions to usr/share/man/man3/libpng.3:<br><br>  pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br>  pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br><br>These packages may not be installed together. Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The requested change to the system attempts to install multiple actions<br>for link 'usr/bin/libpng-config' with conflicting attributes:<br><br>    1 package delivers 'link path=usr/bin/libpng-config target=libpng14-config':<br>        pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br>    1 package delivers 'link path=usr/bin/libpng-config target=libpng16-config':<br>        pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br><br>These packages may not be installed together.  Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The following packages all deliver file actions to usr/share/man/man3/libpngpf.3:<br><br>  pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br>  pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br><br>These packages may not be installed together. Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The requested change to the system attempts to install multiple actions<br>for link 'usr/include/pngconf.h' with conflicting attributes:<br><br>    1 package delivers 'link path=usr/include/pngconf.h target=libpng14/pngconf.h':<br>        pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br>    1 package delivers 'link path=usr/include/pngconf.h target=libpng16/pngconf.h':<br>        pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br><br>These packages may not be installed together.  Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The requested change to the system attempts to install multiple actions<br>for link 'usr/include/png.h' with conflicting attributes:<br><br>    1 package delivers 'link path=usr/include/png.h target=libpng14/png.h':<br>        pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br>    1 package delivers 'link path=usr/include/png.h target=libpng16/png.h':<br>        pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br><br>These packages may not be installed together.  Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The requested change to the system attempts to install multiple actions<br>for link 'usr/lib/amd64/libpng.so' with conflicting attributes:<br><br>    1 package delivers 'link path=usr/lib/amd64/libpng.so target=libpng14.so':<br>        pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br>    1 package delivers 'link path=usr/lib/amd64/libpng.so target=libpng16.so':<br>        pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br><br>These packages may not be installed together.  Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The requested change to the system attempts to install multiple actions<br>for link 'usr/lib/libpng.so' with conflicting attributes:<br><br>    1 package delivers 'link path=usr/lib/libpng.so target=libpng14.so':<br>        pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br>    1 package delivers 'link path=usr/lib/libpng.so target=libpng16.so':<br>        pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br><br>These packages may not be installed together.  Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The following packages all deliver file actions to usr/share/man/man5/png.5:<br><br>  pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br>  pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br><br>These packages may not be installed together. Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The requested change to the system attempts to install multiple actions<br>for link 'usr/lib/amd64/pkgconfig/libpng.pc' with conflicting attributes:<br><br>    1 package delivers 'link path=usr/lib/amd64/pkgconfig/libpng.pc target=libpng14.pc':<br>        pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br>    1 package delivers 'link path=usr/lib/amd64/pkgconfig/libpng.pc target=libpng16.pc':<br>        pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br><br>These packages may not be installed together.  Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The requested change to the system attempts to install multiple actions<br>for link 'usr/lib/pkgconfig/libpng.pc' with conflicting attributes:<br><br>    1 package delivers 'link path=usr/lib/pkgconfig/libpng.pc target=libpng14.pc':<br>        pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br>    1 package delivers 'link path=usr/lib/pkgconfig/libpng.pc target=libpng16.pc':<br>        pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br><br>These packages may not be installed together.  Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br>The requested change to the system attempts to install multiple actions<br>for link 'usr/bin/amd64/libpng-config' with conflicting attributes:<br><br>    1 package delivers 'link path=usr/bin/amd64/libpng-config target=libpng14-config':<br>        pkg://openindiana.org/image/library/libpng14@1.4.19,5.11-2015.0.2.0:20160404T221912Z<br>    1 package delivers 'link path=usr/bin/amd64/libpng-config target=libpng16-config':<br>        pkg://openindiana.org/image/library/libpng16@1.6.21,5.11-2016.0.0.0:20160701T213555Z<br><br>These packages may not be installed together.  Any non-conflicting set may<br>be, or the packages must be corrected before they can be installed.<br><br><br>So _if_ we want to use Qt5 for anything, then not a version newer than 5.5.<br>And then you might say again, that it is a waste of time to deal with such "old" Qt5 version (5.5) and that this would require us to re-invent the wheel later on.<br><br>And this version is btw the last one which on my setup does not yet run into the other problem: <em> <a href="http://stackoverflow.com/questions/38549755/raspberry-pi-2-and-qt-5-7-make-stuck-at-qtbase-bin-qmake-conf-qtbase-q" data-mce-href="http://stackoverflow.com/questions/38549755/raspberry-pi-2-and-qt-5-7-make-stuck-at-qtbase-bin-qmake-conf-qtbase-q">http://stackoverflow.com/questions/38549755/raspberry-pi-2-and-qt-5-7-make-stuck-at-qtbase-bin-qmake-conf-qtbase-q</a></em><br><br>In the best interest of the stability of Oi it is best to use the Qt4 Vbox5, as many user feedback messages have shown.<br><br>BTW, the trick provided by Christian Meier to get Vbox5 running as root *WORKS* and *VOILA*, suddenly usb devices (of the real host) do get listed for attachment :-)<br><br><br>No network cable or anything is needed, just locally:<br><br><br>A) ssh -X localhost<br><br>and then<br><br>B) su  (without -)<br><br>C) /opt/VirtualBox/VirtualBox<br><br>And bingo! USB devices are suddenly all there and also non-USB passthrough works as root!<br>This is required to install copy-protected optical media to MS-Win guests, such as in my case the Russian Language learning software requiring not only a vendor's genuine serial number but also running authentication checks against the physical (!!!) DVD itself.<br><br>Big thanks to longterm OpenSXCE community member/supporter and now Hipster co-migrant <strong>Christian Meier</strong> <a href="https://openindiana.org/pipermail/openindiana-discuss/2016-September/019544.html" data-mce-href="https://openindiana.org/pipermail/openindiana-discuss/2016-September/019544.html">https://openindiana.org/pipermail/openindiana-discuss/2016-September/019544.html</a>  !!!<br>Thanks also to all others who tested and reported, including now also tnx to Mr. <em>Carl Brewer </em><a href="https://openindiana.org/pipermail/openindiana-discuss/2016-September/019560.html">https://openindiana.org/pipermail/openindiana-discuss/2016-September/019560.html</a> <br><br><br>Regards,<br>%martin</pre><br><br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        Понедельник, 19 сентября 2016, 9:17 UTC от Aurélien Larcher <aurelien.larcher@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_14742766810000000939_BODY">Hi Martin,<br>
<br>
><br>
> That's why qt5 is really not urgent.<br>
> qt4 works fine for VirtualBox5.1.x<br>
<br>
Yes I agree that you Qt4 build is the way to go for the moment.<br>
The Qt5 builds are for the long term, I would like to get some testing<br>
done to check if we need to fix some things and can upstream some<br>
patches.<br>
Maybe next year, when we are confident that Qt5 is good or if<br>
VirtualBox breaks compatibility with Qt4 we have a fallback.<br>
<br>
><br>
> To change Qt and even to replace Qt4.8 totally with it (or only the symlinks<br>
> to /usr?) involves *tons* of complexity if done right, beware the<br>
> implications to all clients who depend on it. Will they all work fine on<br>
> Qt5? I doubt that. Ao at least /usr/lib/qt/4.8 _must_ be preserved. And as<br>
> said: The symlinks to prefix=/usr are _evil_, since they break<br>
> multiversionism.<br>
> I'm glad you uploaded 64bit test bins built on *your* Hipster environment<br>
> (where you don't appear to run into<br>
> <a href="http://stackoverflow.com/questions/38549755/raspberry-pi-2-and-qt-5-7-make-stuck-at-qtbase-bin-qmake-conf-qtbase-q" target="_blank">http://stackoverflow.com/questions/38549755/raspberry-pi-2-and-qt-5-7-make-stuck-at-qtbase-bin-qmake-conf-qtbase-q</a><br>
> unlike me on Hipster 2015 illumos-f83b46b).<br>
<br>
I did not prepare the oi-userland component for now as I am building<br>
the GIT branches but the install already follows the same structure as<br>
Qt4.8: Qt5.8 lives in /usr/lib/qt/5.8 in its own prefix.<br>
<br>
><br>
> I can later later give it a shot to see if VirtualBox would work with your<br>
> bins better than with the ones I created here, as outlined in<br>
> <a href="https://openindiana.org/pipermail/oi-dev/2016-September/004835.html" target="_blank">https://openindiana.org/pipermail/oi-dev/2016-September/004835.html</a><br>
><br>
> with all I would get was: "gtk_menu_attach_to_widget(): menu already<br>
> attached to GtkMenuItem"<br>
<br>
It seems the build I obtained does not have the same issue but there<br>
are other problems (XCB warnings and incorrect keyboard entry for some<br>
widgets).<br>
<br>
><br>
><br>
> However, as you noticed independently of your email I kept working on<br>
> vbox5_qt4 all over the entire weekend night/day and funnily posted to list<br>
> almost simultaneously as you:<br>
> <a href="https://openindiana.org/pipermail/oi-dev/2016-September/004845.html" target="_blank">https://openindiana.org/pipermail/oi-dev/2016-September/004845.html</a><br>
><br>
><br>
> For now, "Good Night" and till later.<br>
> Tnx for your Qt5.8 bins - but as said, let's rather work on that slowly and<br>
> test everything 500 times _first_.<br>
> Vbox will simply use Qt4.8 for the time being :)<br>
<br>
Yes it is perfect, no problem ;) Qt5 is just for me to prepare some<br>
independent testing.<br>
<br>
Rest well!<br>
<br>
Aurelien<br>
<br>
<br>
><br>
><br>
> regards,<br>
> %martin<br>
><br>
><br>
><br>
> Понедельник, 19 сентября 2016, 8:41 UTC от Aurélien Larcher<br>
> <<a href="mailto:aurelien.larcher@gmail.com">aurelien.larcher@gmail.com</a>>:<br>
><br>
> Hi,<br>
> if there is any interest, snapshot from Sept 15 2016:<br>
><br>
> qt5.8-OI201604-20160915.tar.bz2 (91MB) @ <a href="http://ovh.to/w5Vjj1D" target="_blank">http://ovh.to/w5Vjj1D</a><br>
><br>
> It contains 32bit and 64bit builds installed in /usr/lib/qt/5.8.<br>
> Best regards<br>
><br>
> Aurelien<br>
><br>
> --<br>
> ---<br>
> Praise the Caffeine embeddings<br>
><br>
> _______________________________________________<br>
> oi-dev mailing list<br>
> <a href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br>
> <a href="https://openindiana.org/mailman/listinfo/oi-dev" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> oi-dev mailing list<br>
> <a href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br>
> <a href="https://openindiana.org/mailman/listinfo/oi-dev" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a><br>
<br>
<br>
<br>
-- <br>
---<br>
Praise the Caffeine embeddings<br>
</div>
            
        
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br></BODY></HTML>