[Development] Installing Qt5Config.cmake from the Qt repo?

Thiago Macieira thiago.macieira at intel.com
Thu Nov 3 12:22:32 CET 2011


On Thursday, 3 de November de 2011 11:48:24 Stephen Kelly wrote:
> No problem. If I understand you correctly, that's already the plan.
> 
> # Network and DBus are optional
> find_package(Qt5 COMPONENTS Network DBus)
> 
> if(Qt5Network_FOUND)
>   # ...
> endif()
> 
> if(Qt5DBus_FOUND)
>   # ...
> endif()
> 
> # QtWebkit is not optional
> qt5_add_module(mylib Webkit)

Yes! That's what I'd like to see.

> > Is it searching for QtLocations as well? How about QtPim?
> 
> If they install Config.cmake modules yes. And I intend for them to do that.

Great.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20111103/2ff85d29/attachment.sig>


More information about the Development mailing list