Jump to content

Digikam/Hacking Frameworks: Difference between revisions

From KDE Community Wiki
*>Veaceslav
Created page with "digiKam project started Qt5/KDE Frameworks porting in November 2014. To check the current status please visit the link: [https://techbase.kde.org/Digikam/CodingSpri..."
 
Ochurlaud (talk | contribs)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
digiKam project started Qt5/KDE Frameworks porting in November 2014.
digiKam project started Qt5/KDE Frameworks porting in November 2014.


=== Configuring git and setting up branches ===
To check the current status please visit the link:
To check the current status please visit the link:


[https://techbase.kde.org/Digikam/CodingSprint2014  digiKam Coding Sprint 2014]
[[Digikam/CodingSprint2014| digiKam Coding Sprint 2014]]


Since the frameworks implementation is not ready yet, the development is performed in frameworks branch of each repository:
Since the frameworks implementation is not ready yet, the development is performed in frameworks branch of each repository:
Line 25: Line 27:
*code
*code
*extra (some libs must be compiled with frameworks version before building digiKam)
*extra (some libs must be compiled with frameworks version before building digiKam)
=== Troubleshooting ===
CMake compilation command:
<source lang="bash">
$pwd
/home/slavik/git/digikam-software-compilation
$mkdir build && cd build
$cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/usr  ..
</source>
if you install digiKam and you have problems with kio-slaves, for example, on Archlinux (no images in albums and errors), use
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
<source lang="text">
$cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ..
</source>

Latest revision as of 17:46, 18 March 2016

digiKam project started Qt5/KDE Frameworks porting in November 2014.


Configuring git and setting up branches

To check the current status please visit the link:

digiKam Coding Sprint 2014

Since the frameworks implementation is not ready yet, the development is performed in frameworks branch of each repository:

remember to run this code:

$>git checkout master
$>git pull --rebase
$>git checkout -b frameworks origin/frameworks
$>git branch -a
* frameworks
  master
  remotes/origin/HEAD -> origin/master
  remotes/origin/frameworks
  remotes/origin/master


for following folders:

  • digikam-software-compilation
  • code
  • extra (some libs must be compiled with frameworks version before building digiKam)

Troubleshooting

CMake compilation command:

$pwd
/home/slavik/git/digikam-software-compilation
$mkdir build && cd build
$cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/usr  ..

if you install digiKam and you have problems with kio-slaves, for example, on Archlinux (no images in albums and errors), use -DKDE_INSTALL_USE_QT_SYS_PATHS=ON

$cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ..