Results 1 to 3 of 3

Thread: How to do a superclean install of QT 4.7.4

  1. #1
    Join Date
    Oct 2011
    Location
    Montreal
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default How to do a superclean install of QT 4.7.4

    Before responding with advice, here is my situation. I programmed in C for 20 years, never did object oriented design. At Christmas I immersed myself in C++, and in August, I downloaded via UBUNTU and FEDORA systems, their QT installation files. A program was written by one of my system interns, but he has returned to University without wanting to further support the software or enhancements.

    Using Ubuntu, we have 4.6.x libraries, and using Fedora we have 4.7.x libraries. I experience problems that the 4.6 stuff does not run on 4.7 based environments and vice-versa. binaries are Linux vendor or release dependent.

    This is a problem to me. I am trying to develop embedded QT stuff, after proper testing with either Fedora or Ubuntu. I also see that there are static library builds.


    Since I want to be current with QT, I have a request for installation help and if for the future Qt has a standardized installation for Debian or Redhat. Currently from the Sept 1 download I run the SDK, but after that I run I find that the qmake and libraries are from another Qt version.
    Today I took a netbook system, wiped it clean and reinstalled UBUNTU long term support package. I now ask for help to do a by-the-book installation of QT4.74 using the website information. But the Qt information is not centralized*.

    Can there not be a single DEB file or a single RPM file that one can use for Linux? This single file will do for both the software and library installations, and take away much frustration.

    So, here I go again with a request for help with setting up a clean Qt installation.

  2. #2
    Join Date
    Nov 2011
    Location
    Oulu, Finland
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to do a superclean install of QT 4.7.4

    You mean that Ubuntu, Debian, Fedora or any other Linux distribution contain different Qt version? That may well be true, and in that case, you don't install Qt from distributions' repository, instead you install it via http://qt.nokia.com/downloads (choosing the right online installer) and you should get same versions to both machines. You have administrator access rights for both (all) machines you are using? Or did I miss something?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to do a superclean install of QT 4.7.4

    Both Debian and Fedora arw Linix Standard Base (LSB) compliant so it should be possible to run a binary built on one system on the other. However you must make sure the build is done in LSB compliant way. Be aware that different distros might apply different patches to Qt so it is best to build abd test your app against a vanilla flavour of Qt. Running a binary built against 4.6 on a system equipped with Qt 4.7 should work. It won't work the other way round.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 6
    Last Post: 13th March 2011, 23:49
  2. How to install qt in arm?
    By cheranj in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 8th September 2010, 07:14
  3. Replies: 4
    Last Post: 18th April 2010, 00:37
  4. How install fonts with make install
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 19:38
  5. "make install" doesn't install binary
    By jiveaxe in forum Newbie
    Replies: 2
    Last Post: 2nd January 2008, 12:00

Tags for this Thread

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.