Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Qt Build Problem with OpenSSL using MinGW
Forum Updated to NodeBB v4.3 + New Features

[Solved] Qt Build Problem with OpenSSL using MinGW

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yaseminyilmaz
    wrote on last edited by
    #1

    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

    Thanks advance for your helps and clarifications,

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      yaseminyilmaz
      wrote on last edited by
      #2

      The problem has been solved by building OpenSSL and Qt libraries from theirs source. There has been QtSDK with Qt 4.8.0 on my system before. Then I've built Qt 4.8.4 libraries with the last MinGW version in order to add openssl support. Now when I add Qt 4.8.4 build configuration from Qt Creator's projects settings, it crashes (forced to close). How should I do the transition between different Qt libraries built by different MinGW versions?

      Qt SDK 4.8.0 libraries built by C:\QtSDK\mingw\bin
      Qt 4.8.4 libraries built by the last MinGW version (C:\MinGW\bin)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved