[CMake] CMake keeps on referencing an uninstalled Qt

Laura Médioni laura.medioni at logilab.fr
Mon Oct 12 03:27:27 EDT 2015


Hi,

Yes, I deleted the CMakeCache.txt after changing the Qt installation.
Since I still had the same problem, I also tried removing all the cmake 
generated files. I have a code directory, and a directory where I 
generate the build.
- I removed all the content of this build directory
- I opened cmake-gui, I clicked on file > delete cache
- I re-did "configure", then "generate"

And it didn't work.

Laura

On 10/12/2015 09:15 AM, Christian Ehrlicher wrote:
> Hi,
> Did you really recreated (deleted) your CMakeCache.txt after changing 
> your Qt installation? Or at least removed all references to Qt5 in the 
> CMakeCache.txt (e.g. with cmake-gui)?
> Christian
> *Von:* "Laura Médioni" <laura.medioni at logilab.fr>
> *Betreff:* Re: [CMake] CMake keeps on referencing an uninstalled Qt
> On 10/09/2015 06:48 PM, John Drescher wrote:
> > On Fri, Oct 9, 2015 at 9:53 AM, Laura Médioni 
> <laura.medioni at logilab.fr> wrote:
> >> Hi,
> >>
> >> I am facing a problem with CMake 3.4 under Windows.
> >> My CMake project is using Qt. Recently I uninstalled Qt and 
> reinstalled it.
> >> Since then, the previous Qt install keeps on appearing in the
> >> CMakeCache.txt, leading to link edition errors.
> >>
> >>
> > You may want to look at the CMake Package Registry
> >
> > https://cmake.org/Wiki/CMake/Tutorials/Package_Registry
> >
> > John
> Thank you very much for your answer. But as I said, there is no track of
> "QtSDK" in the Windows registry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151012/21f4444b/attachment.html>


More information about the CMake mailing list