Commit Graph

25 Commits

Author SHA1 Message Date
Laurent Rineau 88ef561715 Fix the call to Q_INIT_RESOURCE
For resources that are shipped by the CGAL_Qt4 library, one need to call
CGAL_QT4_INIT_RESOURCES, a macro that calls CGAL_Qt4_init_resources
(exported by the CGAL_Qt4 DLL)
2011-10-11 09:51:29 +00:00
Laurent Rineau 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Andreas Fabri 181646f64b Add some QT_USE_.. as this is the only difference I see to the Alpha shapes demo which finds Qt4 in the 3.8-I-39 testsuite 2010-09-27 11:28:10 +00:00
Andreas Fabri 3dc854d29c const QString& -> QString 2010-08-23 10:46:15 +00:00
Laurent Rineau 225672765a Backport from trunk:
| ------------------------------------------------------------------------
  | r57993 | lrineau | 2010-08-11 18:02:00 +0200 (Wed, 11 Aug 2010) | 5 lines
  | 
  | Massive change in all .qrc files: the attribute lang= must not be used. It
  | must be only used to create an alternative for another lang. If a resource
  | exists only with lang=, then that resource will not be found if the locale
  | had not that language.
  | 
  | ------------------------------------------------------------------------
2010-08-11 16:03:25 +00:00
Laurent Rineau af3ad196a0 Global fix of all uses of qt4_generate_moc: the destination file path must be absolute. 2010-08-11 13:24:20 +00:00
Sylvain Pion 4e7c43310e Remove svn:executable property 2009-09-19 05:36:12 +00:00
Fernando Cacciola 24f08fc681 Added demos to the demos target 2008-12-18 17:29:36 +00:00
Andreas Fabri 092b565600 Remove debug output 2008-12-05 16:33:38 +00:00
Laurent Rineau 5d49d36127 - Fix conditionnal compilation: test CGAL_Qt4_FOUND.
- Re-indentation.
- Use ${QT_USE_FILE} *after* QT4_FOUND is tested.
2008-11-20 13:28:52 +00:00
Laurent Rineau 4032eade9a Massive removale of "QUIET" in find_package calls (except for
FindVTK.cmake, which has a bug). Let's see if that can help us to find out
why we still have problems with demos on MacOS and Windows.
2008-11-19 13:58:43 +00:00
Fernando Cacciola 547bffecd9 Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4 2008-11-06 13:03:41 +00:00
Fernando Cacciola 70fa9503fd Added CMP0003 policy 2008-11-04 12:30:29 +00:00
Andreas Fabri e67ead4760 Added dependency on a moc file (Thank you, Monique) 2008-10-08 15:12:01 +00:00
Andreas Fabri d2e8a745c8 small fixes 2008-10-01 11:12:27 +00:00
Andreas Fabri 42141c09b6 Conditional compilation 2008-10-01 10:45:52 +00:00
Andreas Fabri 6cb2606810 Add recent file handling and conditional compilation 2008-10-01 10:16:57 +00:00
Andreas Fabri d1499114e3 Added cmake_minimum_required 2008-10-01 05:23:00 +00:00
Andreas Fabri 8b1ce4bdc8 find resources and rename actionExit to actionQuit 2008-09-30 12:56:38 +00:00
Andreas Fabri 544bf786a9 find resources and rename actionExit to actionQuit 2008-09-30 12:56:32 +00:00
Andreas Fabri 7af1c89e97 require Qt4 2008-09-24 12:58:10 +00:00
Andreas Fabri bfdb6cdd09 Add resource file 2008-09-24 12:57:37 +00:00
Andreas Fabri 27160bcce5 A Qt4 based demo of the Circular Kernel 2008-09-23 13:46:15 +00:00