LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-08-2024, 07:08 AM   #1
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
More trouble with 'Quaternion' and qt6, I think


Hiya gang,

A day or two ago I got qt6.5 compiled and installed alongside the stock qt5 on my Slackware 15.0 x86_64 system. I installed the qt6 because an app, Quaternion, I want to install and use calls for it...at least if I don't want to use the older-than-dirt setup on Slackbuilds.

I *did* actually try the setup on Slackbuilds that says using this will still allow the system to use qt5, but it didn't work and I got the same 'failure message' as I'm getting trying with all the 'updated' stuff necessary to install Quaternion.

Specifically, is libQuotient. The one on SlackBuilds is old(ish) and utilizes ones qt5. It installs just fine on my system.

Then, when I try to install the Quaternion that is on SlackBuilds, I get an error message with this:

Code:
CMake Error at CMakeLists.txt:111 (find_package):
  By not providing "FindQuotientQt6.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "QuotientQt6", but CMake did not find one.

  Could not find a package configuration file provided by "QuotientQt6"
  (requested version 0.8) with any of the following names:

    QuotientQt6Config.cmake
    quotientqt6-config.cmake

  Add the installation prefix of "QuotientQt6" to CMAKE_PREFIX_PATH or set
  "QuotientQt6_DIR" to a directory containing one of the above files.  If
  "QuotientQt6" provides a separate development package or SDK, be sure it
  has been installed.
So, I uninstall the libQuotient, and get the updated version of Quaternion and try to install it *without* libQuotient installed, thinking that this version of Quaternion will look to see if I have qt6 installed and use it.

That didn't work and I got the exact same error message.

I then re-built and re-installed the libQuotient from SlackBuilds and tried again with the newer Quaternion, and still got the same error message.

I don't see any way in the Slackbuild for libQuotient nor the Quaternion to point to using qt6, thinking maybe that's all the problem is, but seeing that it failed too on the older version of Quaternion and it supposed to be able to use qt5, it just made things more confusing for me. Of course, me not being a programmer in any way of the word, nor even able to write a simple bash script (I honestly have tried to learn, but online and reading only works so much until I need, *at that moment* to ask somebody a question but can't and then get frustrated and just sort of 'forget' about learning it for a little while, just makes it even more frustrating. Meh...).

So, anyway, I was hoping one of you guys on here I consider as 'genius' when it comes to Slackware and Linux in general - which as far as I'm concerned is pretty much all of you - since it just boggles my mind how you guys can remember so much, which as far as I'm concerned has always been the magic element to being a good programmer, etc., heh, can maybe give me a hint as to what might be the problem and an idea as to what I might try to do to fix it.
 
Old 03-08-2024, 08:31 AM   #2
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,269

Rep: Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061Reputation: 1061
maybe '-DBUILD_WITH_QT6=ON' and '-DUSE_INTREE_LIBQMC=ON'

Last edited by gmgf; 03-08-2024 at 08:32 AM.
 
1 members found this post helpful.
Old 03-09-2024, 02:21 PM   #3
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Thank you for those suggestions. I tried for about an hour using every kind of way/combination there is for using that/those in the slackbuild, but with those set to 'on' or '1' I now get a new error.

Code:
-- == Quaternion 0.0.96.1 configuration summary ==
-- 
-- Build type: Release
-- Quaternion install prefix: /usr
-- Found Git: /usr/bin/git (found version "2.35.8") 
fatal: not a git repository (or any of the parent directories): .git
-- Git SHA1: 
-- Using compiler: GNU 11.2.0
-- Using Qt 6.5.2 at /
-- Using in-tree libQuotient
fatal: not a git repository (or any of the parent directories): .git
--   Library git SHA1: 
-- 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_C_FLAGS
    LIB_SUFFIX
    MAN_INSTALL_DIR
    USE_KEYCHAIN


-- Build files have been written to: /tmp/SBo/Quaternion-0.0.96.1/build
[  2%] Automatic MOC for target quaternion
[  2%] Built target quaternion_autogen
[  5%] Generating quaternion_ru.qm
Updating '/tmp/SBo/Quaternion-0.0.96.1/build/quaternion_ru.qm'...
    Generated 410 translation(s) (410 finished and 0 unfinished)
[  8%] Generating .lupdate/client/translations/quaternion_en.ts.stamp
Scanning directory '/tmp/SBo/Quaternion-0.0.96.1/client/qml'...
Scanning directory '/tmp/SBo/Quaternion-0.0.96.1/client'...
Updating '../client/translations/quaternion_en.ts'...
    Found 411 source text(s) (0 new and 411 already existing)
[ 10%] Automatic RCC for client/resources.qrc
[ 13%] Generating quaternion_de.qm
Updating '/tmp/SBo/Quaternion-0.0.96.1/build/quaternion_de.qm'...
    Generated 407 translation(s) (407 finished and 0 unfinished)
[ 16%] Generating quaternion_en.qm
Updating '/tmp/SBo/Quaternion-0.0.96.1/build/quaternion_en.qm'...
    Generated 411 translation(s) (411 finished and 0 unfinished)
[ 18%] Generating quaternion_en_GB.qm
Updating '/tmp/SBo/Quaternion-0.0.96.1/build/quaternion_en_GB.qm'...
    Generated 410 translation(s) (410 finished and 0 unfinished)
[ 21%] Generating quaternion_es.qm
Updating '/tmp/SBo/Quaternion-0.0.96.1/build/quaternion_es.qm'...
    Generated 292 translation(s) (292 finished and 0 unfinished)
[ 24%] Generating quaternion_pl.qm
Updating '/tmp/SBo/Quaternion-0.0.96.1/build/quaternion_pl.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Generated 358 translation(s) (358 finished and 0 unfinished)
[ 27%] Building CXX object CMakeFiles/quaternion.dir/quaternion_autogen/mocs_compilation.cpp.o
In file included from /tmp/SBo/Quaternion-0.0.96.1/build/quaternion_autogen/7EM65HM6UG/../../../client/mainwindow.h:16,
                 from /tmp/SBo/Quaternion-0.0.96.1/build/quaternion_autogen/7EM65HM6UG/moc_mainwindow.cpp:9,
                 from /tmp/SBo/Quaternion-0.0.96.1/build/quaternion_autogen/mocs_compilation.cpp:11:
/usr/include/Quotient/accountregistry.h:12:14: fatal error: qt6keychain/keychain.h: No such file or directory
   12 | #    include <qt6keychain/keychain.h>
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/quaternion.dir/build.make:217: CMakeFiles/quaternion.dir/quaternion_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/quaternion.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
I really don't understand what is going on. I even installed 'keychain' and tried that also with it 'on' and 'off' (1 or 0). The same new error.
 
Old 03-10-2024, 04:01 PM   #4
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I sure hope I got everyone mad at me for some reason. When I posted my original, I really did mean that I consider 99.9% of everyone that comes here true, real geniuses, and especially so compared to me. I have nothing but the utmost respect for you guys who have so much Linux/UNIX knowledge. It honestly does make me envious and wish I'd picked up on this when I was younger when at about 14 years old (1976) dad brought home a TRS80 (I think it was) and a 4" tall stack of big 5"(?) floppy disks. He said a patient gave it to him for payment. Dad had no clue about computers, and I had an idea about them and had read or heard about them here and there and such. But, when I couldn't get anything to happen with those disks and the computer (obviously because I had no idea what the hell I was doing, lol), I got frustrated and sort of just let it sink into oblivion. A big mistake on my part, but hell, life's all about choices. I wouldn't change anything I've done if I was offered the chance. Oh well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeCAD headaches- Broken PySide2 and Qt needs to be upgraded to Qt6. arfon Slackware 11 08-12-2023 11:57 AM
[SOLVED] qt6 and pkgconfig files Keith Hedger Linux From Scratch 7 06-02-2023 06:09 AM
LXer: Hands-On with Fedora Media Writer 5.0: New Qt6 UI, Fedora Kinoite Support, and More LXer Syndicated Linux News 0 05-12-2022 04:15 PM
LXer: PDF Mix Tool 1.0 Released With Overhauled Interface, PDF Metadata Editing And Qt6 Support LXer Syndicated Linux News 0 06-15-2021 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration