[Development] qt-5.0.1 incorrect ..._install_prefix cmake vars ?
Stephen Kelly
stephen.kelly at kdab.com
Wed Apr 10 17:43:23 CEST 2013
On Wednesday, April 10, 2013 09:23:10 Rex Dieter wrote:
> As a followup, qt-5.0.2 + the cmake patch mentioned elsewhere in this
> thread, we're down to a single failure (which looks a *lot* like the problem
> of the other modules we fixed already):
Great! That's progress at least.
Are the updated/patched packages downloadable somewhere? I don't think I see
them here: http://koji.fedoraproject.org/koji/packageinfo?packageID=15742
> Error: cmake execution failed
> CMake Warning at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:237
> (find_package):
> Could not find a package configuration file provided by "Qt5Test" with any
> of the following names:
This is also a Qt bug. Please test the patch at:
https://codereview.qt-project.org/53449
> It just occurred to me, these tests seem to operate on the installed copy of
> qtbase, not the in-source-tree-just-built-but-not-yet-installed one. Is
> it possible to be able to run these tests without actually installing
> qtbase? (in short, I'd like to be able to run these tests during the build
> as a sanity check, if at all possible)
Yes, that is possible. The Qt CI does exactly that. You can pass the build
directory in the CMAKE_PREFIX_PATH and it will use the packages generated
there. I don't know how you generate your packages, but you may need to pass a
list to CMAKE_PREFIX_PATH if eg qtbase is in a different prefix to qtscript
when building the qtscript package.
Depending on how you build your package, running
cd tests/auto/cmake && qmake && make check
might work. That's roughly what the Qt CI system does.
Thanks,
--
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130410/2b306896/attachment.sig>
More information about the Development
mailing list