Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build 5.1.0 from source, where are my dlls?
Forum Updated to NodeBB v4.3 + New Features

Build 5.1.0 from source, where are my dlls?

Scheduled Pinned Locked Moved Installation and Deployment
11 Posts 2 Posters 3.0k 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.
  • F Offline
    F Offline
    frankiefrank
    wrote on last edited by
    #1

    This may sound like a silly question but I was pretty sure that after a successful build I would get a bin folder full of the Qt DLLs. Am I missing something?

    I put the source folder in C:\Qt\5.1.0,

    Then with the VS2012 command prompt.:
    SET QMAKESPEC=win32-msvc2012
    SET QMAKE=C:\Qt\5.1.0\qtbase
    SET PATH=C:\Qt\5.1.0\qtbase\bin;%PATH%
    configure -debug-and-release -opensource -platform win32-msvc2012 -opengl
    desktop -static -nomake webkit -nomake examples -nomake tests

    Then "jom" which took its time but doesn't seem like there are any errors. Still my qtbase/bin folder doesn't have the Qt DLLs I'm expecting to find.

    Am I doing something wrong?

    "Roads? Where we're going, we don't need roads."

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You have -static in your configure option, this will get you only lib files, the dlls are for the shared build

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • F Offline
        F Offline
        frankiefrank
        wrote on last edited by
        #3

        Thanks! That sure makes sense.

        But now I'm having problems with the linking. The first one I encounter (from the jom output) is:

        ui4.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QXmlStreamStringRef::operator class QStringRef(void)const " (_imp??BQXmlStreamStringRef@@QBE?AVQStringRef@@XZ) referenced in function "public: void __thiscall DomAction::read(class QXmlStreamReader &)" (?read@DomAction@@QAEXAAVQXmlStreamReader@@@Z)

        Am I missing a prerequisite?

        "Roads? Where we're going, we don't need roads."

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Are you building your program with your static Qt build ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • F Offline
            F Offline
            frankiefrank
            wrote on last edited by
            #5

            No I cleaned, ran configure again without the -static keyword, and now I get these linking errors.

            "Roads? Where we're going, we don't need roads."

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Did you add

              @QT += xml@

              to your pro file ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • F Offline
                F Offline
                frankiefrank
                wrote on last edited by
                #7

                I'm getting this from trying to compile the Qt 5.1.0 sources. Should I be doing any modifications for that?

                "Roads? Where we're going, we don't need roads."

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  No, but you should try from a "clean" command prompt (no variable settings before building)

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    frankiefrank
                    wrote on last edited by
                    #9

                    Hi SGalst and thanks for your repeated helpful posts.

                    I think I'll just go to the VS2010 win 32bit opengl version which does have pre-built binaries and leave the mess behind.

                    Thanks again!

                    "Roads? Where we're going, we don't need roads."

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      You're welcome, one last idea, did you get the source's zip file ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        frankiefrank
                        wrote on last edited by
                        #11

                        Yes I did.

                        "Roads? Where we're going, we don't need roads."

                        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