Menu

#4 cmake: support Qt5 build

None
closed
nobody
None
1
2015-09-30
2014-04-22
Anonymous
No

allow cmake build qt5 version of kshutdown

This allow simply build qt5 version of kshutdown by running
cmake -DKS_PURE_QT

Signed-off-by: David Heidelberger david.heidelberger@ixit.cz

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2014-04-22

    Well, I have little problem about naming, because you using KShutdown-qt for qt version. I'll try figure that someway. Also icons instalation isn't done yet.

     
    • Konrad Twardowski

      Hi,
      I finally applied the v2 patch.
      http://sourceforge.net/p/kshutdown/code/735/
      Thanks :)

      I have little problem about naming, because you using KShutdown-qt for qt version

      kshutdown-qt is still a "secondary" version and it should be installed independently to primary kshutdown-kde.

      Also icons instalation isn't done yet.

      See src/src.pro file for icon paths.

      Errata:

      install(FILES kshutdown.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})

      It should install kshutdown-qt.desktop

      set(DATA_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/apps CACHE FILEPATH "Replacement for KDE4 variable")

      For kshutdown-qt it should be
      ${CMAKE_INSTALL_PREFIX}/share/kshutdown but it's currently unused anyway...

      set(XDG_APPS_INSTALL_DIR ${DATA_INSTALL_DIR}/share/applications CACHE FILEPATH "Install path for .desktop files")

      This is probably a copy-paste bug:
      ${DATA_INSTALL_DIR}/share/applications

       
  • Konrad Twardowski

    • status: open --> closed
    • Group: -->
     

Anonymous
Anonymous

Add attachments
Cancel