View Issue Details

IDProjectCategoryView StatusLast Update
0000606Other Unix Portpublic2020-08-24 03:09
Reportertellerbop Assigned Topsmedley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000606: Cmake
DescriptionCmake don't fill in the QT_MKSPECS_DIR:PATH=
Additional InformationHi
I notice that cmake don't set the QT_MKSPECS_DIR:PATH= when running a Qt prog
that needs f.e openssl support
I see then: QT_MKSPECS_DIR:PATH=QT_MKSPECS_DIR-NOTFOUND
But if i set -DQT_MKSPECS_DIR:PATH=C:/usr/share/qt4/mkspecs it works if i set -DQT_MKSPECS_DIR:PATH=C:/usr/share/qt4/mkspecs/os2-g++ it don't see the openssl and get this msg: Your copy of Qt was build without SSL support. Please get openssl and rebuild Qt or a Qt binary with SSL support compiled in
But if i use -DQT_MKSPECS_DIR:PATH=C:/usr/share/qt4/mkspecs the prog is complaining that it cannot find qplatformdefs.h and if i set to -DQT_MKSPECS_DIR:PATH=C:/usr/share/qt4/mkspecs/os2-g++ it finds the qplatformdefs.h but not the openssl.
Is this something that is a OS2 cmake thingie ??
TagsNo tags attached.

Activities

diver

2014-03-24 17:38

reporter   ~0002713

This is probably due to FindQt4 replacing : with a ; on all non Windows platforms.

Search for:
    if(NOT WIN32)
      string(REPLACE ":" ";" qt_mkspecs_dirs

and replace with:
    if(NOT WIN32 AND NOT OS2)
      string(REPLACE ":" ";" qt_mkspecs_dirs

tellerbop

2014-03-24 18:27

reporter   ~0002714

Hi Silvan,

I own you a other beer :)
Cause now it's working :P

Thankz

psmedley

2014-03-26 08:49

administrator   ~0002715

Thanks Silvan, fix will be in the next cmake release

Issue History

Date Modified Username Field Change
2014-03-20 16:03 tellerbop New Issue
2014-03-24 17:38 diver Note Added: 0002713
2014-03-24 18:27 tellerbop Note Added: 0002714
2014-03-26 08:49 psmedley Note Added: 0002715
2014-03-26 08:49 psmedley Status new => resolved
2014-03-26 08:49 psmedley Resolution open => fixed
2014-03-26 08:49 psmedley Assigned To => psmedley
2020-08-24 03:09 psmedley Status resolved => closed