[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need help for updating Qt to 5.12 - cmake link issue
From: |
Hartmut Goebel |
Subject: |
Need help for updating Qt to 5.12 - cmake link issue |
Date: |
Wed, 30 Oct 2019 16:56:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
Hi,
I'm stuck on updating QT to 5.12, which is q prerequisite for updating
KDE Framworks to a recent version.
For some of the packages - most of which seem to be rather new to Qt -
build fails since the linker does not find some libraries, e.g when
building qtgamepad:
g++: error: /gnu/store/…-qtgamepad-5.12.5/lib/libQt5Core.so: No such
file or directory
As you can see, this is libQt5core, but the linker want to load it from
the current packages output.
This kind of issues do not occur with most of the "older" packages. I
already tried to find some place to hook in - without success. Any hints?
Here is the package definition for the case one want to reproduce this.
(define-public qtgamepad
(package (inherit qtsvg)
(name "qtgamepad")
(version "5.12.5")
(source (origin
(method url-fetch)
(uri (string-append
"https://download.qt.io/official_releases/qt/"
(version-major+minor version) "/" version
"/submodules/" name "-everywhere-src-"
version ".tar.xz"))
(sha256
(base32
"0czdmmbjc6zpj213pwwgjh0h2awzmrgkqy5gl5a5vk7p8wfz126y"))))
(arguments
(substitute-keyword-arguments (package-arguments qtsvg)
((#:phases phases)
`(modify-phases ,phases
(add-after 'configure 'fail
(lambda* (#:key outputs #:allow-other-keys)
#t))))
((#:tests? _ #f) #f))) ; TODO: Enable the tests
(native-inputs
`(("perl" ,perl)))
(inputs
`(("sdl2" ,sdl2)
("qtbase" ,qtbase)))
(synopsis "x")
(description "")))
--
Regards
Hartmut Goebel
| Hartmut Goebel | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |
- Need help for updating Qt to 5.12 - cmake link issue,
Hartmut Goebel <=