Results 1 to 7 of 7

Thread: Install QT4 over QT3

  1. #1
    Join Date
    Feb 2006
    Posts
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Thumbs down Install QT4 over QT3

    I'm currently using QT3 comes with the KDE3 with Mandrake Linux. Now I want to Update it to QT4. Can anybody tells me how to do it.
    Last edited by machathu; 2nd March 2006 at 08:02.

  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: Install QT4 over QT3

    Did you search the forum for solutions? Did you read the installation document which comes with Qt4? What did you do at all?

  3. #3
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Install QT4 over QT3

    You don't install Qt 4 over Qt 3. KDE currently relies on Qt 3, it simply doesn't work with Qt 4.

    So just install Qt 3 and Qt 4 side by side.

  4. #4
    Join Date
    Feb 2006
    Posts
    9
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Install QT4 over QT3

    I think that you have kde 3.x and have qt3.

    So your paths are ok to work with qt3.

    So the problem appear when you install qt4 when you have already qt3.

    Yo need download qt4 and follow the instruccions.

    But stop when the install instructions talk about the path definition.

    This is the real problem, when you write qmake in the console inside your project directory
    but what qmake your call the qmake from qt3 o qt4.

    so i am not expert but why you dont modify your .bashrc and when you want to use qt3 comment the path for qt4 and viceversa when you want to use qt4.

    you maybe can do a script to do this easier.

    Or anybody knows something better?

  5. #5
    Join Date
    Jan 2006
    Location
    Scandinavia
    Posts
    62
    Thanks
    5
    Thanked 2 Times in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Install QT4 over QT3

    I have done the following to use Qt3 and Qt4 side by side

    Qt Code:
    1. setQt4
    To copy to clipboard, switch view to plain text mode 
    is an alias defined in my .cshrc file which sets QTDIR to point to the Qt4. When I use qmake I use an alias for Qt 4's qmake i.e. 'qmake4'. Another way to do this could have been to use the setQt4 alias to set the PATH.

    Good luck,
    KjellKod

  6. #6
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Install QT4 over QT3

    why the hell are you using such ugly workarounds ?
    on my Kubuntu 5.10 the default way :

    ./configure
    make
    make install

    worked fine...
    Current Qt projects : QCodeEdit, RotiDeCode

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Install QT4 over QT3

    Quote Originally Posted by fullmetalcoder
    why the hell are you using such ugly workarounds ?
    Do you use both Qt 3 and Qt 4 at the same time?

Similar Threads

  1. A Guide to Install MinGW, Qt4 and Eclipse Integration on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 10
    Last Post: 5th August 2009, 04:03
  2. Mac Qt 4.5 Commercial install does not appear to work
    By gmat4321 in forum Installation and Deployment
    Replies: 0
    Last Post: 6th January 2009, 14:10
  3. How to install Qt ???
    By dany_MB in forum Installation and Deployment
    Replies: 4
    Last Post: 2nd October 2008, 08:53
  4. Replies: 4
    Last Post: 17th May 2007, 15:24
  5. Cannot Install KDEdevel packages on linux
    By wirajr in forum KDE Forum
    Replies: 12
    Last Post: 5th February 2006, 21:01

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.