Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Prefixed for life?

    Installation and Deployment
    3
    5
    1071
    Loading More Posts
    • 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.
    • Q
      qtoptus last edited by

      Successfully built for VS 2013 using configure -prefix...but the problem I cannot move the Qt library directory where it was built otherwise I will get run time errors related to DLLs not found...I even tried to run the designer and assistant and they would not run unless the Qt folder is kept the same as it was built. Any idea if this can changed or do I need to rebuild without this -prefix option?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        You may find "this":http://qt-project.org/faq/answer/is_it_possible_to_move_the_qt_directory_to_another_directory_after_installa interesting

        Hope it help

        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 Reply Quote 0
        • Q
          qtoptus last edited by

          Thanks! I will try this, and maybe next time rebuild without "prefix" option.

          1 Reply Last reply Reply Quote 0
          • M
            macetw last edited by

            I believe that as long as you either
            a) have your QT dll's in the same directory as your .exe ... or
            b) have your QT dll directory in your PATH ...
            ... the application will find them and load them correctly at runtime.

            [edit] I'm sorry, I failed to notice this is a build-time, not run-time, issue. Yeah, that qt.conf solution is what you need. It's a great solution!

            1 Reply Last reply Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              The prefix option will not influence the matter, if you don't specify it the built libraries are prefixed with a default value

              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 Reply Quote 0
              • First post
                Last post