[scribus-dev] Scribus ported to Qt5 -- Please test

Owen rcook at pcug.org.au
Mon Mar 11 09:18:58 UTC 2013


> Hi all,
>
> As of yesterday, Scribus 1.5svn can be compiled against Qt 5. This
> port has been much smoother and a lot less disruptive than the one
> from Qt 3 to Qt 4. Moreover, Scribus 1.5svn can still be built with Qt
> 4, and Qt5 is only an option.
>
> To build Scribus with Qt 5 two CMake options have been added:
> -DUSE_QT5=1 and -DQT_PREFIX="path _to_your_Qt5_installation".
>
> Please note that the Upgrade Checker won't be available in a Qt 5
> build, as it depends on a depracated Qt 4 class and needs to be
> rewritten for Qt 5. Everything else should work.
>
> If you discover issues that are specific to the Qt 5 build and want to
> file a bug report, a new bug category "Qt5 Port" has been added to the
> bugtracker.


====================================================================
cmake -DUSE_QT5=1
-DQT_PREFIX="/home/owen/Downloads/qt-everywhere-opensource-src-5.0.1/qtbase"
-DCMAKE_INSTALL_PREFIX:PATH=/home/owen/Scribus150_qt5/ -DWANT_DEBUG=1
-DWANT_GUI_LANG="en_US.UTF-8;" ../Scribus150/
====================================================================


Well I had a go, it failed ...invalid use of incomplete type ‘class
QDrag’

So I will leave it for another day as I do not know if this is an
error with my Qt5 installation, or something in Scribus. (My Qt5 built
the latest Sigil ok)





[ 60%] Building CXX object scribus/CMakeFiles/scribus.dir/scribus.cpp.o
/home/owen/Downloads/Scribus150/scribus/scribus.cpp: In member
function ‘void ScribusMainWindow::importVectorFile()’:

/home/owen/Downloads/Scribus150/scribus/scribus.cpp:3683:30: error:
invalid use of incomplete type ‘class QDrag’

......


/home/owen/Downloads/qt-everywhere-opensource-src-5.0.1/qtbase/include/QtWidgets/../../src/widgets/itemviews/qabstractitemview.h:58:7:
error: forward declaration of ‘class QDrag’

make[2]: *** [scribus/CMakeFiles/scribus.dir/scribus.cpp.o] Error 1

make[1]: *** [scribus/CMakeFiles/scribus.dir/all] Error 2
make: *** [all] Error 2



-- 
Owen




More information about the scribus-dev mailing list