[Development] OSX CMake broken in 5.1.1
njeisecke at saltation.de
Thu Jul 25 19:47:10 CEST 2013
Sorry for my previous mail, I hit the send button too early :-(
On Sun, Jun 16, 2013 at 11:35 AM, Stephen Kelly <stephen.kelly at kdab.com> wrote:
> On Friday, June 07, 2013 14:18:49 Daiwei Li wrote:
>> I recently my version of Qt to 5.1.1 and it seems to have broken CMake on
>> OSX. I get the following error message:
> The workaround for this issue has been merged to the qtbase stable branch.
> Feel free to update to that and re-test.
I still have this problem. qtbase is at
This is my (out of source) configure line.
../../qt5/onfigure -opensource -nomake tests
This gives me a framework installation in /usr/local/Qt-5.1.1
# Find includes in corresponding build directories
# Instruct CMake to run moc automatically when needed.
# Find the QtWidgets library
# Tell CMake to create the helloworld executable
add_executable(helloworld WIN32 main.cpp)
# Use the Widgets module from Qt 5.
Now a minimal testcase produces the following result:
cmake -DCMAKE_PREFIX_PATH=/usr/local/Qt-5.1.1 ..
CMake Error at /usr/local/Qt-5.1.1/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:15
The imported target "Qt5::Widgets" references the file
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
but not all the files it references.
Call Stack (most recent call first):
What's wrong with my setup?
More information about the Development