Results 1 to 3 of 3

Thread: Qt Build Problem with OpenSSL using MinGW

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Qt products
    Qt3 Qt4 Qt/Embedded

    Default Qt Build Problem with OpenSSL using MinGW

    Hi all,

    I’ve tried to build Qt with OpenSSL using MinGW. But the following warning has been thrown at the stage of configure.exe. Also the mingw32-make of next stage has been failed. How can I get this MSVC warning although it is configured by MinGW (GCC compiler). I’ve used OpenSSL binaries (Win64OpenSSL-1_0_1c.exe), can it the reason of problem? Must I build the openssl from it’s source with MinGW?

    generators/win32/msvc_vcproj.cpp:77 non-local variable ‘<anonymous struct> dotNetCombo []’ uses anonymous type

    configure.exe -shared -debug-and-release -opensource -confirm-license -platform win32-g++ -no-exceptions -no-qt3support -qt-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -no-webkit -nomake tests -nomake demos -nomake examples -openssl-linked -I C:\OpenSSL\include -L C:\OpenSSL\lib

    Thans advance for your helps and clarifications,

  2. #2
    Join Date
    Sep 2011
    Thanked 127 Times in 126 Posts
    Qt products

    Default Re: Qt Build Problem with OpenSSL using MinGW

    maybe try with -no-vcproj
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Mar 2009
    Brisbane, Australia
    Thanked 1,599 Times in 1,527 Posts
    Qt products
    Qt4 Qt5
    Unix/X11 Windows
    Wiki edits

    Default Re: Qt Build Problem with OpenSSL using MinGW

    Are you using a 64-bit MingW? If not then using a 64-bit OpenSSL library is not likely to be be productive.

    The warning is coming from building the code in qmake that allows generating a VC project, not from VC itself. It's only a warning, not an error.

Similar Threads

  1. Build qt 4.8.3 with openssl with VS2012
    By Edder in forum Installation and Deployment
    Replies: 1
    Last Post: 12th December 2012, 19:08
  2. Replies: 2
    Last Post: 19th April 2011, 19:14
  3. windows 7 + mingw + qt 4.x + qca 2.x + openssl 0.98
    By jm in forum Installation and Deployment
    Replies: 0
    Last Post: 1st June 2010, 09:50
  4. Problem Configure openssl static build
    By in forum Installation and Deployment
    Replies: 0
    Last Post: 16th March 2010, 18:28
  5. Get ml.exe to build OpenSSL on VS 2005
    By captchaq in forum General Programming
    Replies: 1
    Last Post: 27th September 2008, 08:43

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.