On 02/07/18 12:50, Phil Stracchino wrote:
> On 02/07/18 04:23, Kern Sibbald wrote:
>> It is supposed to be supported in version 9.0.6.  However there are a 
>> few reports of problems.  If it doesn't build/run on Qt5, I suggest you 
>> check to see if there is already a bug report open and if not open a new 
>> one.  I will have the developer take a look at it.
> 
> 
> I've just tried updating the Gentoo bacula-9.0.6 ebuild to allow
> building with Qt5, and found that it appears to blow up in compiling
> moc/moc_pages.cpp.  I have just filed bug 2359, 'BAT failure to build
> using Qt5'.

I've identified the build problem, and it is quite simple and fixed by
the following patch:


--- src/qt-console/pages.h.orig 2017-11-21 12:37:16.000000000 -0500
+++ src/qt-console/pages.h      2018-02-07 13:11:46.223273248 -0500
@@ -20,10 +20,11 @@
 */
 /*
  *   Dirk Bartley, March 2007
  */

+#include <QtGlobal>
 #if QT_VERSION >= 0x050000
 #include <QtWidgets>
 #else
 #include <QtGui>
 #endif


There is still something going wrong at the install step; the temporary
libtool wrapper script created during compile is being installed instead
of the actual bat binary.  I confess to complete mystification as to why
this is happening.  I've searched through the build scripts for a place
where that replacement should happen, and through the build output for
an error saying it's not happening, and I can't find anything.  I don't
know whether this is a Gentoo-specific problem, and therefore I don't
know where it should be fixed.



-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to