Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. building static
    Log in to post

    • SOLVED QtCore.dll missing error after build static app
      General and Desktop • windows build deployment static qt building static • • IMAN4K  

      6
      0
      Votes
      6
      Posts
      4238
      Views

      Thanks @mrjj . The Problem was the Quazip that was linking to dynamic Qt libs witch Dependency walker won't show up at run time. First i should build it as static like so : TEMPLATE = lib CONFIG += qt warn_on QT -= gui DEFINES += QUAZIP_BUILD CONFIG += staticlib CONFIG(staticlib): DEFINES += QUAZIP_STATIC include(quazip.pri) Then i should link that in my .pro : . . . LIBS += -L$$PWD/quazip/ -lquazip INCLUDEPATH += $$PWD/quazip PRE_TARGETDEPS += $$PWD/quazip/quazip.lib DEFINES += QUAZIP_STATIC . . .
    • SOLVED Error building QT static
      General and Desktop • qt 5.6 building static • • Jedd  

      3
      0
      Votes
      3
      Posts
      1062
      Views

      That did it, Thanks!
    • Trying to build up Qt with static linking on windows via mingw+jom vs VS2012 & constantly getting it crashed, please help
      Installation and Deployment • building qt qt build failed building static qt crash • • gestalt  

      2
      0
      Votes
      2
      Posts
      1300
      Views

      Hi and welcome to devnet, Don't put Qt in your PATH environment variable, it will not help and might even make things worse when building on Windows. You don't need to set all these variable and specially you should not append PATH to all of them. Also, why are you calling configure in C:\Windows\System32 ?