On 10/07/2024 10:34, Martin Gansser wrote:
Should I include these two binaries in the %files section, and if so, in which
directory should I copy them ?
I doubt these examples need to be installed. Just skip them.
--
Sincerely,
Vitaly Zaitsev (vit...@easycoding.org)
--
Would that be correct?
%install
# Create the directory structure for the test programs
mkdir -p %{buildroot}%{_libexecdir}/%{name}/qt6
mkdir -p %{buildroot}%{_libexecdir}/%{name}/qt5
# Copy the test programs to the appropriate directories
cp -a
I have now completely removed the %check section and
the option "-DQHOTKEY_EXAMPLES:BOOL=ON"
option, a binary is then created for qt5 and qt6.
./release-qt6/redhat-linux-build/HotkeyTest/HotkeyTest
./release-qt5/redhat-linux-build/HotkeyTest/HotkeyTest
Should I include these two binaries in the
On 10/07/2024 09:16, Martin Gansser wrote:
can someone take a look at the spec file [1], I think there is something wrong
with the %check section.
HotkeyTest is not a test, but an application. You can enable its build
by passing `-DQHOTKEY_EXAMPLES:BOOL=ON`.
Remove everything from the
Hi,
can someone take a look at the spec file [1], I think there is something wrong
with the %check section.
[1] https://martinkg.fedorapeople.org/ErrorReports/qhotkey.spec
Thanks
Regards
Martin
--
___
devel mailing list --
Thanks for your hint
Regards
Martin
--
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
On 09/07/2024 15:13, Martin Gansser wrote:
i want to build a %check section for qt5 and qt6 for qhotkey
Just use different directories for Qt 5 and Qt 6 builds.
You can use this SPEC as an example:
https://src.fedoraproject.org/rpms/qcoro/blob/rawhide/f/qcoro.spec
--
Sincerely,
Vitaly
Hi,
i want to build a %check section for qt5 and qt6 for qhotkey
[1] https://martinkg.fedorapeople.org/ErrorReports/qhotkey.spec
or can i simply use this line Version=5 for qt5 an VERSION=6 for qt6 ?
%cmake HotkeyTest -DQT_DEFAULT_MAJOR_VERSION=5 -DQHOTKEY_EXAMPLES=ON
%cmake HotkeyTest