[poppler] Branch 'qt5' - CMakeLists.txt

Shawn Rutledge shawn.t.rutledge at gmail.com
Mon Jun 17 04:37:33 PDT 2013


On the mac it goes like this:

[strpro][01:33:08 PM] qmake --version
QMake version 3.0
Using Qt version 5.1.0 in /Users/rutledge/Qt5.1.0/5.1.0-rc1/clang_64/lib

I'm using qtchooser to point qmake (and other qt binaries) to the right one.

[strpro][01:33:16 PM] cmake .
-- The C compiler identification is Clang 4.2.0
-- The CXX compiler identification is Clang 4.2.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Checking _FILE_OFFSET_BITS for large files
-- Checking _FILE_OFFSET_BITS for large files - not needed
CMake Warning at CMakeLists.txt:49 (message):


   No test data found in $testdatadir.
   You will not be able to run 'make test' successfully.



   The test data is not included in the source packages
   and is also not part of the main git repository. Instead,
   you can checkout the test data from its own git
   repository with:



     git clone git://git.freedesktop.org/git/poppler/test



   You should checkout the test data as a sibling of your
   poppler source folder or specify the location of your
   checkout with -DTESTDATADIR=/path/to/checkoutdir/test.



-- Found Freetype: /usr/X11R6/lib/libfreetype.dylib (found version "2.4.7")
-- checking for module 'fontconfig'
--   package 'fontconfig' not found
-- Found Fontconfig: /usr/X11R6/lib/libfontconfig.dylib
-- Found JPEG: /usr/local/lib/libjpeg.dylib
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Found PNG: /usr/X11R6/lib/libpng.dylib (found version "1.5.4")
-- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.0.3")
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
CMake Warning at CMakeLists.txt:105 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core",
but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.


CMake Warning at CMakeLists.txt:106 (find_package):
  By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Gui", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Gui" with any
  of the following names:

    Qt5GuiConfig.cmake
    qt5gui-config.cmake

  Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
  "Qt5Gui_DIR" to a directory containing one of the above files.  If
"Qt5Gui"
  provides a separate development package or SDK, be sure it has been
  installed.


CMake Warning at CMakeLists.txt:107 (find_package):
  By not providing "FindQt5Xml.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Xml", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Xml" with any
  of the following names:

    Qt5XmlConfig.cmake
    qt5xml-config.cmake

  Add the installation prefix of "Qt5Xml" to CMAKE_PREFIX_PATH or set
  "Qt5Xml_DIR" to a directory containing one of the above files.  If
"Qt5Xml"
  provides a separate development package or SDK, be sure it has been
  installed.


CMake Warning at CMakeLists.txt:108 (find_package):
  By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Widgets", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Widgets" with
  any of the following names:

    Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake

  Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
  "Qt5Widgets_DIR" to a directory containing one of the above files.  If
  "Qt5Widgets" provides a separate development package or SDK, be sure it
has
  been installed.


CMake Warning at CMakeLists.txt:109 (find_package):
  By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Test",
but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Test" with any
  of the following names:

    Qt5TestConfig.cmake
    qt5test-config.cmake

  Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set
  "Qt5Test_DIR" to a directory containing one of the above files.  If
  "Qt5Test" provides a separate development package or SDK, be sure it has
  been installed.


-- checking for module 'cairo>=1.10.0'
--   package 'cairo>=1.10.0' not found
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /usr/lib/libiconv.dylib
-- Could NOT find LibOpenJPEG (missing:  LIBOPENJPEG_INCLUDE_DIR)
-- checking for module 'lcms2'
--   found lcms2, version 2.4
-- Found lcms version 2.04, /usr/local/lib/liblcms2.dylib
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/mman.h
-- Looking for include file sys/mman.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for fseek64
-- Looking for fseek64 - not found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for ftell64
-- Looking for ftell64 - not found
-- Looking for pread64
-- Looking for pread64 - not found
-- Looking for lseek64
-- Looking for lseek64 - not found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for popen
-- Looking for popen - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mkstemps
-- Looking for mkstemps - found
-- Looking for rand_r
-- Looking for rand_r - found
-- Looking for strcpy_s
-- Looking for strcpy_s - not found
-- Looking for strcat_s
-- Looking for strcat_s - not found
-- Performing Test HAVE_DIRENT_H
-- Performing Test HAVE_DIRENT_H - Success
-- Performing Test HAVE_NDIR_H
-- Performing Test HAVE_NDIR_H - Failed
-- Performing Test HAVE_SYS_DIR_H
-- Performing Test HAVE_SYS_DIR_H - Success
-- Performing Test HAVE_SYS_NDIR_H
-- Performing Test HAVE_SYS_NDIR_H - Failed
-- Looking for nanosleep
-- Looking for nanosleep - found
CMake Error: File /Users/rutledge/src/poppler/poppler-qt5.pc.cmake does not
exist.
CMake Error at cmake/modules/PopplerMacros.cmake:47 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:622 (poppler_create_install_pkgconfig)


Building Poppler with support for:
  font configuration:   fontconfig
  splash output:        yes
  cairo output:         no
  qt4 wrapper:          no
  qt5 wrapper:          yes
  glib wrapper:         no
    introspection:      no
  cpp wrapper:          yes
  use gtk-doc:          not supported with this CMake build system
  use libjpeg:          yes
  use libpng:           yes
  use libtiff:          yes
  use zlib:             no
  use curl:             no
  use libopenjpeg:      no
  use cms:              yes
      with lcms2
  command line utils:   yes
  test data dir:        /Users/rutledge/src/poppler/../test
-- Configuring incomplete, errors occurred!


On 17 June 2013 00:23, Albert Astals Cid <aacid at kemper.freedesktop.org>wrote:

>  CMakeLists.txt |    7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> New commits:
> commit 43786964946b4f4c005a0526e16fead3ffa6ba4a
> Author: Albert Astals Cid <aacid at kde.org>
> Date:   Mon Jun 17 00:23:31 2013 +0200
>
>     harmonize spaces
>
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index f1606bb..3bd6f93 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -108,11 +108,10 @@ find_package(Qt5Xml)
>  find_package(Qt5Widgets)
>  find_package(Qt5Test)
>  if (NOT Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Xml_FOUND AND
> Qt5Widgets_FOUND AND Qt5Test_FOUND)
> -       message("-- Package Qt5Core or Qt5Gui or Qt5Xml or Qt5Widgets or
> Qt5Test not found")
> -       set(QT5_FOUND false)
> +  message("-- Package Qt5Core or Qt5Gui or Qt5Xml or Qt5Widgets or
> Qt5Test not found")
> +  set(QT5_FOUND false)
>  else(NOT Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Xml_FOUND AND
> Qt5Widgets_FOUND AND Qt5Test_FOUND)
> -
> -       set(QT5_FOUND true)
> +  set(QT5_FOUND true)
>  endif(NOT Qt5Core_FOUND AND Qt5Gui_FOUND AND Qt5Xml_FOUND AND
> Qt5Widgets_FOUND AND Qt5Test_FOUND)
>  macro_optional_find_package(Cairo ${CAIRO_VERSION})
>  if(CAIRO_FOUND)
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130617/f743b7d4/attachment-0001.html>


More information about the poppler mailing list