Closed Starcr0ss closed 6 months ago
Did you run cmake first?
Sorry I just read you did all the other steps. In the build directory there should be a a makefile, can you attach that
Or try to run cmake with -DCMAKE_INSTALL_PREFIX=/usr so basically cmake -DENABLE_ALL=off -DENABLE_QT5 -DCMAKE_INSTALL_PREFIX=/usr
and then attempt to run make and make install
Any news on this?
Okay so the command I used to get back to the make install
part was
cmake -DENABLE_ALL=off -DENABLE_QT5=off -DCMAKE_INSTALL_PREFIX=/usr ../
When I run make install
I get:
make: *** No rule to make target 'install'. Stop.
Here is the Makefile.txt
Ah I see what's happening DENABLE_ALL disables both qt5 and qt6 so to build qt6 only you need to also call DENABLE_QT6=on
So the full call would be cmake -DENABLE_ALL=off -DENABLE_QT6=on -DCMAKE_INSTALL_PREFIX=/usr ../
Okay so now I'm getting a new error that may have to do with the fact that I am on Debian 12 which is not really made with Qt6 in mind:
CMake Error at qt6/QStyle/CMakeLists.txt:1 (find_package):
Could not find a package configuration file provided by "Qt6" with any of
the following names:
Qt6Config.cmake
qt6-config.cmake
Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
to a directory containing one of the above files. If "Qt6" provides a
separate development package or SDK, be sure it has been installed.
If I did something like sudo apt install qt6
I would just get E: Unable to locate package qt6
Not really seeing the need to have Qt6 when I specifically am asking to exclude that part
Oh god I haven't been on debian for a while. qt6-default is not a package that exists right? (it was what the metapackages for both qt5 and qt4 were called, but I think those particular metapackages got phased out). can you try installing qt6-base-dev
That worked! But now it seems I only have it for qt6? Nothing for qt5 and nothing shows up in my plasma settings. I sense we're very close...
On March 30, 2024 2:00:40 AM EDT, Martin Fritz @.***> wrote:
Oh god I haven't been on debian for a while. qt6-default is not a package that exists right? (it was what the metapackages for both qt5 and qt4 were called, but I think those particular metapackages got phased out). can you try installing qt6-base-dev
-- Reply to this email directly or view it on GitHub: https://github.com/MartinF99/PlastikStyle/issues/13#issuecomment-2027932853 You are receiving this because you authored the thread.
Message ID: @.***>
Oh I thought that was your intention. To install for both qt5 and qt6 simply call `cmake -DCMAKE_INSTALL_PREFIX=/usr ../' DENABLE_ALL option is on by default and adds both qt5 and qt6
also you need the qt5-base-dev package
Oh I thought that was your intention. To install for both qt5 and qt6 simply call `cmake -DCMAKE_INSTALL_PREFIX=/usr ../' DENABLE_ALL option is on by default and adds both qt5 and qt6
Well I only wanted Qt5 actually - nothing of Qt6. But both is definitely an option and we ignore the 6 since it has no use to me
oh then its cmake -DENABLE_ALL=off -DENABLE_QT5=on -DCMAKE_INSTALL_PREFIX=/usr ../
also you need the package qtbase5-dev
I figured that with the cmake call you gave me (with the option -DENABLE_QT5=off) you wanted to turn off qt5 styling.
oh then its
cmake -DENABLE_ALL=off -DENABLE_QT5=on -DCMAKE_INSTALL_PREFIX=/usr ../
also you need the package qtbase5-dev
There we go! Successfully installed and I see it in plasma settings! Thanks so much for your help!
When I run
make install
after doing all the other steps in the readme, I get the following error.make: *** No rule to make target 'install'. Stop.
I don't know what I am doing wrong. I am on Debian 12 and only want to install the qt5 version