Results 1 to 12 of 12

Thread: Somthing about Qt install and deploy!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Somthing about Qt install and deploy!

    How did you make the qmake work ?

    Usually paths are hard coded inside qt when u install it. With installer, patches are applied and hence you can install them to any directory.
    So as schnitzel said, uninstall and install fresh to new location.

  2. #2
    Join Date
    Mar 2009
    Location
    Nanjing,China
    Posts
    40
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Somthing about Qt install and deploy!

    Quote Originally Posted by aamer4yu View Post
    How did you make the qmake work ?

    Usually paths are hard coded inside qt when u install it. With installer, patches are applied and hence you can install them to any directory.
    So as schnitzel said, uninstall and install fresh to new location.
    set the env QMAKEPATH=D:\Qt\4.5.3 like this.
    them you can qmake your program.

  3. #3
    Join Date
    Mar 2009
    Location
    Nanjing,China
    Posts
    40
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Somthing about Qt install and deploy!

    Quote Originally Posted by aamer4yu View Post
    How did you make the qmake work ?

    Usually paths are hard coded inside qt when u install it. With installer, patches are applied and hence you can install them to any directory.
    So as schnitzel said, uninstall and install fresh to new location.
    yes,when you configure the Qt,it will generl the qtconfig.cpp and qtconfig.h . in the cpp,it will record the Qt path like F:\Qt\4.5.3.
    and when you run the qmake.exe,it will find the mkspecs path from qtconfig.cpp,but if you set the env QMKAEPATH,it will find the mkspecs path
    use the QMAKESPECS first. so I just set the env,and the qmake.exe goes ok.

Similar Threads

  1. Deploy on Windows XP ?
    By Anti in forum Newbie
    Replies: 3
    Last Post: 24th September 2009, 21:19
  2. how to deploy my application
    By yuvaraj.yadav in forum Installation and Deployment
    Replies: 5
    Last Post: 9th April 2009, 10:21
  3. Deploy Qt application on Mac OS X
    By giandrea77 in forum Installation and Deployment
    Replies: 3
    Last Post: 11th February 2009, 09:34
  4. Deploy app under many Mac OS and architecture
    By mourad in forum Installation and Deployment
    Replies: 2
    Last Post: 8th April 2008, 10:31
  5. How install fonts with make install
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 19:38

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
  •  
Qt is a trademark of The Qt Company.