[CMake] QT_WRAP_UI no generated file Bug or Mistake

2008-08-02 Thread Jan Dinger
Hi, folks Iam using cmake-2.6.0 and there is somthing wrong... QT_WRAP_UI generates no File, so I can't compile my souce code. Here is my CMakeLists.txt ###snip### PROJECT( dummy ) CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0) #set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ) FIND_

Re: [CMake] QT_WRAP_UI no generated file Bug or Mistake

2008-08-02 Thread Andreas Pakulat
On 02.08.08 11:23:43, Jan Dinger wrote: > Hi, folks > > Iam using cmake-2.6.0 and there is somthing wrong... > > QT_WRAP_UI generates no File, so I can't compile my souce code. > IF(QT_WRAP_CPP) > IF (QT_WRAP_UI) > QT4_WRAP_UI(DUMMY_UIS_HDRS ${DUMMY_UIS} ) > QT4_WRAP_CPP(

Re: [CMake] QT_WRAP_UI no generated file Bug or Mistake

2008-08-02 Thread Leopold Palomo Avellaneda
Jan, I think that you are doing some mistakes. A Dissabte 02 Agost 2008, Jan Dinger va escriure: > ###snip### > PROJECT( dummy ) > > CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0) > > #set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ) > > FIND_PACKAGE( Qt4 REQUIRED ) > IF(QT_FOUND) >

Re: [CMake] QT_WRAP_UI no generated file Bug or Mistake

2008-08-02 Thread Jan Dinger
Hello, sorry, but it don't works, same error. I've no idea what I can do. I've toke a look at other QtApps that use cmake, I can't see any mistakes in my CMakeLists.txt (after changes by Leo). I've uploaded my dummy program, this is only a test program. All needed files included. I hope someone h

Re: [CMake] QT_WRAP_UI no generated file Bug or Mistake

2008-08-02 Thread Mike Jackson
Couple of things: _I_ suggest adding the following to your CMakeLists.txt file: # -- Setup output Directories - SET (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/Bin CACHE PATH "Single Directory for all Libraries" ) # - Setup the Executable output D

Re: [CMake] QT_WRAP_UI no generated file Bug or Mistake

2008-08-02 Thread Leopold Palomo Avellaneda
Compiled and executed. I have _only_ changed two lines. The first one as Mike has said: > Also, in your mainwindow.h and loginwindow.h files you have something > like: > > #include "../../build/ui_mainwindow.h" to #include "ui_mainwindow.h" the second one, the importand as Mike has said (again

Re: [CMake] QT_WRAP_UI no generated file Bug or Mistake

2008-08-04 Thread Jan Dinger
Special thanks at all. It works fine without any error or warning. so long jd ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake