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
, 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
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
.
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
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
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
-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
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?
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
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
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 =
11 matches
Mail list logo