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. Prefixed for life?
Forum Updated to NodeBB v4.3 + New Features

Prefixed for life?

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 1.3k 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.
  • Q Offline
    Q Offline
    qtoptus
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • Q Offline
        Q Offline
        qtoptus
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          macetw
          wrote on last edited by
          #4

          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
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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
            0

            • Login

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