Results 1 to 3 of 3

Thread: Prefixed for life?

  1. #1
    Join Date
    Apr 2010
    Posts
    152
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Prefixed for life?

    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.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Prefixed for life?

    There are paths built into various files:
    http://stackoverflow.com/questions/4...40221#17640221

    You might start by relocating the directory and putting a qt.conf file in the bin folder alongside qmake containing the new path:
    Qt Code:
    1. [Paths]
    2. Prefix = C:/Qt/5.2.1
    3. Demos = demos
    4. Examples = examples
    To copy to clipboard, switch view to plain text mode 
    Then see what else might need changing in "qmake -query"

  3. #3
    Join Date
    Apr 2010
    Posts
    152
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Prefixed for life?

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

Similar Threads

  1. Conway's life visualization
    By qutron in forum Newbie
    Replies: 2
    Last Post: 30th December 2010, 16:13
  2. freeing my memory (life should be lived forwards)
    By baray98 in forum General Programming
    Replies: 13
    Last Post: 25th September 2007, 23:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.