Review Request 123874: Fix build with Qt >= 5.4.2

Thiago Macieira thiago at kde.org
Mon May 25 18:41:29 BST 2015


On Monday 25 May 2015 15:51:11 Hrvoje Senjan wrote:
> > On May 25, 2015, 12:34 p.m., Alex Merry wrote:
> > > Linking against the QtCore target should bring in any flags necessary to
> > > make that link succeed. If it doesn't, that's a problem with Qt's CMake
> > > targets.
> > > 
> > > Thiago's email to the list suggested that had been resolved in the 5.4.2
> > > branch. Could you check that and confirm, please?
> No it is not resolved for *this* case. Linking to Qt5Core works fine.
> Trouble is with check_qt_visibility.cpp: ```
> #include <QtCore/QtGlobal>
>  int main()
>  {
>  #ifndef QT_VISIBILITY_AVAILABLE
>  #error QT_VISIBILITY_AVAILABLE is not available
>  #endif
>  }
> ```
> and try_compile is called only with ${_include_dirs}

You can solve this problem by making this test "true".

Qt cannot be built without visibility anymore. Just accept that it works and 
remove the test.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list