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 ...
- 05-31-2009 #1
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.
- 05-31-2009 #2
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.
- 05-31-2009 #3
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?
- 05-31-2009 #4
You have to install libqt4 and libqt4-dev libraries, that wont include Qt Develop.
- 05-31-2009 #5
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?
- 06-01-2009 #6
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.
- 06-01-2009 #7
- 12-28-2009 #8Just 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?
- 12-28-2009 #9
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.
- 12-28-2009 #10Just 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.


Reply With Quote

