Results 1 to 4 of 4

Thread: How to uninstall Qt 4 after having deleted the source tree?

  1. #1
    Join Date
    Jan 2006
    Location
    11 N 78 E
    Posts
    110
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to uninstall Qt 4 after having deleted the source tree?

    On X11 when I do ./configure && make && make install, all files are by default installed into something like /usr/local/Trolltech/Qt-4.x.x. Now since the compile tree occupies 1 GB on my HDD which I would like to free, I would like to delete the compile tree. But if I do that I can't do make uninstall to remove Qt. What are the options?

    1. Can I just remove the install directory and that's all? Will there be any residual files or environment variables left?
    2. Can I just keep the makefile and remove the rest of the tree, so that I can still do make uninstall? Would that work?


    I am asking here so I can be sure of a way out before I delete my tree. Thanks.
    Penguin #395953 using Qt for open-source development on X11 using C++ and
    Python via PyQt

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

    Default Re: How to uninstall Qt 4 after having deleted the source tree?

    To uninstall just remove the directory where Qt was installed. If you didn't customise the installation too much, all files are in one directory.

  3. #3
    Join Date
    Jan 2006
    Location
    11 N 78 E
    Posts
    110
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to uninstall Qt 4 after having deleted the source tree?

    Quote Originally Posted by wysota View Post
    To uninstall just remove the directory where Qt was installed. If you didn't customise the installation too much, all files are in one directory.
    How about environmental variables? Does Qt set any at default install which I have to undefine at uninstall? I am talking on X11 platforms only.

    Thanks.
    Penguin #395953 using Qt for open-source development on X11 using C++ and
    Python via PyQt

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to uninstall Qt 4 after having deleted the source tree?

    No, on Linux (Unix), you have to set the env vars manually, in a startup script. If you haven't set them yet then it means they aren't there.

  5. The following user says thank you to marcel for this useful post:

    jamadagni (19th April 2007)

Similar Threads

  1. out of source qtopiamake???
    By izico in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 20th March 2007, 18:31
  2. Optimizing filterAcceptsRow() to filter a tree
    By vfernandez in forum Qt Programming
    Replies: 1
    Last Post: 4th January 2007, 12:50

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.