<div dir="ltr"><div><div><div><div>Hey guys,<br><br></div>As you may know, current master contains the QT5 port. This means that things change with building, mostly a host of new dependencies and a whole lot of outdated ones.<br><br></div>First off, unless you want to go through the misery of compiling frameworks and qt5, try getting an Ubuntu system 15.04 and up, such as in my case Kubuntu 15.04.<br><br></div>So, here's some details: To get Krita 3.0 up and running รก la cats guide, I had to install the following:<br><br>sudo apt-get install extra-cmake-modules<br><br>sudo apt-get install libkf5archive-dev libkf5codecs-dev libkf5codecs-dev libkf5coreaddons-dev libkf5guiaddons-dev libkf5itemmodels-dev libkf5itemviews-dev libkf5widgetsaddons-dev libkf5threadweaver-dev libkf5completion-dev libkf5iconthemes-dev libkf5sonnet-dev libkf5parts-dev libkf5xmlgui-dev libkf5notifyconfig-dev libkf5khtml-dev libkf5texteditor-dev<br>libkf5kdelibs4support-dev libkf5krosscore5 libkf5kiocore5 libkf5activities-dev kross-dev<br>libqt5svg5-dev libqt5declarative5 libqt5x11extras5-dev libqt5webkit5-dev<br><br></div><div>This was on top of the dependencies listed here:<br><br><a href="https://community.kde.org/Calligra/Building#Distribution_Specific_Instructions">https://community.kde.org/Calligra/Building#Distribution_Specific_Instructions</a><br><br></div><div>All in all, I probably installed one dependency too many, but it works(feel free to try and strip this down).<br><br></div><div>My cmake string was simply:<br>






<div>
<span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">cmake -DCMAKE_INSTALL_PREFIX=$HOME/kf5/inst $HOME/kf5/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPRODUCTSET=CREATIVE</span><br></span></div>


</div><div><br></div>Then, the export variables(I installed in kf5 instead of kde4):<br><br>export XDG_DATA_DIRS=$HOME/kf5/inst/share:$XDG_DATA_DIRS:/usr/share<br>export KDEDIRS=$HOME/kf5/inst:$KDEDIRS<br>export PATH=$HOME/kf5/inst/bin:$PATH<br clear="all"><div><div><div><div><div><div><br></div><div>Now, this is a little different from Krita 2.9 and boud's script in that boud has a seperate directory for the config for his deleting pleasure, while Krita 3.0 vanilla is probably going to be following the rest of KDE applications in putting the config(the kritarc) in $HOME/.config and the resources under $HOME/.local/share/krita(so .kde is going to dissapear in the future)<br><br></div><div>So what is the state of 3.0 from a set of fresh eyes?<br><br></div><div>* Tablet support is wonky. This is due to QT5's new way of handling input events, but Boudewijn, Dmitry and Mike have been chugging away at several solutions on phabricator: <a href="https://phabricator.kde.org/T530">https://phabricator.kde.org/T530</a><br><br></div><div>* Drawing has an offset. This is, coincidentally(no not at all actually), the same kind of offset that the canvas viewport has from to top-left corner of the screen(caused by the titlebar, the toolbox, etc). What this means is that the little coordinate shuffle we do to get Krita to paint the dab right under the cursor coordinates got mixed up somewhere along the line.<br><br></div><div>* Little crashes everywhere. The scariest being the auto-save crash, but there's also crashes with OpenGL in somewhat random places. Again, there seems to be a patch in the making on phabricator for this.<br><br></div><div>All in all, it's still a place for the adventurous rather than the meek, but I wanted to share my building experience with you.<br></div><div><br>-- <br><div>Wolthera</div>
</div></div></div></div></div></div></div>