Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75787

Compilation fails if openssl-devel package is not installed

    XMLWordPrintable

Details

    • Linux/X11
    • 1e88a55671d6514894a663bf207d783e85759781

    Description

      Compilation on a fresh OpenSUSE system fails at file

      qt-everywhere-src-5.12.3/qtlocation/examples/location/mapviewer/main.cpp

      Steps to reproduce:

      1. Download and extract qt-everywhere-src-5.12.3
      2. Run ./configure, notice that "openssl" is disabled
      3. Run make, wait a couple of hours, see the error:
      g++ -c -pipe -O2 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_LOCATION_LIB -DQT_POSITIONINGQUICK_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_SQL_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I../../../include -I../../../include/QtLocation -I../../../include/QtPositioningQuick -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtdeclarative/include -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtdeclarative/include/QtQuick -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/include -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/include/QtOpenGL -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/include/QtWidgets -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/include/QtGui -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtdeclarative/include/QtQml -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/include/QtNetwork -I../../../include/QtPositioning -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/include/QtSql -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/include/QtConcurrent -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/include/QtCore -I.moc -isystem /usr/include/libdrm -I/home/qtjimis/dist/src/qt-everywhere-src-5.12.3/qtbase/mkspecs/linux-g++ -o .obj/main.o main.cpp
      main.cpp: In function 'int main(int, char**)':
      main.cpp:136:61: error: 'QSslSocket' has not been declared
       engine.rootContext()->setContextProperty("supportsSsl", QSslSocket::supportsSsl());
       ^~~~~~~~~~

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jimis Dimitrios Apostolou
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes