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.medi...@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.medi...@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.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to