Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Hi all, I need to install qt in my debian (lenny) .But I dont need qt designer and all. because I have a full fledged qt in my windows. I ...
  1. #1
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Install Qt ; Debian beginner



    Hi all,
    I need to install qt in my debian (lenny) .But I dont need qt designer and all. because I have a full fledged qt in my windows. I read that the output file of qt designer - .PRO file is cross platform. So I don't wast my valubale disk space in linux also. I need only components for qmake. So I want other qt tools with lesser disk space using apt-get. Could you please tell me how to download it?
    Also I have heared that gtk for gnome and qt for KDE. My debian uses Gnome. Then Can I make programs in Gnome enveironment using Qt?
    Please Reply.

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    There is package named "qt4-qmake", separeted from qt4-dev-tools in newer versions only.
    If it doesn't exists in repository you can download it and install it indivisually.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Is it possible to build qt applications only with qmake

    I downloaded the file qt4-qmake . If I have a .pro file and appropriate .cpp files, is it possible to build one? where is the qt library? Is it included with it?

  4. #4
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    You have to install libqt4 and libqt4-dev libraries, that wont include Qt Develop.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  5. #5
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Thanks a lot

    Thats it. I did it successfully.
    But I only installed 'libqt4-dev' (22Mb). 'libqt4' fails while downloading using apt-get. But still it works. Very Thanks

    But why don't you answer my second question?
    "Also I have heared that gtk for gnome and qt for KDE. My debian uses Gnome. Then Can I make programs in Gnome enveironment using Qt?"
    I know it can be executed because , I have done it. But why everybody says that gtk for gnome and qt for kde?

  6. #6
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Quote Originally Posted by Tom Varghese View Post
    But why don't you answer my second question?
    "Also I have heared that gtk for gnome and qt for KDE. My debian uses Gnome. Then Can I make programs in Gnome enveironment using Qt?"
    I know it can be executed because , I have done it. But why everybody says that gtk for gnome and qt for kde?
    Well, You heard that is wrong... It should be like this
    "Gnome prefers GTK, and KDE prefers Qt", so most of the Gnome gui development is done using GTK and for KDE its Qt.

    GTK and Qt are the toolkits/libraries to make GUI both supports languages like C++, Python and many more. You can use GTK/QT not just on KDE/Gnome but also on other platforms like Mac OS X and Microsoft Windows. so It does not mean that once you use Gnome or KDE you have to stick with GTK or QT respectively.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  7. #7
    Linux Newbie Tom Varghese's Avatar
    Join Date
    Apr 2008
    Posts
    101

    Thanks

    Thanks a lot !!!

  8. #8
    Just Joined!
    Join Date
    Dec 2009
    Posts
    5

    QT installation in debian

    How to install complete QT package in debian? And then how to launch QT designer?

  9. #9
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Install packages like libqt4-dev-tools
    You need to install specific bindings that you want to use. default are C++.
    for python there is python-qt4,
    and for ruby there is ruby-qt4 packages.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  10. #10
    Just Joined!
    Join Date
    Dec 2009
    Posts
    5
    apt-get install libqt4-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    g++: Depends: cpp (>= 4:4.3.4-1) but 4:4.3.2-2 is to be installed
    Depends: gcc (>= 4:4.3.4-1) but 4:4.3.2-2 is to be installed
    Depends: g++-4.3 (>= 4.3.4-1) but 4.3.2-1.1 is to be installed
    Depends: gcc-4.3 (>= 4.3.4-1) but 4.3.2-1.1 is to be installed
    g++-4.3: Depends: libstdc++6-4.3-dev (= 4.3.2-1.1) but it is not going to be installed
    libqt3-mt: Depends: libaudio2 but it is not going to be installed
    Depends: libmng1 (>= 1.0.3-1) but it is not going to be installed
    libqt3-mt-dev: Depends: libxext-dev (>= 4.3.0.dfsg.1-4) but it is not going to be installed
    Depends: libxrandr-dev (>= 4.3.0.dfsg.1-4) but it is not going to be installed
    Depends: libsm-dev (>= 4.3.0.dfsg.1-4) but it is not going to be installed
    Depends: libxmu-dev (>= 4.3.0.dfsg.1-4) but it is not going to be installed
    Depends: libice-dev (>= 4.3.0.dfsg.1-4) but it is not going to be installed
    Depends: libx11-dev (>= 4.3.0.dfsg.1-4) but it is not going to be installed
    Depends: libxt-dev (>= 4.3.0.dfsg.1-4) but it is not going to be installed
    Depends: libxrender-dev but it is not going to be installed
    Depends: libxcursor-dev but it is not going to be installed
    Depends: libxinerama-dev but it is not going to be installed
    Depends: libxi-dev but it is not going to be installed
    Depends: zlib1g-dev but it is not going to be installed
    Depends: libjpeg62-dev but it is not going to be installed
    Depends: libmng-dev (>= 1.0.3) but it is not going to be installed
    Depends: libpng12-dev but it is not going to be installed or
    libpng12-0-dev
    Depends: libfontconfig1-dev but it is not going to be installed
    Depends: libfreetype6-dev but it is not going to be installed
    Depends: libxft-dev but it is not going to be installed
    Depends: libaudio-dev but it is not going to be installed
    Depends: libcups2-dev but it is not going to be installed
    Depends: libgl1-mesa-dev but it is not going to be installed or
    libgl-dev
    Depends: libglu1-mesa-dev but it is not going to be installed or
    libglu-dev
    Depends: libc6-dev but it is not going to be installed
    Depends: qt3-dev-tools (= 3:3.3.8b-6) but it is not going to be installed
    libqt4-dev: Depends: libqt4-dbus (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-qt3support (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-xml (= 4.4.3-1) but it is not going to be installed
    Depends: libqtcore4 (= 4.4.3-1) but it is not going to be installed
    Depends: libqtgui4 (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-network (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-svg (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-webkit (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-sql (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-script (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-xmlpatterns (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-designer (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-help (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-assistant (= 4.4.3-1) but it is not going to be installed
    Depends: libqt4-test (= 4.4.3-1) but it is not going to be installed
    Depends: qt4-qmake (= 4.4.3-1) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    I get this error. I don't know how to correct it.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •