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. PATH to libgcc_s_dw2-1.dll and mingwm10.dll in Qt 4.8.1
Forum Updated to NodeBB v4.3 + New Features

PATH to libgcc_s_dw2-1.dll and mingwm10.dll in Qt 4.8.1

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 4.9k 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.
  • M Offline
    M Offline
    metRo_
    wrote on last edited by
    #1

    Hi,
    From Qt 4.8.0 to Qt 4.8.1 the files libgcc_s_dw2-1.dll and mingwm10.dll disappear from 'C:\QtSDK\Desktop\Qt\4.8.01\mingw\bin' and only exist in 'C:\QtSDK\mingw\bin'.
    I used QT_INSTALL_BINS to know where are the libs I need to deploy my application.
    There are any QT PATH to 'C:\QtSDK\mingw\bin' ?

    Thanks :)

    1 Reply Last reply
    0
    • F Offline
      F Offline
      franku
      wrote on last edited by
      #2

      Try qmake -query, this will give you a list of qmake environment variables.

      This, Jen, is the internet.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        metRo_
        wrote on last edited by
        #3

        [quote author="franku" date="1343424816"]Try qmake -query, this will give you a list of qmake environment variables.[/quote]

        I had already tried that but can't find it:

        bq. C:\Windows\system32>qmake -query
        QT_INSTALL_PREFIX:C:\QtSDK\Desktop\Qt\4.8.1\mingw
        QT_INSTALL_DATA:C:\QtSDK\Desktop\Qt\4.8.1\mingw
        QT_INSTALL_DOCS:C:\QtSDK\Desktop\Qt\4.8.1\mingw\doc
        QT_INSTALL_HEADERS:C:\QtSDK\Desktop\Qt\4.8.1\mingw\include
        QT_INSTALL_LIBS:C:\QtSDK\Desktop\Qt\4.8.1\mingw\lib
        QT_INSTALL_BINS:C:\QtSDK\Desktop\Qt\4.8.1\mingw\bin
        QT_INSTALL_PLUGINS:C:\QtSDK\Desktop\Qt\4.8.1\mingw\plugins
        QT_INSTALL_IMPORTS:C:\QtSDK\Desktop\Qt\4.8.1\mingw\imports
        QT_INSTALL_TRANSLATIONS:C:\QtSDK\Desktop\Qt\4.8.1\mingw\translations
        QT_INSTALL_CONFIGURATION:C:/QtSDK/Desktop/Qt/4.8.1/mingw
        QT_INSTALL_EXAMPLES:C:\QtSDK\Examples\4.7
        QT_INSTALL_DEMOS:C:\QtSDK\Demos\4.7
        QMAKE_MKSPECS:C:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs
        QMAKE_VERSION:2.01a
        QT_VERSION:4.8.1

        C:\Windows\system32>

        1 Reply Last reply
        0
        • F Offline
          F Offline
          franku
          wrote on last edited by
          #4

          What about going relative to one of the paths (didn't test, just an idea)?

          @
          PATH_TO_DEPLOY_LIBS = $$[QT_INSTALL_BINS]../../../../../mingw/bin
          @

          This, Jen, is the internet.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nomegenerico
            wrote on last edited by
            #5

            [quote author="franku" date="1343464341"]What about going relative to one of the paths (didn't test, just an idea)?

            @
            PATH_TO_DEPLOY_LIBS = $$[QT_INSTALL_BINS]../../../../../mingw/bin
            @[/quote]

            I have the same issue and I used this method but this is a workaround that only work for the current (and past) QtSDK (sdk version 1.2.1 with qt-4.8.1).

            The question is:
            If you would like to use an independent MinGW installation, and you configured your custom toolchain in qtcreator, is there a way to retrive the path of the used compiler from within the .pro project file (and to locate the runtimes .dll...)?

            Something like an environment variable "QMAKE_COMPILER_DIR" (witch does not exist) or such.

            Thanks in advance!

            P.S.: The current distribution of Qt4.8.3 have a copy of these files under
            <path>\Qt-4.8.3\bin (corresponding to $$[QT_INSTALL_BINS])
            Why? I guess I should use the one shipped with the mingw distribution
            used to compile. (In the sdk there are different version for different
            toolchains...)

            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