virtuality icon indicating copy to clipboard operation
virtuality copied to clipboard

Qt5 dependencies

Open schyzophrene-asynchrone opened this issue 9 years ago • 4 comments

Hi !

Now that Jessie has been released as the new stable, I'm having a lot of updates (more than before, anyway).

So my browser (QupZilla) has been updated to Qt5. I had compiled virtuality for Qt4 only, so I need to compile it again for Qt5.

But I get an error while executing your script :

CMake Error at CMakeLists.txt:111 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.0.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!

After a few research I couldn't figure out what I miss. Moreover, the command

apt-file search .cmake | grep '(ecm|ECM)'

doesn't return anything, so there's no way for me to have any ECMConfig.cmake or ecm-config.cmake file in Debian Testing.

So what do I need to compile your theme for Qt5 ? And while we're on this, how should I then select it, assuming that KDE is still using Qt4 ?

Thanks for your help

Hoël

schyzophrene-asynchrone avatar Apr 28 '15 13:04 schyzophrene-asynchrone

On Dienstag, 28. April 2015 15:14:06 CEST, schyzophrene-asynchrone wrote:

Hi !

Now that Jessie has been released as the new stable, I'm having a lot of updates (more than before, anyway).

So my browser (QupZilla) has been updated to Qt5. I had compiled virtuality for Qt4 only, so I need to compile it again for Qt5.

But I get an error while executing your script :

You require https://projects.kde.org/projects/kdesupport/extra-cmake-modules

https://packages.debian.org/search?suite=all&section=all&arch=any&searchon=names&keywords=extra-cmake-modules

And while we're on this, how should I then select it, assuming that KDE is still using Qt4 ?

There's qtconfig-qt5 (though the name varies across distros) Otherwise just

export QT_STYLE_OVERRIDE=Virtuality

in eg some ~/.kde/env/qt5-style.sh script

luebking avatar Apr 28 '15 13:04 luebking

extra-cmake-modules and qtconfig-qt5 are not (yet) available for testing. I manually downloaded ecm. The compilation works perfectly fine. I just can't configure the virtuality theme (virtuality command give me the qt4 config dialog), to remove icons from menus.

Thanks a lot !

You really should add a list of dependencies in your readme. That would avoid posts from newbies like me... ^^

schyzophrene-asynchrone avatar Apr 28 '15 13:04 schyzophrene-asynchrone

On Dienstag, 28. April 2015 15:53:17 CEST, schyzophrene-asynchrone wrote:

I just can't configure the virtuality theme (virtuality command give me the qt4 config dialog), to remove icons from menus.

The qt4 and qt5 config dialogs should configure either version since they should read/write from the same file (~/.config/BE/Style.conf - working title was "bestyled" ;-)

luebking avatar Apr 28 '15 14:04 luebking

shit

luebking avatar Apr 28 '15 23:04 luebking