[cmake-developers] Fwd: [Bug 894805] Re: QT_IMPORTS_DIR is not defined when no QML plugins are installed

Stephen Kelly steveire at gmail.com
Thu Feb 7 12:36:59 EST 2013


Clinton Stimpson wrote:
>> That said, the reported problem in the bug report, that qmake reports the
>> path, but cmake does not make it available, seems like something to look
>> into.
>> 
> 
> Do you have something in mind when you say it should be looked into?
> 
> qmake is reporting a non-existant directory, and CMake doesn't make it
> available because it doesn't exist (not found).

Yes, I see. It surprised me that the imports would be non-existant, and I 
though that might mean an incomplete or broken Qt installation somehow.

My Qt 4.8 build has 

 Qt/  QtWebKit/

but my Qt from ubuntu packages does not have an imports dir:

 $ l /usr/lib/qt4/
demos/  examples/  plugins/

Maybe the contents of it are in a package I don't have installed. At least 
for me, that solves the mystery and is all the 'looking into' needed :).

> 
> I'm leaning towards saying this is a user error because the user is
> assuming it has the meaning "where QML plugins are to be installed."

Yes, I'd agree to that too. Otherwise you're inventing 'supported 
configurations' in cmake which are not really 'supported' by Qt (at least 
not officially).

I'll leave that choice up to you though.

Thanks,

Steve.






More information about the cmake-developers mailing list