[CMake] cmake install qt5 library to Specified directory?

2015-03-11 Thread kl222
Hello all: I thank to install qt5(=5.3.0) library to sepcified directory. I write: get_target_property(QtCore_location Qt5::Core LOCATION) install(files ${QtCore_location} DESTINATION .) Ok, it is copy /usr/local/Qt-5.5.0/lib/libQt5Core.so.5.5.0 to destination directory, but it don't

[CMake] CMake Error: Qt5::moc target not found ?

2014-03-20 Thread Martin Koller
, QT_MOC_EXECUTABLE, etc. e.g. by: find_host_program(QT_MOC_EXECUTABLE moc ${QTDIR}/bin NO_DEFAULT_PATH) However bulding on CentOS 6 gives me the following error (and a lot others like this) which I have no idea what cmake wants to tell me with: CMake Error: Qt5::moc target not found

Re: [CMake] CMake Error: Qt5::moc target not found ?

2014-03-20 Thread Bogdan Cristea
6 gives me the following error (and a lot others like this) which I have no idea what cmake wants to tell me with: CMake Error: Qt5::moc target not found ui_automoc what does that mean ? Note that the same cmake files work well on openSuse 13.1 where I have installed Qt5 from the openSuse

Re: [CMake] CMake Error: Qt5::moc target not found ?

2014-03-20 Thread Martin Koller
. QT_VERSION_MAJOR, QT_MOC_EXECUTABLE, etc. e.g. by: find_host_program(QT_MOC_EXECUTABLE moc ${QTDIR}/bin NO_DEFAULT_PATH) However bulding on CentOS 6 gives me the following error (and a lot others like this) which I have no idea what cmake wants to tell me with: CMake

Re: [CMake] CMake Error: Qt5::moc target not found ?

2014-03-20 Thread Nils Gladitz
On 20.03.2014 12:18, Martin Koller wrote: However bulding on CentOS 6 gives me the following error (and a lot others like this) which I have no idea what cmake wants to tell me with: CMake Error: Qt5::moc target not found ui_automoc what does that mean ? It means it is trying to use Qt::moc

Re: [CMake] CMake with Qt5

2013-03-24 Thread Stephen Kelly
Alok Govil wrote: Hi all, I had Qt4 functional with CMake, but cannot get Qt5 to work (have upgraded to the latest version of CMake). I have tried everything I could find including a prior post on the Cmake mailing list, to no avail. Here's another relevant link :) : http

Re: [CMake] CMake with Qt5

2013-03-24 Thread Alok Govil
-Original Message- From: Stephen Kelly Sent: Sunday, March 24, 2013 4:47 AM To: cmake@cmake.org Subject: Re: [CMake] CMake with Qt5 Alok Govil wrote: Hi all, I had Qt4 functional with CMake, but cannot get Qt5 to work (have upgraded to the latest version of CMake). I have tried everything I could

Re: [CMake] CMake with Qt5

2013-03-24 Thread Bogdan Cristea
On Sunday 24 March 2013 13:41:31 you wrote: Christea sent me a private response which has gotten me farther than before. {Thanks Christea!} The next issue I face is that it is not processing the *.ui files. I am missing the replacement for qt4_wrap_ui. How do I include the *.ui files?

Re: [CMake] CMake with Qt5

2013-03-23 Thread Alok Govil
Hi all, I had Qt4 functional with CMake, but cannot get Qt5 to work (have upgraded to the latest version of CMake). I have tried everything I could find including a prior post on the Cmake mailing list, to no avail. http://www.cmake.org/pipermail/cmake/2013-January/053259.html http

[CMake] CMake for Qt5: Does exist set(CMAKE_AUTOUIC ON) support? or plan?

2012-08-30 Thread Loaden
set(CMAKE_AUTOMOC ON) is great. But for now I have to use qt5_wrap_ui macros. e.g. cmake_minimum_required(VERSION 2.8.9 FATAL_ERROR) project(testproject) # Find includes in corresponding build directories set(CMAKE_INCLUDE_CURRENT_DIR ON) # Instruct CMake to run moc automatically when

[CMake] CMake for Qt5: Cross Compilation for Windows using MinGW-w64

2012-08-30 Thread Loaden
Hi, there! I am try to cross compilation qt5 apps on Linux. By this wiki point: http://www.cmake.org/Wiki/CmakeMingw I can make the simple qt5 demo works. main.cpp #include QApplication #include QLabel int main(int argc, char *argv[]) { QApplication a(argc, argv); QLabel *label =