Page 2 of 2 FirstFirst 12
Results 21 to 30 of 30

Thread: qssl

  1. #21
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qssl

    Quote Originally Posted by wysota View Post
    I meant to run it, not to build it (of course only if examples come prebuilt with the Qt+MinGW bundle). You might not have SSL development files installed but it doesn't mean you don't have SSL support in your Qt enabled. You might be unable to build SSL-enabled apps but you can still execute ones that are already built. In that case copying/installing only the SSL development files should be enough.
    sigh, that's clear. anyway, he wants to build some project with support QSsl*.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  2. #22
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qssl

    Quote Originally Posted by jsmith View Post
    please tell me what is the problem
    did you set path to INCLUDE & LIB of OpenSSL?
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. #23
    Join Date
    Apr 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Post Re: qssl

    hi spirit,
    thanks for your quick reply .

    1) i have downloaded and set environmental variables as u told me.
    2) now to build qt 4.4.3 with openssl

    i am doing like this in commond prompt
    ../qt/4.4.3/nmake -openssl

    here errors are coming again.

    please suggest me to proceed further

    3) what is procedure to build Qt SDK with openssl

  4. #24
    Join Date
    Apr 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Post Re: qssl

    yes,
    i set path for LIB and INCLUDE in system variables as

    INCLUDE - C:\OpenSSL\include\openssl;
    LIB C:\OpenSSL\lib\MinGW;C:\OpenSSL\lib\VC;

  5. #25
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qssl

    Quote Originally Posted by jsmith View Post
    hi spirit,
    thanks for your quick reply .

    1) i have downloaded and set environmental variables as u told me.
    2) now to build qt 4.4.3 with openssl

    i am doing like this in commond prompt
    ../qt/4.4.3/nmake -openssl

    here errors are coming again.

    please suggest me to proceed further

    3) what is procedure to build Qt SDK with openssl
    sign, you are doing wrong things.
    what is this ../qt/4.4.3/nmake -openssl?
    you must specify this key for Qt's configure tool.
    so, try this
    configure -openssl ....
    nmake
    ... -- means another keys which you need.
    NOTE: do you what to build Qt for MingGW or MSVS?
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  6. #26
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qssl

    Quote Originally Posted by jsmith View Post
    yes,
    i set path for LIB and INCLUDE in system variables as
    according to your varianbles you wants to use MinGW, than replace nmake call after configure by mingw32-make.
    configure -openssl ...
    mingw32-make
    btw, these operations must be provided in QTDIR.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  7. #27
    Join Date
    Apr 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Post Re: qssl

    hi,
    in qt SDk error is coming like this
    Setting up a MinGW/Qt only environment...
    -- QTDIR set to c:\Qt\2009.01\qt
    -- PATH set to c:\Qt\2009.01\qt\bin
    -- Adding c:\Qt\2009.01\bin to PATH
    -- Adding C:\WINDOWS\System32 to PATH
    -- QMAKESPEC set to win32-g++

    c:\Qt\2009.01\qt>configure -openssl

    This is the Qt for Windows Open Source Edition.

    You are licensed to use this software under the terms of
    the GNU Lesser Public License (LGPL) version 2.1 or GNU General Public License (
    GPL) version 3.

    Type 'L' to view the GNU Lesser General Public License version 2.1 (LGPLv2.1).
    Type '3' to view the GNU General Public License version 3 (GPLv3).
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.

    Do you accept the terms of the license?
    y
    Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
    Make sure you have the Direct3D SDK installed, and that you have run
    the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
    The D3D SDK library path *needs* to appear before the Platform SDK library
    path in your LIB environment variable.
    All the required DirectShow/Direct3D files couldn't be found.
    Make sure you have either the platform SDK AND the DirectX SDK or the Windows SD
    K installed.
    If you have the DirectX SDK installed, please make sure that you have run the <p
    ath to SDK>\SetEnv.Cmd script.
    Environment:
    INCLUDE=
    C:\OpenSSL\include\openssl

    LIB=
    C:\OpenSSL\lib\MinGW
    C:\OpenSSL\lib\VC

    PATH=
    c:\Qt\2009.01\qt\bin
    c:\Qt\2009.01\bin
    c:\Qt\2009.01\mingw\bin
    C:\WINDOWS\System32
    You are licensed to use this software under the terms of the GNU LGPL version 2.
    1 or the GNU GPL version 3.
    See C:/Qt/2009.01/qt/LICENSE.LGPL
    or C:/Qt/2009.01/qt/LICENSE.GPL3

    Configuration:
    dist-config
    large-config
    medium-config
    minimal-config
    small-config
    full-config
    build_all
    debug
    Qt Configuration:
    release
    debug
    zlib
    png
    accessibility
    qt3support
    opengl
    openssl
    ipv6
    scripttools
    xmlpatterns
    webkit
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config

    QMAKESPEC...................win32-g++ (env)
    Architecture................windows
    Maketool....................mingw32-make
    Debug symbols...............yes
    Accessibility support.......yes
    STL support.................yes
    Exception support...........yes
    RTTI support................yes
    MMX support.................no
    3DNOW support...............no
    SSE support.................no
    SSE2 support................no
    IWMMXT support..............no
    OpenGL support..............yes
    Direct3D support............no
    OpenSSL support.............yes
    QtDBus support..............no
    QtXmlPatterns support.......yes
    Phonon support..............no
    WebKit support..............yes
    QtScriptTools support.......yes
    Graphics System.............raster
    Qt3 compatibility...........yes

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

    Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

    Sources are in..............C:\Qt\2009.01\qt
    Build is done in............C:\Qt\2009.01\qt
    Install prefix..............C:\Qt\2009.01\qt
    Headers installed to........C:/Qt/2009.01/qt/include
    Libraries installed to......C:/Qt/2009.01/qt/lib
    Plugins installed to........C:/Qt/2009.01/qt/plugins
    Binaries installed to.......C:/Qt/2009.01/qt/bin
    Docs installed to...........C:/Qt/2009.01/qt/doc
    Data installed to...........C:/Qt/2009.01/qt
    Translations installed to...C:/Qt/2009.01/qt/translations
    Examples installed to.......C:/Qt/2009.01/qt/examples
    Demos installed to..........C:/Qt/2009.01/qt/demos

    Creating qmake...
    g++ -c -oqconfig.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Ige
    nerators/mac -IC:\Qt\2009.01\qt/include -IC:\Qt\2009.01\qt/include/QtCore -IC:\Q
    t\2009.01\qt/include -IC:\Qt\2009.01\qt/include/QtCore -IC:\Qt\2009.01\qt/src/co
    relib/global -IC:\Qt\2009.01\qt/include/QtScript -IC:\Qt\2009.01\qt/mkspecs/win3
    2-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -
    DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_Q
    MAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQM
    AKE_OPENSOURCE_EDITION C:\Qt\2009.01\qt/src/corelib/global/qconfig.cpp
    g++ -o qmake.exe project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.
    o option.o winmakefile.o projectgenerator.o property.o meta.o makefiledeps.o met
    amakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_dsp.o m
    svc_vcproj.o msvc_objectmodel.o qbitarray.o qbuffer.o qbytearray.o qcryptographi
    chash.o qvsnprintf.o qbytearraymatcher.o qconfig.o qdatetime.o qdir.o qdiriterat
    or.o qfile.o qtemporaryfile.o qfileinfo.o qabstractfileengine.o qfsfileengine.o
    qfsfileengine_iterator.o qfsfileengine_win.o qfsfileengine_iterator_win.o qgloba
    l.o qhash.o qiodevice.o qlibraryinfo.o qlistdata.o qlinkedlist.o qlocale.o qmall
    oc.o qmap.o qregexp.o qstring.o qstringlist.o qtextstream.o quuid.o qvector.o qu
    rl.o qsettings.o qsettings_win.o qvariant.o qmetatype.o qnumeric.o qscriptasm.o
    qscriptast.o qscriptastvisitor.o qscriptcompiler.o qscriptecmaarray.o qscriptecm
    aboolean.o qscriptecmacore.o qscriptecmadate.o qscriptecmafunction.o qscriptecma
    global.o qscriptecmamath.o qscriptecmanumber.o qscriptecmaobject.o qscriptecmare
    gexp.o qscriptecmastring.o qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o
    qscriptengine_p.o qscriptengineagent.o qscriptextenumeration.o qscriptextvarian
    t.o qscriptcontext.o qscriptcontextinfo.o qscriptfunction.o qscriptgrammar.o qsc
    riptlexer.o qscriptclassdata.o qscriptparser.o qscriptprettypretty.o qscriptsynt
    axchecker.o qscriptclass.o qscriptclasspropertyiterator.o qscriptstring.o qscrip
    tvalue.o qscriptvalueimpl.o qscriptvalueiterator.o qscriptvalueiteratorimpl.o -l
    ole32 -luuid
    copy qmake.exe C:\Qt\2009.01\qt\bin\qmake.exe
    1 file(s) copied.
    Creating makefiles in src...
    Generating Makefiles...
    Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
    C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_cre
    ate_more/Troll/4.5.0/qt\mkspecs
    Error processing project file: C:/Qt/2009.01/qt/projects.pro
    Qmake failed, return code 3

    for next command output is coming like this

    c:\Qt\2009.01\qt>mingw32-make
    mingw32-make: *** No targets specified and no makefile found. Stop.

  8. #28
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qssl

    remove C:\OpenSSL\lib\VC from LIB variable and try again.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  9. #29
    Join Date
    Apr 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Post Re: qssl

    same problem again,

    Setting up a MinGW/Qt only environment...
    -- QTDIR set to c:\Qt\2009.01\qt
    -- PATH set to c:\Qt\2009.01\qt\bin
    -- Adding c:\Qt\2009.01\bin to PATH
    -- Adding C:\WINDOWS\System32 to PATH
    -- QMAKESPEC set to win32-g++

    c:\Qt\2009.01\qt>configure -openssl

    This is the Qt for Windows Open Source Edition.

    You are licensed to use this software under the terms of
    the GNU Lesser Public License (LGPL) version 2.1 or GNU General Public License (
    GPL) version 3.

    Type 'L' to view the GNU Lesser General Public License version 2.1 (LGPLv2.1).
    Type '3' to view the GNU General Public License version 3 (GPLv3).
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.

    Do you accept the terms of the license?
    y
    Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
    Make sure you have the Direct3D SDK installed, and that you have run
    the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
    The D3D SDK library path *needs* to appear before the Platform SDK library
    path in your LIB environment variable.
    All the required DirectShow/Direct3D files couldn't be found.
    Make sure you have either the platform SDK AND the DirectX SDK or the Windows SD
    K installed.
    If you have the DirectX SDK installed, please make sure that you have run the <p
    ath to SDK>\SetEnv.Cmd script.
    Environment:
    INCLUDE=
    C:\OpenSSL\include\openssl

    LIB=
    C:\OpenSSL\lib\MinGW

    PATH=
    c:\Qt\2009.01\qt\bin
    c:\Qt\2009.01\bin
    c:\Qt\2009.01\mingw\bin
    C:\WINDOWS\System32
    You are licensed to use this software under the terms of the GNU LGPL version 2.
    1 or the GNU GPL version 3.
    See C:/Qt/2009.01/qt/LICENSE.LGPL
    or C:/Qt/2009.01/qt/LICENSE.GPL3

    Configuration:
    dist-config
    large-config
    medium-config
    minimal-config
    small-config
    full-config
    build_all
    debug
    Qt Configuration:
    release
    debug
    zlib
    png
    accessibility
    qt3support
    opengl
    openssl
    ipv6
    scripttools
    xmlpatterns
    webkit
    svg
    minimal-config
    small-config
    medium-config
    large-config
    full-config

    QMAKESPEC...................win32-g++ (env)
    Architecture................windows
    Maketool....................mingw32-make
    Debug symbols...............yes
    Accessibility support.......yes
    STL support.................yes
    Exception support...........yes
    RTTI support................yes
    MMX support.................no
    3DNOW support...............no
    SSE support.................no
    SSE2 support................no
    IWMMXT support..............no
    OpenGL support..............yes
    Direct3D support............no
    OpenSSL support.............yes
    QtDBus support..............no
    QtXmlPatterns support.......yes
    Phonon support..............no
    WebKit support..............yes
    QtScriptTools support.......yes
    Graphics System.............raster
    Qt3 compatibility...........yes

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

    Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

    Sources are in..............C:\Qt\2009.01\qt
    Build is done in............C:\Qt\2009.01\qt
    Install prefix..............C:\Qt\2009.01\qt
    Headers installed to........C:/Qt/2009.01/qt/include
    Libraries installed to......C:/Qt/2009.01/qt/lib
    Plugins installed to........C:/Qt/2009.01/qt/plugins
    Binaries installed to.......C:/Qt/2009.01/qt/bin
    Docs installed to...........C:/Qt/2009.01/qt/doc
    Data installed to...........C:/Qt/2009.01/qt
    Translations installed to...C:/Qt/2009.01/qt/translations
    Examples installed to.......C:/Qt/2009.01/qt/examples
    Demos installed to..........C:/Qt/2009.01/qt/demos

    Creating qmake...
    g++ -c -oqconfig.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Ige
    nerators/mac -IC:\Qt\2009.01\qt/include -IC:\Qt\2009.01\qt/include/QtCore -IC:\Q
    t\2009.01\qt/include -IC:\Qt\2009.01\qt/include/QtCore -IC:\Qt\2009.01\qt/src/co
    relib/global -IC:\Qt\2009.01\qt/include/QtScript -IC:\Qt\2009.01\qt/mkspecs/win3
    2-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -
    DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_Q
    MAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQM
    AKE_OPENSOURCE_EDITION C:\Qt\2009.01\qt/src/corelib/global/qconfig.cpp
    g++ -o qmake.exe project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.
    o option.o winmakefile.o projectgenerator.o property.o meta.o makefiledeps.o met
    amakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_dsp.o m
    svc_vcproj.o msvc_objectmodel.o qbitarray.o qbuffer.o qbytearray.o qcryptographi
    chash.o qvsnprintf.o qbytearraymatcher.o qconfig.o qdatetime.o qdir.o qdiriterat
    or.o qfile.o qtemporaryfile.o qfileinfo.o qabstractfileengine.o qfsfileengine.o
    qfsfileengine_iterator.o qfsfileengine_win.o qfsfileengine_iterator_win.o qgloba
    l.o qhash.o qiodevice.o qlibraryinfo.o qlistdata.o qlinkedlist.o qlocale.o qmall
    oc.o qmap.o qregexp.o qstring.o qstringlist.o qtextstream.o quuid.o qvector.o qu
    rl.o qsettings.o qsettings_win.o qvariant.o qmetatype.o qnumeric.o qscriptasm.o
    qscriptast.o qscriptastvisitor.o qscriptcompiler.o qscriptecmaarray.o qscriptecm
    aboolean.o qscriptecmacore.o qscriptecmadate.o qscriptecmafunction.o qscriptecma
    global.o qscriptecmamath.o qscriptecmanumber.o qscriptecmaobject.o qscriptecmare
    gexp.o qscriptecmastring.o qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o
    qscriptengine_p.o qscriptengineagent.o qscriptextenumeration.o qscriptextvarian
    t.o qscriptcontext.o qscriptcontextinfo.o qscriptfunction.o qscriptgrammar.o qsc
    riptlexer.o qscriptclassdata.o qscriptparser.o qscriptprettypretty.o qscriptsynt
    axchecker.o qscriptclass.o qscriptclasspropertyiterator.o qscriptstring.o qscrip
    tvalue.o qscriptvalueimpl.o qscriptvalueiterator.o qscriptvalueiteratorimpl.o -l
    ole32 -luuid
    copy qmake.exe C:\Qt\2009.01\qt\bin\qmake.exe
    1 file(s) copied.
    Creating makefiles in src...
    Generating Makefiles...
    Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
    C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_cre
    ate_more/Troll/4.5.0/qt\mkspecs
    Error processing project file: C:/Qt/2009.01/qt/projects.pro
    Qmake failed, return code 3


    c:\Qt\2009.01\qt>mingw32-make
    mingw32-make: *** No targets specified and no makefile found. Stop.

    c:\Qt\2009.01\qt>

  10. #30
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qssl

    hmm what is that directory:
    C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_cre
    ate_more/Troll/4.5.0/qt\mkspecs
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

Similar Threads

  1. Qssl
    By tpthyd in forum Qt Programming
    Replies: 16
    Last Post: 15th June 2009, 09:53
  2. Qt4.4 QSsl Won't Compile with MSVC2008
    By Surye in forum Installation and Deployment
    Replies: 2
    Last Post: 9th May 2008, 17:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.