parent
6c38cab10a
commit
620b34b176
@ -0,0 +1,277 @@
|
||||
Qt for Debian README
|
||||
--------------------
|
||||
|
||||
1. Preface
|
||||
|
||||
This README is intended to give developers and users exact information
|
||||
about how the qt-x11-free package provided by TrollTech AS has been packaged
|
||||
for Debian in case you either want to faciliate it for development
|
||||
of applications and libraries or plugins using the Qt class library. With
|
||||
qt-x11-3.1.1, the Debian packages have been massively restructured to get
|
||||
the most out of theoriginal Qt package and spit the contents up into
|
||||
several packages so that they make the most sensefor several groups of
|
||||
users; developers, application users, translators of Qt-based
|
||||
applications and Debian packagers who are packaging applications developed
|
||||
with Qt.2.
|
||||
|
||||
2. General Overview
|
||||
|
||||
As Qt is a huge package that contains a complete environment for
|
||||
developers, it needs to be split up into several packages that make it
|
||||
easier for everyone else to handle it and not to retquire
|
||||
unnecessary disk space for end-users. Additionally, Qt can be configured
|
||||
in several ways - and therefore also used in several ways. Qt development
|
||||
usually retquires the environment variable QTDIR. As Debian is placing
|
||||
libraries and header files in a tquite specific filesystem order, this
|
||||
usually breaks setting a single environment variable to meet the
|
||||
retquirements of packages. Therefore, symlinks are used to set up the system
|
||||
to meet both, the Debian filesystem standard and the QTDIR variable. All of
|
||||
Qt (so the QTDIR path) is available in /usr/share/tqt3. If you need to set
|
||||
QTDIR, do export QTDIR=/usr/share/tqt3
|
||||
|
||||
As far as the common build configuration goes, we note explicitely that the
|
||||
Debian package of Qt will in very rare cases break the compilation (most
|
||||
likely the linking) of applications on Debian which use Qt, in particular
|
||||
utilizing styles in an incorrect way by deriving from one of the styles
|
||||
that ship with Qt. In case you are a Debian packager and encounter
|
||||
problems, contact Debian Qt/KDE Maintainers (debian-qt-kde@lists.debian.org).
|
||||
We will tell you why things don't work and what you should communicate on
|
||||
with the programmers of your application that you are packaging. The build
|
||||
configuration generally is intended to provide a Qt version that is as
|
||||
small as possible in terms of the memory size it retquires. Therefore,
|
||||
everything inside Qt that can be compiled as plugins has been compiled that
|
||||
way. This includes:
|
||||
|
||||
- imageformats: jpeg and mng - codecs (for languages like arab, japanese
|
||||
etc provided with Qt)
|
||||
- sql drivers for databases (MySQL, ODBC and PostgreSQL)
|
||||
|
||||
The only exception is the imageformat png which has been compiled built-in
|
||||
due to the fact that there is literally no program that uses no icons at
|
||||
all and icons are to be used preferrably in png format. The plugins are all
|
||||
located under /usr/lib/tqt3/plugins. This is also the install location you
|
||||
should choose as a package maintainer for
|
||||
qt-plugins so the user doesn't have to customize his library path for
|
||||
loading Qt plugins. The only exception is that KDE delivers a set of Qt
|
||||
plugins as well (mainly styles and designer plugins); those are placed in
|
||||
/usr/lib/trinity/plugins.
|
||||
|
||||
QMotif Extension: As this code is only available in commercial environments
|
||||
(and produces a static library libqmotif.a anyway that those commercial
|
||||
applications have to be linked against in addition to Qt), we left out all
|
||||
header files of the libtqt3-headers package that are belonging to this
|
||||
QMotif extension.
|
||||
|
||||
Oracle Database driver, Sybase & Microsoft SQL Server driver: Those drivers
|
||||
are only available in a commercial version of Qt due to license
|
||||
incompatibilities with the GPL. If you need to faciliate those drivers,
|
||||
please visit http://www.trolltech.com and have a read at
|
||||
http://doc.trolltech.com/3.0/sql-driver.html.
|
||||
|
||||
3. Packages (End-User)
|
||||
|
||||
The Qt built has been split up into several packages that allow for easy
|
||||
installation for all types of users. The End-user usually only retquires to
|
||||
have the following packages installed to run an application that links
|
||||
against Qt:
|
||||
|
||||
Threaded version:libtqt3-mt (the library libtqt-mt.so.* and libtqui.so.* for
|
||||
loading designer-made user interfaces at runtime).
|
||||
|
||||
Optionally depending on the program's retquirements:
|
||||
|
||||
libtqt3-mt-odbc
|
||||
libtqt3-mt-mysql
|
||||
libtqt3-mt-psql
|
||||
|
||||
In addition to the libraries, it may make sense to install the program
|
||||
qtconfig to customize the look and behaviorof Qt programs. If you have KDE
|
||||
installed, the KDE control center will take this task automatically in most
|
||||
cases. qtconfig is available in the package tqt3-qtconfig.
|
||||
|
||||
Also, Qt programs can make use of the online-help tool that ships with Qt,
|
||||
the Qt Assistant. The Assistant can be installed with the package
|
||||
qt3-assistant.
|
||||
|
||||
Qt Configuration files
|
||||
----------------------
|
||||
Qt programs most often use QSettings to store their information in configuration
|
||||
files. With Qt 3.2, the new option --sysconfdir has been introduced that allows
|
||||
us to use /etc/tqt3 as the system-wide location where qt-program specific global
|
||||
configuration files can go. If you're a programmer that wants to get familiar with
|
||||
that, please look at the examples, documentation and the code in designer or
|
||||
assistant as well as qtconfig.
|
||||
|
||||
4. Packages (Package maintainers)
|
||||
|
||||
In addition to the library, a package maintainer will retquire an additional
|
||||
set of packages to compile a package that retquires Qt. Depending on the
|
||||
version of the qt library, you will retquire a different set of packages;
|
||||
the most common option should be to make your application link against the
|
||||
multi-threaded version (-mt).Packages necessary for compiling Qt
|
||||
applications from source:
|
||||
|
||||
libtqt3-mt-dev (use libtqt3-dev for linking against -lqt, this package only
|
||||
contains the .so files and the header file for libtqui.so)
|
||||
|
||||
libtqt3-headers (header files for libqt and libtqt-mt)
|
||||
|
||||
qt3-dev-tools (this package contains the tools uic and moc as well as
|
||||
qmake, retquired for building Qt applications)
|
||||
|
||||
If, however, you encounter an older program not to compile with this set
|
||||
read the FAQ at the end of this document.
|
||||
|
||||
5. Packages (Developers)
|
||||
|
||||
In addition to the packages that packagers retquire, a developer usually
|
||||
will retquire the Qt API documentationas well as tools like the assistant,
|
||||
linguist or designer. However, you should be fine with installing the API
|
||||
documentation that you can browse with a webbrowser, optionally with the
|
||||
assistant. They are available in /usr/share/doc/tqt3-doc/html.
|
||||
For a regular development environment, install tqt3-designer and tqt3-doc.
|
||||
|
||||
For faciliating Qt's extended environment to write plugins for the Qt
|
||||
Designer or extend the Designer as well as utilizing the Qt Assistant by
|
||||
calling it from within your program, install tqt3-apps-dev, which contains
|
||||
the static libraries and header files retquired for this functionality.
|
||||
|
||||
For Embedded Developers, the program qvfb (Qt Virtual Frambuffer) and
|
||||
makeqpf (embedded fonts tool)have been packaged into
|
||||
qt3-dev-tools-embedded. For developers that work on migrating their program
|
||||
from any Qt version prior to Qt 3.x to the Qt 3.x platform you will find
|
||||
additional tools in the tqt3-dev-tools-compat.
|
||||
|
||||
For using the QTranslator class and where to find the qm-file for qt as
|
||||
well as where to place your translations,see the next section.
|
||||
|
||||
If your program doesn't compile with those settings in case you have
|
||||
started your project with Qt 1.x or 2.x, please read the FAQ section at the
|
||||
end of this document.
|
||||
|
||||
5. Packages (Translators)
|
||||
|
||||
In order to translate a Qt program into any other language, the Qt 3 way to
|
||||
do this is to let the developer create a ts-file containing the strings
|
||||
that the program exposes on the user interface. The tools to create the
|
||||
ts-file and to create the final qm (Q-message binary) file, lupdate and
|
||||
lrelease, are included in tqt3-dev-tools.The single translator that only
|
||||
gets provided the ts file and has to return a translated ts file, it
|
||||
is absolutely enough to install tqt3-linguist; the package tqt3-assistant can
|
||||
be installed to access the online-help for the Qt Linguist itself.
|
||||
In case you're converting an application using Qt prior to Qt 3, you may
|
||||
want to uitilize the tqt3-dev-tools-compat which include the necessary tools
|
||||
to convert older qm files to the new ts file standard.
|
||||
|
||||
Locations of message translations:
|
||||
|
||||
Qt ships with a set of translations for the strings used inside Qt. Those
|
||||
translations will be installed into /usr/share/tqt3/translations (qm files
|
||||
only), which equals $QTDIR/translations respectively
|
||||
qInstallPath() + QString( "/translations" ).
|
||||
|
||||
The configure option --translationdir has been set to /usr/share/tqt3/translations
|
||||
accordingly since it was introduced in Qt 3.2.
|
||||
|
||||
To correctly enable your program to display the translations to the Qt
|
||||
library and to load the translation of the program itself, we currently
|
||||
suggest to either install your translations along with any other data files
|
||||
into/usr/share/<appname>/, translation files into the subdirectory
|
||||
translations (that is /usr/share/<appname>/translations) The code that your
|
||||
application should use to load the Qt translation will have to look like
|
||||
the following:
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
QApplication app( argc, argv );
|
||||
|
||||
// translation file for Qt
|
||||
QTranslator qt( 0 );
|
||||
qt.load( QString( "qt_" ) + QTextCodec::locale(), qInstallPath() +
|
||||
QString( "/translations" );
|
||||
app.installTranslator( &qt );
|
||||
|
||||
// translation file for application strings
|
||||
QTranslator myapp( 0 );
|
||||
myapp.load( QString( "myapp_" ) + QTextCodec::locale(), "." );
|
||||
// use a substitue for $prefix/share/appname/translations here
|
||||
app.installTranslator( &myapp );
|
||||
|
||||
6. Frequently Asked Questions
|
||||
|
||||
Using Qt for Debian as a developer or packager
|
||||
----------------------------------------------
|
||||
|
||||
Q: I want to compile a source package that utilizes qmake to build the
|
||||
Makefiles. What do I need to do to makeit work ?
|
||||
|
||||
A: qmake retquires two environment variables to be set, QTDIR and QMAKESPEC.
|
||||
To make it work, do
|
||||
export QTDIR=/usr/share/tqt3
|
||||
export QMAKESPEC=linux-g++
|
||||
|
||||
Then run qmake -o Makefile <projectfile>.pro
|
||||
|
||||
After that, the Makefile is correctly created to build your application on
|
||||
Debian. As a packager, export thosetwo variables in the rules file before
|
||||
calling qmake.
|
||||
|
||||
Q: I have an application that when linking gives me symbol referencing
|
||||
errors to Q*Style. Why does my applicationnot link correctly ?
|
||||
|
||||
A: The author of the program is using the styles that ship with Qt directly
|
||||
instead of using the QStylePlugin interface.If you are the author of the
|
||||
program, change your program to use QStylePlugin. If you are a packager,
|
||||
write to theauthor of the program that he is assuming that the styles
|
||||
shipped with Qt are built-in to the library which is not the case on Debian
|
||||
and that he please should fix this and use QStylePlugin.
|
||||
|
||||
Q: Where are all the examples and tutorials ? And how do I build them ?
|
||||
|
||||
A: Qt ships with examples and tutorials; so does the Linguist and Designer.
|
||||
The tutorials and examples are compressed tarballs which you can unpack with
|
||||
tar -zxvf into your home directory. Change into the tqt3-examples directory
|
||||
and run the provided ./build-examples script. All Qt examples and tutorials,
|
||||
including those for designer and the linguist, will be compiled. You will
|
||||
notice however, that those examples that inherit from style classes which
|
||||
are not built-in into Qt but configured as a plugin will not compile due
|
||||
to the fact that they can't link to the Qt library.
|
||||
|
||||
Q: I'm writing a pure Qt application and I want to ship it with a default
|
||||
configuration file. Where does that global configuration file go if I make
|
||||
use of the QSettings class ?
|
||||
|
||||
A: With qt-3.2.0, Trolltech has introduced a configure option to Qt called
|
||||
--sysconfdir which we intentionally set to /etc/tqt3 similar to /etc/trinity for
|
||||
KDE programs. Install your application's system wide configuration file
|
||||
to /etc/tqt3.
|
||||
|
||||
Q: I'm compiling a program and I have a compile error due to a missing
|
||||
include. Why isn't that include not present in the Debian packages anymore
|
||||
? It compiled with older versions of Debian packages of Qt !
|
||||
|
||||
A: This may be due to two reasons: either the package still uses the old
|
||||
includes from Qt 1.x or 2.x that got basically renamed by Trolltech due to
|
||||
the naming convention. The filenames are now all following the scheme
|
||||
|
||||
ClassName -> classname.h.
|
||||
|
||||
Therefore, if you are the developer of the affected program, change your
|
||||
sources according to this scheme. Qt ships with two tools, qt20fix and
|
||||
qtrename140, to help developers migrate their API to the Qt 3 version,
|
||||
which can help you in the transition upgrade to Qt 3.
|
||||
|
||||
If you are affected by this as a packager, notify upstream to fix those
|
||||
problems and in the meanwhile use libtqt3-compat-headers as a build
|
||||
dependency which includes the compatibility headers that just include the
|
||||
right files from the new API again.
|
||||
|
||||
Q: I have a question not covered by this FAQ and README file. Who should I
|
||||
turn to ?
|
||||
|
||||
A: Please turn to Debian Qt/KDE Maintainers (debian-qt-kde@lists.debian.org)
|
||||
for any questions regarding Qt on Debian.
|
||||
|
||||
-- Ralf Nolden <nolden@kde.org> Sun, 26 Jan 2003 20:39:19 +0100
|
||||
-- Ralf Nolden <nolden@kde.org> Mon, 1 Sep 2003 19:24:16 +0200
|
||||
-- Modestas Vainius <modestas@vainius.eu> Fri, 22 Feb 2008 01:40:06 +0200
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1 @@
|
||||
6
|
@ -0,0 +1,320 @@
|
||||
Source: tqt-x11-free
|
||||
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
|
||||
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
|
||||
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
|
||||
Build-Depends: debhelper (>= 5.0.31), tquilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
|
||||
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
|
||||
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
|
||||
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
|
||||
libxcursor-dev, libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg62-dev,
|
||||
libmng-dev (>= 1.0.3), libpng12-dev | libpng12-0-dev, libfontconfig1-dev,
|
||||
libfreetype6-dev, libxft-dev, libiodbc2-dev (>= 3.51.2-4),
|
||||
libmysqlclient-dev, flex, libpq-dev, libaudio-dev, libcups2-dev,
|
||||
libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libsqlite3-dev
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Standards-Version: 3.8.4
|
||||
Homepage: http://www.trinitydesktop.org
|
||||
|
||||
Package: libtqt3-mt
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Replaces: libtqt3-mt (<< 4:3.5.13)
|
||||
Breaks: libtqt3-mt (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}, fontconfig
|
||||
Recommends: libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libxmu6 (>= 4.3.0.dfsg.1-4)
|
||||
Conflicts: libtqt3c102-mt, libtqui1-emb, libtqt3c-mt
|
||||
Suggests: libtqt3-mt-psql, libtqt3-mt-mysql, libtqt3-mt-odbc
|
||||
Description: Qt GUI Library (Threaded runtime version), Version 3
|
||||
This is the Trolltech Qt library, version 3. It's necessary for
|
||||
applications that link against the libtqt-mt.so.3, e.g. all Trinity
|
||||
applications.
|
||||
|
||||
Package: libtqt3-mt-mysql
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Replaces: libtqt3-mt-mysql (<< 4:3.5.13)
|
||||
Breaks: libtqt3-mt-mysql (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}
|
||||
Conflicts: libtqt3c102-mt-mysql, libtqt3c-mt-mysql
|
||||
Description: MySQL database driver for Qt3 (Threaded)
|
||||
This package contains the threaded MySQL plugin for Qt3. Install it if
|
||||
you intend to use or write Qt programs that are to access a MySQL DB.
|
||||
|
||||
Package: libtqt3-mt-odbc
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Replaces: libtqt3-mt-odbc (<< 4:3.5.13)
|
||||
Breaks: libtqt3-mt-odbc (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}
|
||||
Conflicts: libtqt3c102-mt-odbc, libtqt3c-mt-odbc
|
||||
Description: ODBC database driver for Qt3 (Threaded)
|
||||
This package contains the threaded ODBC plugin for Qt3. Install it if
|
||||
you intend to use or write Qt programs that are to access an ODBC DB.
|
||||
|
||||
Package: libtqt3-mt-psql
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Replaces: libtqt3-mt-psql (<< 4:3.5.13)
|
||||
Breaks: libtqt3-mt-psql (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}
|
||||
Conflicts: libtqt3c102-mt-psql, libtqt3c-mt-psql
|
||||
Description: PostgreSQL database driver for Qt3 (Threaded)
|
||||
This package contains the threaded PostgreSQL plugin for Qt3.
|
||||
Install it if you intend to use or write Qt programs that are
|
||||
to access a PostgreSQL DB.
|
||||
|
||||
#Not in Kubuntu
|
||||
#Package: libtqt3-mt-ibase
|
||||
#Architecture: i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc
|
||||
#Section: libs
|
||||
#Depends: ${shlibs:Depends}
|
||||
#Conflicts: libtqt3c102-mt-ibase
|
||||
#Replaces: libtqt3c102-mt-ibase
|
||||
#Description: InterBase/FireBird database driver for Qt3 (Threaded)
|
||||
# This package contains the threaded InterBase/FireBird plugin
|
||||
# for Qt3. Install it if you intend to use or write Qt programs
|
||||
# that are to access an InterBase/FireBird DB.
|
||||
|
||||
Package: libtqt3-mt-sqlite
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Replaces: libtqt3-mt-sqlite (<< 4:3.5.13)
|
||||
Breaks: libtqt3-mt-sqlite (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}
|
||||
Conflicts: libtqt3c102-mt-sqlite
|
||||
Description: SQLite database driver for Qt3 (Threaded)
|
||||
This package contains the threaded SQLite plugin for Qt3. Install
|
||||
it if you intend to use or write Qt programs that are to access an
|
||||
SQLite DB.
|
||||
|
||||
Package: libtqt3-mt-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Replaces: libtqt3-mt-dev (<< 4:3.5.13)
|
||||
Breaks: libtqt3-mt-dev (<< 4:3.5.13)
|
||||
Depends: libxext-dev (>= 4.3.0.dfsg.1-4), libxrandr-dev (>= 4.3.0.dfsg.1-4),
|
||||
libsm-dev (>= 4.3.0.dfsg.1-4), libxmu-dev (>= 4.3.0.dfsg.1-4),
|
||||
libice-dev (>= 4.3.0.dfsg.1-4), libx11-dev (>= 4.3.0.dfsg.1-4),
|
||||
libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev, libxcursor-dev,
|
||||
libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg62-dev, libmng-dev (>= 1.0.3),
|
||||
libpng12-dev | libpng12-0-dev, libfontconfig1-dev, libfreetype6-dev,
|
||||
libxft-dev, libaudio-dev, libcups2-dev, libgl1-mesa-dev | libgl-dev,
|
||||
libglu1-mesa-dev | libglu-dev, libc6-dev, libtqt3-mt (= ${binary:Version}),
|
||||
libtqt3-headers (= ${binary:Version}), tqt3-dev-tools (= ${binary:Version})
|
||||
Conflicts: libtqt-mt-dev, libtqt3-emb (<= 3:3.0.3-1), libtqt3-dev
|
||||
Recommends: libtqt3-compat-headers
|
||||
Suggests: libtqt3-i18n, tqt3-doc
|
||||
Description: Qt development files (Threaded)
|
||||
Qt is a C++ class library optimized for graphical user interface
|
||||
development. This package contains the libtqt-mt.so symlink, necessary
|
||||
for building threaded Qt applications as well as the libtqui.so symlink
|
||||
and the necessary header files for libtqui.so. (See README.Debian and
|
||||
the Qt Documentation for instructions on libtqui.so)
|
||||
.
|
||||
WARNING: If you plan to build some older Qt3 applications, you will
|
||||
most probably have to install the libtqt3-compat-headers package. It
|
||||
contains all the headers which are not part of the official Qt3 API
|
||||
anymore but which are still used by some programs. So if you encounter
|
||||
problems with missing header files, please install this package first
|
||||
before you send a bugreport.
|
||||
|
||||
Package: libtqt3-headers
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Replaces: libtqt3-headers (<< 4:3.5.13)
|
||||
Breaks: libtqt3-headers (<< 4:3.5.13)
|
||||
Recommends: libtqt3-mt-dev
|
||||
Description: Qt3 header files
|
||||
This package contains all header files for libqt and libtqt-mt which come
|
||||
with Qt3. If you want to compile or develop programs which use Qt3, you
|
||||
have to install this package.
|
||||
|
||||
Package: libtqt3-compat-headers
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Replaces: libtqt3-compat-headers (<< 4:3.5.13)
|
||||
Breaks: libtqt3-compat-headers (<< 4:3.5.13)
|
||||
Depends: libtqt3-headers (= ${binary:Version})
|
||||
Recommends: libtqt3-mt-dev
|
||||
Description: Qt 1.x and 2.x compatibility includes
|
||||
This package contains header files that are intended for build
|
||||
compatibility for applications that build with Qt3 but still use
|
||||
deprecated includes. It is meant as an intermediate solution and
|
||||
these header files are not part of the official Qt3 API.
|
||||
All sourcecode that is still using the headers of this package is
|
||||
subject to be changed to use the new header files which are in
|
||||
libtqt3-headers.
|
||||
|
||||
Package: tqt3-dev-tools
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Replaces: tqt3-dev-tools (<< 4:3.5.13)
|
||||
Breaks: tqt3-dev-tools (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}
|
||||
Recommends: libtqt3-mt-dev
|
||||
Conflicts: libqt-dev (<< 3:2.3.2-10), uic (<= 3:2.3.2-9)
|
||||
Description: Qt3 development tools
|
||||
This package contains all tools that are necessary to build programs
|
||||
that are written using Qt3. These are: qmake, uic and moc.
|
||||
For Qt3 development, you most likely want to install this package.
|
||||
|
||||
Package: tqt3-designer
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Replaces: tqt3-designer (<< 4:3.5.13)
|
||||
Breaks: tqt3-designer (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}
|
||||
Recommends: tqt3-dev-tools
|
||||
Suggests: tqt3-assistant, tqt3-doc
|
||||
Conflicts: qt-designer (<= 3:2.3.2-9), qt-designer-doc
|
||||
Description: Qt3 Designer
|
||||
The Qt Designer is a GUI design program that interactively lets you
|
||||
construct user interfaces for the Qt library. Additionally it lets you
|
||||
create whole project and works together with the database drivers
|
||||
provided by Qt to create applications with easy database access through
|
||||
Qt. The resulting user interface files can then be converted to
|
||||
C++ classes using the uic commandline utility which is usually done
|
||||
automatically for the developer with a project management with qmake
|
||||
or automake.
|
||||
|
||||
Package: tqt3-apps-dev
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Replaces: tqt3-apps-dev (<< 4:3.5.13)
|
||||
Breaks: tqt3-apps-dev (<< 4:3.5.13)
|
||||
Depends: libtqt3-mt-dev
|
||||
Description: Qt3 Developer applications development files
|
||||
This package is intended for developers who want to develop applications
|
||||
using the additional static libraries that ship with the applications
|
||||
included with Qt; the Qt Designer and the Qt Assistant.
|
||||
It allows integrating additional enhancements into the Qt Designer
|
||||
respectively faciliate the Qt Assistant from within your Qt application
|
||||
to interactively call the Assistant for displaying online help that the
|
||||
developer includes with his application.
|
||||
|
||||
Package: tqt3-linguist
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Replaces: tqt3-linguist (<< 4:3.5.13)
|
||||
Breaks: tqt3-linguist (<< 4:3.5.13)
|
||||
Suggests: tqt3-assistant
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: The Qt3 Linguist
|
||||
This package contains the Qt3 Linguist which provides translators a
|
||||
tool perfect for translating any Qt-based application into other
|
||||
languages and can be used and installed independently of any Qt
|
||||
development files by the translator.
|
||||
|
||||
Package: tqt3-assistant
|
||||
Architecture: any
|
||||
Section: x11
|
||||
Replaces: tqt3-assistant (<< 4:3.5.13)
|
||||
Breaks: tqt3-assistant (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}, tqt3-doc
|
||||
Description: The Qt3 assistant application
|
||||
This package contains the Qt3 Assistant, an easy to use frontend for
|
||||
the complete Qt3 documentation and serves as an online help viewer for
|
||||
any Qt program that wants to give the usesr access to online help.
|
||||
Within the Qt tools it is used as the help viewer for the online help
|
||||
for the Qt3 Designer and Linguist as well as qmake and the Qt 3 API
|
||||
documentation.
|
||||
.
|
||||
Developers of Qt Application who want to faciliate the Qt Assistant for online
|
||||
help display should refer to the README.Debian file for libtqt3-mt-dev and
|
||||
the package tqt3-apps-dev.
|
||||
|
||||
Package: tqt3-qtconfig
|
||||
Architecture: any
|
||||
Section: x11
|
||||
Replaces: tqt3-qtconfig (<< 4:3.5.13)
|
||||
Breaks: tqt3-qtconfig (<< 4:3.5.13)
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: The Qt3 Configuration Application
|
||||
The Qt Configuration program allows endusers to configure the look
|
||||
and behavior of any Qt3 application. It is mostly only necessary
|
||||
on systems which don't run KDE because the KDE control center already
|
||||
covers this configuration automatically for the users Qt3 applications
|
||||
according to his desktop settings in KDE. However, if you need to run
|
||||
CJK-fonts or other non-latin scripts, you will most likely want to
|
||||
install this package.
|
||||
|
||||
Package: tqt3-dev-tools-embedded
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Replaces: tqt3-dev-tools-embedded (<< 4:3.5.13)
|
||||
Breaks: tqt3-dev-tools-embedded (<< 4:3.5.13)
|
||||
Recommends: libtqt3-mt-dev
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: Tools to develop embedded Qt applications
|
||||
This package contains applications only suitable for developing
|
||||
applications with Qt Embedded and/or Qtopia. It provides the QVFB
|
||||
program for simulating an embedded device desktop as well as makeqpf
|
||||
for converting fonts to embedded fonts suitable for being utilized
|
||||
by Qt Embedded applications.
|
||||
|
||||
Package: tqt3-dev-tools-compat
|
||||
Architecture: any
|
||||
Section: devel
|
||||
Replaces: tqt3-dev-tools-compat (<< 4:3.5.13)
|
||||
Breaks: tqt3-dev-tools-compat (<< 4:3.5.13)
|
||||
Recommends: libtqt3-mt-dev
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: Conversion utilities for Qt3 development
|
||||
This package contains some older Qt tools (namely qt20fix qtrename140,
|
||||
qm2ts, mergetr, findtr and msg2qm). These tools are needed only by
|
||||
application developers who need to migrate any Qt application written
|
||||
for Qt 1.x or 2.x over to Qt 3.x. The purpose of the tools are to
|
||||
help fixing the changes with include file renaming as well as migrating
|
||||
the message file format of Qt 2 translation files or any gettext-based
|
||||
translation system to the Qt 3 system.
|
||||
|
||||
Package: libtqt3-i18n
|
||||
Architecture: all
|
||||
Section: libs
|
||||
Replaces: libtqt3-i18n (<< 4:3.5.13)
|
||||
Breaks: libtqt3-i18n (<< 4:3.5.13)
|
||||
Recommends: libtqt3-mt
|
||||
Description: i18n files for Qt3 library
|
||||
This package contains the internationalization files for the Qt library.
|
||||
Qt applications that are internationalized will need to depend on this package
|
||||
for full internationalization support of the application towards the end user.
|
||||
|
||||
Package: tqt3-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Replaces: tqt3-doc (<< 4:3.5.13)
|
||||
Breaks: tqt3-doc (<< 4:3.5.13)
|
||||
Priority: extra
|
||||
Suggests: libtqt3-headers, tqt3-assistant | www-browser
|
||||
Description: Qt3 API documentation
|
||||
This package contains the complete API documentation for Qt3.
|
||||
Examples to coding are in tqt3-examples. The documentation is provided
|
||||
in HTML and manpage format; the HTML version can be viewed in conjunction
|
||||
with the Qt Assistant.
|
||||
|
||||
Package: tqt3-examples
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Replaces: tqt3-examples (<< 4:3.5.13)
|
||||
Breaks: tqt3-examples (<< 4:3.5.13)
|
||||
Priority: extra
|
||||
Depends: libtqt3-mt-dev (>= ${binary:Version})
|
||||
Suggests: tqt3-apps-dev
|
||||
Description: Examples for Qt3
|
||||
These are examples provided with Qt3. They may be especially useful for
|
||||
you if you are learning to program in Qt as they cover tquite a lot of
|
||||
things that are possible with Qt3.
|
||||
|
||||
Package: tqt-x11-free-dbg
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Replaces: tqt-x11-free-dbg (<< 4:3.5.13)
|
||||
Breaks: tqt-x11-free-dbg (<< 4:3.5.13)
|
||||
Priority: extra
|
||||
Depends: libtqt3-mt (= ${binary:Version}), gdb
|
||||
Conflicts: libtqt3-mt-dbg
|
||||
Description: debugging symbols for tqt-x11-free binaries
|
||||
This package contains the debugging symbols associated with tqt-x11-free.
|
||||
They will automatically be used by gdb for debugging TQt-related
|
||||
issues.
|
@ -0,0 +1,145 @@
|
||||
This is Debian GNU/Linux's prepackaged version of the Qt GUI Development
|
||||
library.
|
||||
|
||||
This package was put together originally by me, Heiko Schlittermann
|
||||
<heiko@lotte.sax.de>, from the sources, which I obtained from
|
||||
ftp.troll.no. The changes were very minimal to nothing, - merely
|
||||
adding support for the Debian package maintenance scheme, by adding
|
||||
various debian/* files and by changing the propagate script to fit the
|
||||
Debian GNU/Linux filesystem structure.
|
||||
|
||||
This package has since been temporarily taken over by Ivan Moore
|
||||
<rkrusty@debian.org> until Heiko has time to work on it all again.
|
||||
|
||||
In Jul 2002, Martin Loschwitz <madkiss@madkiss.org> overtook the package
|
||||
maintenance for the QT3-packages.
|
||||
|
||||
This packaged is maintained inside the Debian Qt/KDE Maintainers Team
|
||||
<debian-qt-kde@lists.debian.org> since Tue, 26 Jul 2005 19:06:03 +0200
|
||||
|
||||
Qt 3.3 is triple licensed under the QPL, GPL 2 and GPL 3.
|
||||
|
||||
It was downloaded from ftp://ftp.troll.no/qt/source
|
||||
|
||||
This file may be used under the terms of the GNU General
|
||||
Public License versions 2.0 or 3.0 as published by the Free
|
||||
Software Foundation and appearing in the files LICENSE.GPL2
|
||||
and LICENSE.GPL3 included in the packaging of this file.
|
||||
Alternatively you may (at your option) use any later version
|
||||
of the GNU General Public License if such license has been
|
||||
publicly approved by Trolltech ASA (or its successors, if any)
|
||||
and the KDE Free Qt Foundation.
|
||||
|
||||
Please refer to /usr/share/common-licenses/GPL-2 for complete GPL 2
|
||||
licence and /usr/share/common-licenses/GPL-3 for complete GPL 3
|
||||
licence.
|
||||
|
||||
THE Q PUBLIC LICENSE
|
||||
version 1.0
|
||||
|
||||
Copyright (C) 1999-2000 Troll Tech AS, Norway.
|
||||
Everyone is permitted to copy and
|
||||
distribute this license document.
|
||||
|
||||
The intent of this license is to establish freedom to share and change the
|
||||
software regulated by this license under the open source model.
|
||||
|
||||
This license applies to any software containing a notice placed by the
|
||||
copyright holder saying that it may be distributed under the terms of
|
||||
the Q Public License version 1.0. Such software is herein referred to as
|
||||
the Software. This license covers modification and distribution of the
|
||||
Software, use of third-party application programs based on the Software,
|
||||
and development of free software which uses the Software.
|
||||
|
||||
Granted Rights
|
||||
|
||||
1. You are granted the non-exclusive rights set forth in this license
|
||||
provided you agree to and comply with any and all conditions in this
|
||||
license. Whole or partial distribution of the Software, or software
|
||||
items that link with the Software, in any form signifies acceptance of
|
||||
this license.
|
||||
|
||||
2. You may copy and distribute the Software in unmodified form provided
|
||||
that the entire package, including - but not restricted to - copyright,
|
||||
trademark notices and disclaimers, as released by the initial developer
|
||||
of the Software, is distributed.
|
||||
|
||||
3. You may make modifications to the Software and distribute your
|
||||
modifications, in a form that is separate from the Software, such as
|
||||
patches. The following restrictions apply to modifications:
|
||||
|
||||
a. Modifications must not alter or remove any copyright notices in
|
||||
the Software.
|
||||
|
||||
b. When modifications to the Software are released under this
|
||||
license, a non-exclusive royalty-free right is granted to the
|
||||
initial developer of the Software to distribute your modification
|
||||
in future versions of the Software provided such versions remain
|
||||
available under these terms in addition to any other license(s) of
|
||||
the initial developer.
|
||||
|
||||
4. You may distribute machine-executable forms of the Software or
|
||||
machine-executable forms of modified versions of the Software, provided
|
||||
that you meet these restrictions:
|
||||
|
||||
a. You must include this license document in the distribution.
|
||||
|
||||
b. You must ensure that all recipients of the machine-executable forms
|
||||
are also able to receive the complete machine-readable source code
|
||||
to the distributed Software, including all modifications, without
|
||||
any charge beyond the costs of data transfer, and place prominent
|
||||
notices in the distribution explaining this.
|
||||
|
||||
c. You must ensure that all modifications included in the
|
||||
machine-executable forms are available under the terms of this
|
||||
license.
|
||||
|
||||
5. You may use the original or modified versions of the Software to
|
||||
compile, link and run application programs legally developed by you
|
||||
or by others.
|
||||
|
||||
6. You may develop application programs, reusable components and other
|
||||
software items that link with the original or modified versions of the
|
||||
Software. These items, when distributed, are subject to the following
|
||||
retquirements:
|
||||
|
||||
a. You must ensure that all recipients of machine-executable forms of
|
||||
these items are also able to receive and use the complete
|
||||
machine-readable source code to the items without any charge
|
||||
beyond the costs of data transfer.
|
||||
|
||||
b. You must explicitly license all recipients of your items to use
|
||||
and re-distribute original and modified versions of the items in
|
||||
both machine-executable and source code forms. The recipients must
|
||||
be able to do so without any charges whatsoever, and they must be
|
||||
able to re-distribute to anyone they choose.
|
||||
|
||||
|
||||
c. If the items are not available to the general public, and the
|
||||
initial developer of the Software requests a copy of the items,
|
||||
then you must supply one.
|
||||
|
||||
Limitations of Liability
|
||||
|
||||
In no event shall the initial developers or copyright holders be liable
|
||||
for any damages whatsoever, including - but not restricted to - lost
|
||||
revenue or profits or other direct, indirect, special, incidental or
|
||||
consequential damages, even if they have been advised of the possibility
|
||||
of such damages, except to the extent invariable law, if any, provides
|
||||
otherwise.
|
||||
|
||||
No Warranty
|
||||
|
||||
The Software and this license document are provided AS IS with NO WARRANTY
|
||||
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
|
||||
FOR A PARTICULAR PURPOSE.
|
||||
Choice of Law
|
||||
|
||||
This license is governed by the Laws of Norway. Disputes shall be settled
|
||||
by Oslo City Court.
|
||||
|
||||
The Qt GUI Toolkit is Copyright (C) 1994-2000 Trolltech AS.
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
GNU General Public License version 2, which is display below.
|
||||
|
@ -0,0 +1,54 @@
|
||||
usr/include/tqt3/q1xcompatibility.h
|
||||
usr/include/tqt3/qapp.h
|
||||
usr/include/tqt3/qarray.h
|
||||
usr/include/tqt3/qbitarry.h
|
||||
usr/include/tqt3/qbttngrp.h
|
||||
usr/include/tqt3/qchkbox.h
|
||||
usr/include/tqt3/qclipbrd.h
|
||||
usr/include/tqt3/qcollect.h
|
||||
usr/include/tqt3/qcollection.h
|
||||
usr/include/tqt3/qcombo.h
|
||||
usr/include/tqt3/qconnect.h
|
||||
usr/include/tqt3/qdatetm.h
|
||||
usr/include/tqt3/qdrawutl.h
|
||||
usr/include/tqt3/qdstream.h
|
||||
usr/include/tqt3/qfiledef.h
|
||||
usr/include/tqt3/qfiledlg.h
|
||||
usr/include/tqt3/qfileinf.h
|
||||
usr/include/tqt3/qfontinf.h
|
||||
usr/include/tqt3/qfontmet.h
|
||||
usr/include/tqt3/qgrpbox.h
|
||||
usr/include/tqt3/qintcach.h
|
||||
usr/include/tqt3/qiodev.h
|
||||
usr/include/tqt3/qlcdnum.h
|
||||
usr/include/tqt3/qlined.h
|
||||
usr/include/tqt3/qlist.h
|
||||
usr/include/tqt3/qmenudta.h
|
||||
usr/include/tqt3/qmetaobj.h
|
||||
usr/include/tqt3/qmlined.h
|
||||
usr/include/tqt3/qmsgbox.h
|
||||
usr/include/tqt3/qmultilinedit.h
|
||||
usr/include/tqt3/qobjcoll.h
|
||||
usr/include/tqt3/qobjdefs.h
|
||||
usr/include/tqt3/qpaintd.h
|
||||
usr/include/tqt3/qpaintdc.h
|
||||
usr/include/tqt3/qpdevmet.h
|
||||
usr/include/tqt3/qpmcache.h
|
||||
usr/include/tqt3/qpntarry.h
|
||||
usr/include/tqt3/qpopmenu.h
|
||||
usr/include/tqt3/qprndlg.h
|
||||
usr/include/tqt3/qprogbar.h
|
||||
usr/include/tqt3/qprogdlg.h
|
||||
usr/include/tqt3/qpsprn.h
|
||||
usr/include/tqt3/qpushbt.h
|
||||
usr/include/tqt3/qqueue.h
|
||||
usr/include/tqt3/qradiobt.h
|
||||
usr/include/tqt3/qrangect.h
|
||||
usr/include/tqt3/qscrbar.h
|
||||
usr/include/tqt3/qsocknot.h
|
||||
usr/include/tqt3/qstack.h
|
||||
usr/include/tqt3/qtabdlg.h
|
||||
usr/include/tqt3/qtstream.h
|
||||
usr/include/tqt3/qvector.h
|
||||
usr/include/tqt3/qwidcoll.h
|
||||
usr/include/tqt3/qwindefs.h
|
@ -0,0 +1,271 @@
|
||||
usr/include/tqt3/private/*
|
||||
usr/include/tqt3/qabstractlayout.h
|
||||
usr/include/tqt3/qaccel.h
|
||||
usr/include/tqt3/qaccessible.h
|
||||
usr/include/tqt3/qaction.h
|
||||
usr/include/tqt3/qapplication.h
|
||||
usr/include/tqt3/qasciicache.h
|
||||
usr/include/tqt3/qasciidict.h
|
||||
usr/include/tqt3/qasyncimageio.h
|
||||
usr/include/tqt3/qasyncio.h
|
||||
usr/include/tqt3/qbig5codec.h
|
||||
usr/include/tqt3/qbitarray.h
|
||||
usr/include/tqt3/qbitmap.h
|
||||
usr/include/tqt3/qbrush.h
|
||||
usr/include/tqt3/qbuffer.h
|
||||
usr/include/tqt3/qbutton.h
|
||||
usr/include/tqt3/qbuttongroup.h
|
||||
usr/include/tqt3/qcache.h
|
||||
usr/include/tqt3/qcanvas.h
|
||||
usr/include/tqt3/qcdestyle.h
|
||||
usr/include/tqt3/qcheckbox.h
|
||||
usr/include/tqt3/qcleanuphandler.h
|
||||
usr/include/tqt3/qclipboard.h
|
||||
usr/include/tqt3/qcolor.h
|
||||
usr/include/tqt3/qcolordialog.h
|
||||
usr/include/tqt3/qcombobox.h
|
||||
usr/include/tqt3/qcommonstyle.h
|
||||
usr/include/tqt3/qcompactstyle.h
|
||||
usr/include/tqt3/qconnection.h
|
||||
usr/include/tqt3/qcstring.h
|
||||
usr/include/tqt3/qcursor.h
|
||||
usr/include/tqt3/qdatabrowser.h
|
||||
usr/include/tqt3/qdatastream.h
|
||||
usr/include/tqt3/qdatatable.h
|
||||
usr/include/tqt3/qdataview.h
|
||||
usr/include/tqt3/qdatetime.h
|
||||
usr/include/tqt3/qdatetimeedit.h
|
||||
usr/include/tqt3/qdeepcopy.h
|
||||
usr/include/tqt3/qdesktopwidget.h
|
||||
usr/include/tqt3/qdial.h
|
||||
usr/include/tqt3/qdialog.h
|
||||
usr/include/tqt3/qdict.h
|
||||
usr/include/tqt3/qdir.h
|
||||
usr/include/tqt3/qdns.h
|
||||
usr/include/tqt3/qdockarea.h
|
||||
usr/include/tqt3/qdockwindow.h
|
||||
usr/include/tqt3/qdom.h
|
||||
usr/include/tqt3/qdragobject.h
|
||||
usr/include/tqt3/qdrawutil.h
|
||||
usr/include/tqt3/qdropsite.h
|
||||
usr/include/tqt3/qeditorfactory.h
|
||||
usr/include/tqt3/qerrormessage.h
|
||||
usr/include/tqt3/qeucjpcodec.h
|
||||
usr/include/tqt3/qeuckrcodec.h
|
||||
usr/include/tqt3/qevent.h
|
||||
usr/include/tqt3/qeventloop.h
|
||||
usr/include/tqt3/qfeatures.h
|
||||
usr/include/tqt3/qfile.h
|
||||
usr/include/tqt3/qfiledialog.h
|
||||
usr/include/tqt3/qfileinfo.h
|
||||
usr/include/tqt3/qfocusdata.h
|
||||
usr/include/tqt3/qfont.h
|
||||
usr/include/tqt3/qfontdatabase.h
|
||||
usr/include/tqt3/qfontdialog.h
|
||||
usr/include/tqt3/qfontinfo.h
|
||||
usr/include/tqt3/qfontmetrics.h
|
||||
usr/include/tqt3/qframe.h
|
||||
usr/include/tqt3/qftp.h
|
||||
usr/include/tqt3/qgarray.h
|
||||
usr/include/tqt3/qgb18030codec.h
|
||||
usr/include/tqt3/qgbkcodec.h
|
||||
usr/include/tqt3/qgcache.h
|
||||
usr/include/tqt3/qgdict.h
|
||||
usr/include/tqt3/qgeneric.h
|
||||
usr/include/tqt3/qgif.h
|
||||
usr/include/tqt3/qglist.h
|
||||
usr/include/tqt3/qglobal.h
|
||||
usr/include/tqt3/qgplugin.h
|
||||
usr/include/tqt3/qgrid.h
|
||||
usr/include/tqt3/qgridview.h
|
||||
usr/include/tqt3/qgroupbox.h
|
||||
usr/include/tqt3/qguardedptr.h
|
||||
usr/include/tqt3/qgvector.h
|
||||
usr/include/tqt3/qhbox.h
|
||||
usr/include/tqt3/qhbuttongroup.h
|
||||
usr/include/tqt3/qheader.h
|
||||
usr/include/tqt3/qhgroupbox.h
|
||||
usr/include/tqt3/qhostaddress.h
|
||||
usr/include/tqt3/qhttp.h
|
||||
usr/include/tqt3/qiconset.h
|
||||
usr/include/tqt3/qiconview.h
|
||||
usr/include/tqt3/qimage.h
|
||||
usr/include/tqt3/qimageformatplugin.h
|
||||
usr/include/tqt3/qinputdialog.h
|
||||
usr/include/tqt3/qintcache.h
|
||||
usr/include/tqt3/qintdict.h
|
||||
usr/include/tqt3/qinterlacestyle.h
|
||||
usr/include/tqt3/qiodevice.h
|
||||
usr/include/tqt3/qjiscodec.h
|
||||
usr/include/tqt3/qjpegio.h
|
||||
usr/include/tqt3/qjpunicode.h
|
||||
usr/include/tqt3/qkeycode.h
|
||||
usr/include/tqt3/qkeysequence.h
|
||||
usr/include/tqt3/qlabel.h
|
||||
usr/include/tqt3/qlayout.h
|
||||
usr/include/tqt3/qlcdnumber.h
|
||||
usr/include/tqt3/qlibrary.h
|
||||
usr/include/tqt3/qlineedit.h
|
||||
usr/include/tqt3/qlistbox.h
|
||||
usr/include/tqt3/qlistview.h
|
||||
usr/include/tqt3/qlocale.h
|
||||
usr/include/tqt3/qlocalfs.h
|
||||
usr/include/tqt3/qmainwindow.h
|
||||
usr/include/tqt3/qmap.h
|
||||
usr/include/tqt3/qmemarray.h
|
||||
usr/include/tqt3/qmenubar.h
|
||||
usr/include/tqt3/qmenudata.h
|
||||
usr/include/tqt3/qmessagebox.h
|
||||
usr/include/tqt3/qmetaobject.h
|
||||
usr/include/tqt3/qmime.h
|
||||
usr/include/tqt3/qmngio.h
|
||||
usr/include/tqt3/qmotifstyle.h
|
||||
usr/include/tqt3/qmotifplusstyle.h
|
||||
usr/include/tqt3/qmovie.h
|
||||
usr/include/tqt3/qmultilineedit.h
|
||||
usr/include/tqt3/qmutex.h
|
||||
usr/include/tqt3/qnamespace.h
|
||||
usr/include/tqt3/qnetwork.h
|
||||
usr/include/tqt3/qnetworkprotocol.h
|
||||
usr/include/tqt3/qnp.h
|
||||
usr/include/tqt3/qobject.h
|
||||
usr/include/tqt3/qobjectcleanuphandler.h
|
||||
usr/include/tqt3/qobjectdefs.h
|
||||
usr/include/tqt3/qobjectdict.h
|
||||
usr/include/tqt3/qobjectlist.h
|
||||
usr/include/tqt3/qpaintdevice.h
|
||||
usr/include/tqt3/qpaintdevicedefs.h
|
||||
usr/include/tqt3/qpaintdevicemetrics.h
|
||||
usr/include/tqt3/qpainter.h
|
||||
usr/include/tqt3/qpair.h
|
||||
usr/include/tqt3/qpalette.h
|
||||
usr/include/tqt3/qpen.h
|
||||
usr/include/tqt3/qpicture.h
|
||||
usr/include/tqt3/qpixmap.h
|
||||
usr/include/tqt3/qpixmapcache.h
|
||||
usr/include/tqt3/qplatinumstyle.h
|
||||
usr/include/tqt3/qpngio.h
|
||||
usr/include/tqt3/qpoint.h
|
||||
usr/include/tqt3/qpointarray.h
|
||||
usr/include/tqt3/qpolygonscanner.h
|
||||
usr/include/tqt3/qpopupmenu.h
|
||||
usr/include/tqt3/qprintdialog.h
|
||||
usr/include/tqt3/qprinter.h
|
||||
usr/include/tqt3/qprocess.h
|
||||
usr/include/tqt3/qprogressbar.h
|
||||
usr/include/tqt3/qprogressdialog.h
|
||||
usr/include/tqt3/qptrcollection.h
|
||||
usr/include/tqt3/qptrdict.h
|
||||
usr/include/tqt3/qptrlist.h
|
||||
usr/include/tqt3/qptrqueue.h
|
||||
usr/include/tqt3/qptrstack.h
|
||||
usr/include/tqt3/qptrvector.h
|
||||
usr/include/tqt3/qpushbutton.h
|
||||
usr/include/tqt3/qradiobutton.h
|
||||
usr/include/tqt3/qrangecontrol.h
|
||||
usr/include/tqt3/qrect.h
|
||||
usr/include/tqt3/qregexp.h
|
||||
usr/include/tqt3/qregion.h
|
||||
usr/include/tqt3/qrtlcodec.h
|
||||
usr/include/tqt3/qscrollbar.h
|
||||
usr/include/tqt3/qscrollview.h
|
||||
usr/include/tqt3/qsemaphore.h
|
||||
usr/include/tqt3/qsemimodal.h
|
||||
usr/include/tqt3/qserversocket.h
|
||||
usr/include/tqt3/qsession.h
|
||||
usr/include/tqt3/qsessionmanager.h
|
||||
usr/include/tqt3/qsettings.h
|
||||
usr/include/tqt3/qsgistyle.h
|
||||
usr/include/tqt3/qshared.h
|
||||
usr/include/tqt3/qsignal.h
|
||||
usr/include/tqt3/qsignalmapper.h
|
||||
usr/include/tqt3/qsignalslotimp.h
|
||||
usr/include/tqt3/qsimplerichtext.h
|
||||
usr/include/tqt3/qsize.h
|
||||
usr/include/tqt3/qsizegrip.h
|
||||
usr/include/tqt3/qsizepolicy.h
|
||||
usr/include/tqt3/qsjiscodec.h
|
||||
usr/include/tqt3/qslider.h
|
||||
usr/include/tqt3/qsocket.h
|
||||
usr/include/tqt3/qsocketdevice.h
|
||||
usr/include/tqt3/qsocketnotifier.h
|
||||
usr/include/tqt3/qsortedlist.h
|
||||
usr/include/tqt3/qsound.h
|
||||
usr/include/tqt3/qspinbox.h
|
||||
usr/include/tqt3/qsplashscreen.h
|
||||
usr/include/tqt3/qsplitter.h
|
||||
usr/include/tqt3/qsql.h
|
||||
usr/include/tqt3/qsqlcursor.h
|
||||
usr/include/tqt3/qsqldatabase.h
|
||||
usr/include/tqt3/qsqldriver.h
|
||||
usr/include/tqt3/qsqldriverplugin.h
|
||||
usr/include/tqt3/qsqleditorfactory.h
|
||||
usr/include/tqt3/qsqlerror.h
|
||||
usr/include/tqt3/qsqlfield.h
|
||||
usr/include/tqt3/qsqlform.h
|
||||
usr/include/tqt3/qsqlindex.h
|
||||
usr/include/tqt3/qsqlpropertymap.h
|
||||
usr/include/tqt3/qsqlquery.h
|
||||
usr/include/tqt3/qsqlrecord.h
|
||||
usr/include/tqt3/qsqlresult.h
|
||||
usr/include/tqt3/qsqlselectcursor.h
|
||||
usr/include/tqt3/qstatusbar.h
|
||||
usr/include/tqt3/qstring.h
|
||||
usr/include/tqt3/qstringlist.h
|
||||
usr/include/tqt3/qstrlist.h
|
||||
usr/include/tqt3/qstrvec.h
|
||||
usr/include/tqt3/qstyle.h
|
||||
usr/include/tqt3/qstylefactory.h
|
||||
usr/include/tqt3/qstyleplugin.h
|
||||
usr/include/tqt3/qstylesheet.h
|
||||
usr/include/tqt3/qsyntaxhighlighter.h
|
||||
usr/include/tqt3/qt.h
|
||||
usr/include/tqt3/qtabbar.h
|
||||
usr/include/tqt3/qtabdialog.h
|
||||
usr/include/tqt3/qtable.h
|
||||
usr/include/tqt3/qtabwidget.h
|
||||
usr/include/tqt3/qtextbrowser.h
|
||||
usr/include/tqt3/qtextcodec.h
|
||||
usr/include/tqt3/qtextcodecfactory.h
|
||||
usr/include/tqt3/qtextcodecplugin.h
|
||||
usr/include/tqt3/qtextedit.h
|
||||
usr/include/tqt3/qtextstream.h
|
||||
usr/include/tqt3/qtextview.h
|
||||
usr/include/tqt3/qthread.h
|
||||
usr/include/tqt3/qthreadstorage.h
|
||||
usr/include/tqt3/qtimer.h
|
||||
usr/include/tqt3/qtl.h
|
||||
usr/include/tqt3/qtoolbar.h
|
||||
usr/include/tqt3/qtoolbox.h
|
||||
usr/include/tqt3/qtoolbutton.h
|
||||
usr/include/tqt3/qtooltip.h
|
||||
usr/include/tqt3/qtranslator.h
|
||||
usr/include/tqt3/qtsciicodec.h
|
||||
usr/include/tqt3/qurl.h
|
||||
usr/include/tqt3/qurlinfo.h
|
||||
usr/include/tqt3/qurloperator.h
|
||||
usr/include/tqt3/qutfcodec.h
|
||||
usr/include/tqt3/quuid.h
|
||||
usr/include/tqt3/qvalidator.h
|
||||
usr/include/tqt3/qvaluelist.h
|
||||
usr/include/tqt3/qvaluestack.h
|
||||
usr/include/tqt3/qvaluevector.h
|
||||
usr/include/tqt3/qvariant.h
|
||||
usr/include/tqt3/qvbox.h
|
||||
usr/include/tqt3/qvbuttongroup.h
|
||||
usr/include/tqt3/qvfbhdr.h
|
||||
usr/include/tqt3/qvgroupbox.h
|
||||
usr/include/tqt3/qwaitcondition.h
|
||||
usr/include/tqt3/qwhatsthis.h
|
||||
usr/include/tqt3/qwidget.h
|
||||
usr/include/tqt3/qwidgetintdict.h
|
||||
usr/include/tqt3/qwidgetlist.h
|
||||
usr/include/tqt3/qwidgetplugin.h
|
||||
usr/include/tqt3/qwidgetstack.h
|
||||
usr/include/tqt3/qwindowdefs.h
|
||||
usr/include/tqt3/qwindowsstyle.h
|
||||
usr/include/tqt3/qwinexport.h
|
||||
usr/include/tqt3/qwizard.h
|
||||
usr/include/tqt3/qwmatrix.h
|
||||
usr/include/tqt3/qworkspace.h
|
||||
usr/include/tqt3/qxml.h
|
@ -0,0 +1,8 @@
|
||||
usr/share/tqt3/translations/qt_ar.qm
|
||||
usr/share/tqt3/translations/qt_cs.qm
|
||||
usr/share/tqt3/translations/qt_de.qm
|
||||
usr/share/tqt3/translations/qt_es.qm
|
||||
usr/share/tqt3/translations/qt_fr.qm
|
||||
usr/share/tqt3/translations/qt_he.qm
|
||||
usr/share/tqt3/translations/qt_ru.qm
|
||||
usr/share/tqt3/translations/qt_sk.qm
|
@ -0,0 +1,4 @@
|
||||
README
|
||||
README.immodule
|
||||
README-QT.TXT
|
||||
PLATFORMS
|
@ -0,0 +1,9 @@
|
||||
usr/lib/libtqt-mt.la
|
||||
usr/lib/libtqt-mt.prl
|
||||
usr/lib/libtqt-mt.so
|
||||
usr/lib/libtqui.prl
|
||||
usr/lib/libtqui.so
|
||||
usr/lib/pkgconfig/tqt-mt.pc
|
||||
usr/include/tqt3/qgl.h
|
||||
usr/include/tqt3/qglcolormap.h
|
||||
usr/include/tqt3/qwidgetfactory.h
|
@ -0,0 +1,7 @@
|
||||
/usr/lib/libtqt-mt.la /usr/share/tqt3/lib/libtqt-mt.la
|
||||
/usr/lib/libtqui.prl /usr/share/tqt3/lib/libtqui.prl
|
||||
/usr/lib/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so
|
||||
/usr/lib/libtqt-mt.prl /usr/share/tqt3/lib/libtqt-mt.prl
|
||||
/usr/lib/libtqt-mt.so.3.3.8 /usr/share/tqt3/lib/libtqt-mt.so
|
||||
/usr/include/tqt3 /usr/share/tqt3/include
|
||||
/usr/lib/tqt3/plugins /usr/share/tqt3/plugins
|
@ -0,0 +1 @@
|
||||
usr/lib/tqt3/plugins/sqldrivers/libqsqlibase.so
|
@ -0,0 +1 @@
|
||||
usr/lib/tqt3/plugins/sqldrivers/libqsqlmysql.so
|
@ -0,0 +1 @@
|
||||
usr/lib/tqt3/plugins/sqldrivers/libqsqlodbc.so
|
@ -0,0 +1 @@
|
||||
usr/lib/tqt3/plugins/sqldrivers/libqsqlpsql.so
|
@ -0,0 +1 @@
|
||||
usr/lib/tqt3/plugins/sqldrivers/libqsqlite.so
|
@ -0,0 +1,4 @@
|
||||
README
|
||||
README.immodule
|
||||
README-QT.TXT
|
||||
PLATFORMS
|
@ -0,0 +1,6 @@
|
||||
usr/lib/libtqt-mt.so.*
|
||||
usr/lib/libtqui.so.1.*
|
||||
usr/lib/tqt3/plugins/imageformats/libqmng.so
|
||||
usr/lib/tqt3/plugins/inputmethods/*.so
|
||||
../../debian/qtrc etc/tqt3/
|
||||
../../debian/qt_plugins_3.3rc etc/tqt3/
|
@ -0,0 +1,5 @@
|
||||
/usr/lib/libtqui.so.1.0.0 /usr/lib/libtqui.so.1
|
||||
/usr/lib/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so.1
|
||||
/usr/lib/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so.1.0
|
||||
/usr/lib/libtqt-mt.so.3.3.8 /usr/share/tqt3/lib/libtqt-mt.so.3
|
||||
/usr/lib/libtqt-mt.so.3.3.8 /usr/share/tqt3/lib/libtqt-mt.so.3.3
|
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
if [ -d "/usr/share/doc/libtqt3-mt/" ]; then
|
||||
rm -rf /usr/share/doc/libtqt3-mt/
|
||||
fi
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Exec=assistant-tqt3
|
||||
Name=Qt3 Assistant
|
||||
Name[de]=Qt3 Assistent
|
||||
Comment=Qt3 Helpcenter
|
||||
Comment[de]= Qt3 Hilfezentrum
|
||||
MimeType=application/x-assistant;
|
||||
Icon=assistant
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Qt;Development;
|
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
BUILDDIR=$PWD
|
||||
export QTDIR=/usr/share/tqt3
|
||||
|
||||
# first copy over the libtqt-mt.so build configuration of .qmake.cache
|
||||
cp /usr/share/tqt3/.qmake.cache ./.qmake.cache
|
||||
|
||||
# Now compile the examples. The themes example
|
||||
# won't work since qconfig.h is not really correct with the
|
||||
# ifdef's for the QT_NO_xyz_STYLE, so we use make -k to continue
|
||||
cd examples; qmake -o Makefile examples.pro; make -k
|
||||
|
||||
# Now compile the tutorial.
|
||||
cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make
|
||||
|
||||
# Then the designer examples.
|
||||
cd $BUILDDIR/tools/designer/examples
|
||||
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
|
||||
cd $a && qmake -o Makefile $a.pro; make; cd ..;
|
||||
done
|
||||
|
||||
# There is a bigger sql example in book/ with more subdirectories:
|
||||
cd book
|
||||
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
|
||||
cd $a && qmake -o Makefile $a.pro; make; cd ..;
|
||||
done
|
||||
|
||||
# Finally, build the linguist tutorials:
|
||||
cd $BUILDDIR/tools/linguist/tutorial
|
||||
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
|
||||
cd $a && qmake -o Makefile $a.pro; make; cd ..;
|
||||
done
|
||||
|
||||
# Return to the build directory
|
||||
cd $BUILDDIR
|
@ -0,0 +1,25 @@
|
||||
[Desktop Entry]
|
||||
Exec=linguist-tqt3
|
||||
Name=Qt3 Linguist
|
||||
Name[de]=Qt3-Linguist
|
||||
Name[eo]=Qt3-Lingvisto
|
||||
Name[es]=Lingüista Qt3
|
||||
Name[ko]=Qt 언어학자
|
||||
Name[lv]=Qt3 Lingvists
|
||||
Comment=Tool for translating message catalogues of Qt3 based programs
|
||||
Comment[da]=Redskab til at oversætte Qt3 baserede programmer
|
||||
Comment[de]=Dienstprogramm zur Übersetzung von Programmen, die auf Qt3 basieren
|
||||
Comment[eo]=Ilo por tradukado de mesaĝaroj de Qt3-bazitaj programoj
|
||||
Comment[es]=Herramienta para la traducción de catálogos de mensajes de programas basados en Qt3
|
||||
Comment[he]=Qt תוססובמ תוינכות לש תועדוה יגולטק םוגרתל ילכ
|
||||
Comment[hu]=Segédprogram a Qt3-alapú programok üzenetfájljainak lefordításához
|
||||
Comment[ko]=Qt를 바탕으로 하는 프로그램에서 쓸 번역된 메세지 목록을 관리하는 도구
|
||||
Comment[lv]=Rīks ziņojumu katalogu tulkošanai uz Qt3 bāzētās programmās
|
||||
Comment[pt]=Ferramenta para traduzir os catálogos de mensagens de programas do Qt3
|
||||
Comment[pt_BR]=Ferramenta para traduzir os catálogos de mensagens de programas do Qt3
|
||||
Comment[sv]=Verktyg för att översätta meddelandekataloger från Qt3-baserade program
|
||||
MimeType=application/x-linguist;
|
||||
Terminal=false
|
||||
Icon=linguist
|
||||
Type=Application
|
||||
Categories=Qt;Development
|
@ -0,0 +1,57 @@
|
||||
.TH "createcw" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
createcw \- custom widget description creater for Qt Designer
|
||||
.SH "SYNTAX"
|
||||
.LP
|
||||
createcw <\fIfilename.cw\fP>
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
This small application makes it much easier to create
|
||||
custom widget descriptions for the Qt Designer. Using
|
||||
them you can use custom widgets in the Qt Designer
|
||||
including their signals, slots and properties.
|
||||
|
||||
To do that normally you would have to enter all that
|
||||
information in the custom widget dialog in the Qt
|
||||
Designer for each widget. But this small tool can create
|
||||
for you these description files for your custom widgets
|
||||
which you then can simply import into the Qt Designer. So
|
||||
you can use your custom widgets without any additional
|
||||
work in your forms in the Qt Designer then.
|
||||
|
||||
To do that you have to modify the sourcecode (main.cpp) a
|
||||
bit and recompile it afterwards.
|
||||
|
||||
STEP1: Include header files of the widgets for which a
|
||||
description should be created here. If you have a widget
|
||||
which is defined in the file mycustomwidget.h in
|
||||
/home/joedeveloper/src, write here
|
||||
|
||||
#include "/home/joedeveloper/src/mycustomwidget.h"
|
||||
|
||||
STEP2: Instantiate all widgets for which a description
|
||||
should be created here and add them to the list wl. If
|
||||
your custom widget is e.g. called MyCustomWidget you
|
||||
would write here
|
||||
|
||||
Widget w;
|
||||
w.w = new MyCustomWidget( 0, 0 );
|
||||
w.include = "mycustomwidget.h";
|
||||
w.location = "global";
|
||||
wl.append( w );
|
||||
|
||||
After that compile the program, link it with your custom
|
||||
widget (library or object file) and run it like this:
|
||||
|
||||
(unix): ./createcw mywidgets.cw
|
||||
(win32): createcw mywidgets.cw
|
||||
|
||||
After that you can import this description file into the
|
||||
Qt Designer using the Custom\-Widget Dialog (See
|
||||
Tools\->Custom\->Edit Custom Widgets... in the Qt Designer)
|
||||
and use these custom widget there in your forms.
|
||||
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
Troll Tech <http://www.trolltech.com/>
|
@ -0,0 +1,54 @@
|
||||
.TH "qt-designer" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
qt\-designer \- Visual user interface designer for Qt.
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
Qt Designer simplifies the process of designing and
|
||||
creating graphical user interfaces (GUI) using the
|
||||
award\-winning Qt toolkit. Qt Designer is easy to learn.
|
||||
There are tutorials, walkthrough examples and the
|
||||
reference documentation accelerating you through the
|
||||
learning phase. After that, Qt Designer greatly reduces
|
||||
the time and effort needed to develop even the most
|
||||
complex dialogs with an easy\-to\-use GUI and an integrated
|
||||
help system.
|
||||
|
||||
Qt Designer provides a rich set of features aimed at
|
||||
making the creation of dialogs as easy and smooth as
|
||||
possible without reducing the power of Qt. It offers all
|
||||
the strength of the Qt layout system with a well\-designed
|
||||
user interface. This, combined with the Qt Designer's
|
||||
undo/redo system makes it simple to try different
|
||||
arrangements of the widgets until the result satisfies
|
||||
you.
|
||||
|
||||
Using Qt Designer's convenient property editor along
|
||||
with the dynamic Qt property system it is easy to set the
|
||||
initial state of your widgets. Special editors for some
|
||||
widgets (like listboxes, comboboxes, etc.) allow you to
|
||||
fill these widgets with content without writing any code.
|
||||
Using the object hierarchy view, the parent\-child
|
||||
relationship between the widgets of a dialog can be
|
||||
understood at a glance.
|
||||
|
||||
Integrating dialogs into a Qt project is straightforward
|
||||
thanks to the User Interface Compiler (UIC), which
|
||||
generates C++ code from the XML dialog description on the
|
||||
fly. The programmer can easily extend the functionality
|
||||
of the generated classes by subclassing without touching
|
||||
generated code at all or running the risk of loosing
|
||||
their changes.
|
||||
.SH "FILES"
|
||||
.LP
|
||||
\fI/usr/share/qt/tools/designer/*\fP
|
||||
.SH "ENVIRONMENT VARIABLES"
|
||||
.LP
|
||||
.TP
|
||||
\fBQTDIR\fP
|
||||
Specifies the Qt base directory. On Debian systems this
|
||||
should be set to /usr/share/qt. The /usr/bin/designer
|
||||
wrapper script takes care of this.
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,25 @@
|
||||
.TH "findtr" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
findtr \- Extracts information about text to be translated
|
||||
.SH "SYNTAX"
|
||||
.LP
|
||||
findtr *.cpp *.h >myapp.po
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
|
||||
Extracts information about text to be translated. It
|
||||
recognizes the tr() constructs described above and
|
||||
produces a file in ".po" format, a simple text format
|
||||
that your translation team will copy and edit. For
|
||||
example, the base .po file might be myapp.po and
|
||||
translated versions of the file would then be
|
||||
myapp_de.po, myapp_fr.po, and myapp_ja.po for
|
||||
translations in German, French and Japanese respectively.
|
||||
|
||||
findtr *.cpp *.h >myapp.po
|
||||
copy myapp.po myapp_de.po
|
||||
edit myapp_de.po
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,37 @@
|
||||
.TH LINGUIST 1 "28 August 2004"
|
||||
.SH "NAME"
|
||||
linguist \- Translation tool for Qt.
|
||||
|
||||
.SH "SYNPOSIS"
|
||||
.B linguist
|
||||
[
|
||||
.I TRANSLATION
|
||||
]
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
.B Qt Linguist
|
||||
is a tool for adding translations to Qt applications. It
|
||||
introduces the concept of a translation "context" which
|
||||
means a group of phrases that appear together on the
|
||||
screen e.g. in the same menu or dialog.
|
||||
|
||||
The only parameter accepted on the command line is
|
||||
.I TRANSLATION
|
||||
wich is the name of the translation file you wish to open.
|
||||
|
||||
.SH FILES
|
||||
.I ~/.qt/qt_designerrc
|
||||
.RS
|
||||
Per user configuration file.
|
||||
|
||||
.SH SEE ALSO
|
||||
.B Qt Linguist
|
||||
is too complex to be described completely in the "man" page
|
||||
format. If your system is properly configured, you can access
|
||||
the full documentation within
|
||||
.B Qt Linguist
|
||||
under the Help menu.
|
||||
|
||||
.SH AUTHOR
|
||||
This manual page was written by Jeremy Laine <jeremy.laine@m4x.org>,
|
||||
for the Debian GNU/Linux system (but may be used by others).
|
@ -0,0 +1,26 @@
|
||||
.TH "makeqpf" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
makeqpf \- Create qpf files from TTF and BDF files.
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
Qt Prerendered Font (QPF) is a light\-weight non\-scalable
|
||||
font format specific to Qt/Embedded. makeqpf is a tool
|
||||
that assists producing QPF files from TTF and BDF files.
|
||||
|
||||
|
||||
.SH "SYNTAX"
|
||||
qembed [ \fIgeneral\-files\fP ] <[ \fI\-\-images image\-files \fP]>
|
||||
.br
|
||||
|
||||
general\-files
|
||||
These files can be any type of file.
|
||||
\-\-images image\-files
|
||||
These files must be in image formats supported by Qt.
|
||||
|
||||
.SH "FILES"
|
||||
.LP
|
||||
\fI$(QTDIR)/etc/fonts/fontdir\fP
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,27 @@
|
||||
.TH "mergetr" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
mergetr \- Merge changes in translations
|
||||
.SH "SYNTAX"
|
||||
.LP
|
||||
mergetr myapp_de.po myapp.po
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
When the texts in your program change as it is developed,
|
||||
a the base .po file can be regenerated using findtr,
|
||||
then mergetr can be used to merge the changes into the
|
||||
other .po files:
|
||||
|
||||
mergetr myapp_de.po myapp.po
|
||||
mergetr myapp_fr.po myapp.po
|
||||
mergetr myapp_ja.po myapp.po
|
||||
|
||||
|
||||
The translation team then edits the new .po files to
|
||||
translate the new or changed texts. When texts change,
|
||||
the old text is included in the .po file as a comment to
|
||||
guide the new translation (no "fuzzy" matching is done).
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,26 @@
|
||||
.TH "msg2qm" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
msg2qm \- Converts translated .po files to a Qt\-specific binary format.
|
||||
.SH "SYNTAX"
|
||||
.LP
|
||||
msg2qm myapp_de.po myapp_de.qm
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
|
||||
Converts translated .po files to a Qt\-specific binary
|
||||
format (".qm" Qt message files). The Qt message files
|
||||
are platform and locale independent, containing
|
||||
translations in Unicode and various hash tables to
|
||||
provide fast look\-up.
|
||||
|
||||
msg2qm myapp_de.po myapp_de.qm
|
||||
msg2qm myapp_fr.po myapp_fr.qm
|
||||
msg2qm myapp_ja.po myapp_ja.qm
|
||||
|
||||
|
||||
In your application, use QTranslator::load() to load
|
||||
translation files appropriate for the user's language.
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,32 @@
|
||||
.TH "qembed" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
qembed \- Converts arbitrary files into C++ code.
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
The QEmbed tool, found in qt/tools/qembed, converts
|
||||
arbitrary files into C++ code. This is useful for
|
||||
including image files and other resources directly into
|
||||
your application rather than loading the data from
|
||||
external files.
|
||||
|
||||
QEmbed can also generate uncompressed versions of images
|
||||
that can be included directly into your application,
|
||||
thus avoiding both the external file and the need to
|
||||
parse the image file format. This is useful for small
|
||||
images such as icons for which compression is not a
|
||||
great gain.
|
||||
|
||||
|
||||
.SH "SYNTAX"
|
||||
qembed [ \fIgeneral\-files\fP ] <[ \fI\-\-images image\-files \fP]>
|
||||
.br
|
||||
|
||||
general\-files
|
||||
These files can be any type of file.
|
||||
\-\-images image\-files
|
||||
These files must be in image formats supported by Qt.
|
||||
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,32 @@
|
||||
.TH "qt20fix" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
qt20fix \- Helps clean namespace when porting an app from Qt1 to Qt2
|
||||
.SH "SYNTAX"
|
||||
.LP
|
||||
qt20fix myapp.cpp
|
||||
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
Qt 2.x is namespace\-clean, unlike 1.x. Qt now uses very
|
||||
few global identifiers. Identifiers like red, blue,
|
||||
LeftButton, AlignRight, Key_Up, Key_Down, NoBrush etc.
|
||||
are now part of a special class Qt (defined in
|
||||
qnamespace.h), which is inherited by most Qt classes.
|
||||
Member functions of classes that inherit from QWidget,
|
||||
etc. are totally unaffected, but code that is not in
|
||||
functions of classes inherited from Qt, you must qualify
|
||||
these identifiers like this: Qt::red, Qt::LeftButton,
|
||||
Qt::AlignRight, etc.
|
||||
|
||||
The qt/bin/qt20fix script helps to fix the code that
|
||||
needs adaption, though most code does not need changing.
|
||||
|
||||
Compiling with \-DQT1COMPATIBILITY will help you get going
|
||||
with Qt 2.x \- it allows all the old "dirty namespace"
|
||||
identifiers from Qt 1.x to continue working. Without it,
|
||||
you'll get compile errors that can easily be fixed by
|
||||
searching this page for the clean identifiers.
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,17 @@
|
||||
.TH "qtconfig" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
qtconfig \- Configuration tool for Qt
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
QConfig allows for GUI based configuration of Qt and
|
||||
other Qt based sources.
|
||||
|
||||
.SH "ENVIRONMENT VARIABLES"
|
||||
.LP
|
||||
.TP
|
||||
\fBQTDIR\fP
|
||||
Specifies the base Qt dir
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,66 @@
|
||||
.TH "qvfb" "1" "3.0.3" "Troll Tech AS, Norway." ""
|
||||
.SH "NAME"
|
||||
.LP
|
||||
qvfb \- Virtual framebuffer for Qt
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
The virtual framebuffer allows Qt/Embedded programs to be
|
||||
developed on your desktop machine, without switching
|
||||
between consoles and X11.
|
||||
|
||||
Start a Qt/Embedded master application (i.e., construct
|
||||
QApplication with QApplication::GuiServer flag or use the
|
||||
\-qws command line parameter). You will need to specify to
|
||||
the server that you wish to use the virtual framebuffer
|
||||
driver, e.g.:
|
||||
|
||||
widgets \-qws \-display QVFb:0
|
||||
|
||||
You may prefer to set the QWS_DISPLAY environment
|
||||
variable to be QVFb:0.
|
||||
|
||||
qvfb supports the following command line options:
|
||||
|
||||
\-width width: the width of the virtual framebuffer
|
||||
(default: 240).
|
||||
\-height height: the height of the virtual framebuffer
|
||||
(default: 320).
|
||||
\-depth depth: the depth of the virtual framebuffer (1, 8
|
||||
or 32; default: 8).
|
||||
\-nocursor: do not display the X11 cursor in the
|
||||
framebuffer window.
|
||||
\-qwsdisplay :id the Qt/Embedded display id to provide
|
||||
(default: 0).
|
||||
|
||||
Virtual Framebuffer Design
|
||||
|
||||
The virtual framebuffer emulates a framebuffer using a
|
||||
shared memory region (the virtual frame buffer) and a
|
||||
utility to display the framebuffer in a window (qvfb).
|
||||
The regions of the display that have changed are updated
|
||||
periodically, so you will see discrete snapshots of the
|
||||
framebuffer rather than each individual drawing
|
||||
operation. For this reason drawing problems such as
|
||||
flickering may not be apparent until the program is run
|
||||
using a real framebuffer.
|
||||
|
||||
The target refresh rate can be set via the "View|Refresh
|
||||
Rate" menu item. This will cause qvfb to check for
|
||||
updated regions more tquickly. The rate is a target only.
|
||||
If little drawing is being done, the framebuffer will not
|
||||
show any updates between drawing events. If an
|
||||
application is displaying an animation the updates will
|
||||
be frequent, and the application and qvfb will compete
|
||||
for processor time.
|
||||
|
||||
Mouse and keyboard events are passed to the Qt/Embedded
|
||||
master process via named pipes.
|
||||
|
||||
The virtual framebuffer is a development tool only. No
|
||||
security issues have been considered in the virtual
|
||||
framebuffer design. It should be avoided in a production
|
||||
environment; QT_NO_QWS_VFB should always be defined in
|
||||
production libraries.
|
||||
.SH "AUTHORS"
|
||||
.LP
|
||||
TrollTech <http://www.trolltech.com/>
|
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
diff -Nru -x Makefile.cvs -x README.qt-copy -x upgrade_script.qt -x .cvsignore -x CVS -x include -x debian -x doc -x examples -x 3rdparty -x images -x mkspecs -I '^\*\*\( $\| \$Id\)' -I '^\#\( $\| \$Id\)' qt-x11-free-3.1.1.old/ qt-x11-free-3.1.1/ > qtcopy.diff
|
@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Exec=qtconfig-tqt3
|
||||
Name=Qt3 Configuration
|
||||
Name[de]=Qt3 Konfiguration
|
||||
Comment=A graphical configuration tool for programs using Qt 3
|
||||
Comment[de]=Ein grafisches Konfigurationstool für Qt3-Programme
|
||||
MimeType=application/x-qtconfig;
|
||||
Terminal=false
|
||||
Icon=qtconfig
|
||||
Type=Application
|
||||
Categories=Qt;Settings;
|
@ -0,0 +1,26 @@
|
||||
author: Martin Loschwitz <madkiss@madkiss.org>
|
||||
|
||||
Disables the rpath settings in qmake.conf
|
||||
|
||||
--- a/mkspecs/linux-g++/qmake.conf
|
||||
+++ b/mkspecs/linux-g++/qmake.conf
|
||||
@@ -55,7 +55,7 @@ QMAKE_LFLAGS_SHLIB = -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
-QMAKE_RPATH = -Wl,-rpath,
|
||||
+QMAKE_RPATH =
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
--- a/mkspecs/linux-g++-64/qmake.conf
|
||||
+++ b/mkspecs/linux-g++-64/qmake.conf
|
||||
@@ -58,7 +58,7 @@ QMAKE_LFLAGS_SHLIB = -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
-QMAKE_RPATH = -Wl,-rpath,
|
||||
+QMAKE_RPATH =
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
@ -0,0 +1,16 @@
|
||||
--- a/mkspecs/linux-g++-64/qmake.conf
|
||||
+++ b/mkspecs/linux-g++-64/qmake.conf
|
||||
@@ -43,11 +43,11 @@ QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_T
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 = /usr/X11R6/include
|
||||
-QMAKE_LIBDIR_X11 = /usr/X11R6/lib64
|
||||
+QMAKE_LIBDIR_X11 = /usr/X11R6/lib
|
||||
QMAKE_INCDIR_QT = $(QTDIR)/include
|
||||
QMAKE_LIBDIR_QT = $(QTDIR)/lib
|
||||
QMAKE_INCDIR_OPENGL = /usr/X11R6/include
|
||||
-QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib64
|
||||
+QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
|
||||
|
||||
QMAKE_LINK = g++
|
||||
QMAKE_LINK_SHLIB = g++
|
@ -0,0 +1,50 @@
|
||||
author: Sune Vuorela <debian@pusling.com>
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -34,7 +34,44 @@ SUPPORTED=
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
# need that throughout the script
|
||||
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
|
||||
+DPKG_ARCH=`(dpkg-architecture -qDEB_HOST_ARCH) 2>/dev/null` || UNAME_MACHINE=unknown
|
||||
+case $DPKG_ARCH in
|
||||
+ amd64)
|
||||
+ UNAME_MACHINE="x86_64"
|
||||
+ ;;
|
||||
+ arm)
|
||||
+ UNAME_MACHINE="armv4l"
|
||||
+ ;;
|
||||
+ armel)
|
||||
+ UNAME_MACHINE="armv5tel"
|
||||
+ ;;
|
||||
+ hppa)
|
||||
+ UNAME_MACHINE="parisc64"
|
||||
+ ;;
|
||||
+ hurd-i386)
|
||||
+ UNAME_MACHINE="i686-AT386"
|
||||
+ ;;
|
||||
+ i386)
|
||||
+ UNAME_MACHINE="i686"
|
||||
+ ;;
|
||||
+ kfreebsd-amd64)
|
||||
+ UNAME_MACHINE="x86_64"
|
||||
+ ;;
|
||||
+ kfreebsd-i386)
|
||||
+ UNAME_MACHINE="i586"
|
||||
+ ;;
|
||||
+ mipsel)
|
||||
+ UNAME_MACHINE="mips"
|
||||
+ ;;
|
||||
+ powerpc)
|
||||
+ UNAME_MACHINE="ppc"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ UNAME_MACHINE="$DPKG_ARCH"
|
||||
+ ;;
|
||||
+
|
||||
+
|
||||
+esac
|
||||
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
||||
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
@ -0,0 +1,32 @@
|
||||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## kubuntu_06_fglrx_0_size_screen.diff.dpatch by <jr@pechin3>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad qt-x11-free-3.3.8really3.3.7~/src/kernel/qpaintdevice_x11.cpp qt-x11-free-3.3.8really3.3.7/src/kernel/qpaintdevice_x11.cpp
|
||||
--- qt-x11-free-3.3.8really3.3.7~/src/kernel/qpaintdevice_x11.cpp 2007-04-02 20:06:28.000000000 +0100
|
||||
+++ qt-x11-free-3.3.8really3.3.7/src/kernel/qpaintdevice_x11.cpp 2007-04-02 20:12:10.000000000 +0100
|
||||
@@ -526,11 +526,16 @@
|
||||
Q_CHECK_PTR( dpisX );
|
||||
Q_CHECK_PTR( dpisY );
|
||||
for ( i = 0; i < screens; i++ ) {
|
||||
- dpisX[ i ] = (DisplayWidth(dpy,i) * 254 + DisplayWidthMM(dpy,i)*5)
|
||||
-
|
||||
- / (DisplayWidthMM(dpy,i)*10);
|
||||
- dpisY[ i ] = (DisplayHeight(dpy,i) * 254 + DisplayHeightMM(dpy,i)*5)
|
||||
- / (DisplayHeightMM(dpy,i)*10);
|
||||
+ if (DisplayWidthMM(dpy,i) < 1)
|
||||
+ dpisX[ i ] = 75; // default the dpi to 75.
|
||||
+ else
|
||||
+ dpisX[ i ] = (DisplayWidth(dpy,i) * 254 + DisplayWidthMM(dpy,i)*5)
|
||||
+ / (DisplayWidthMM(dpy,i)*10);
|
||||
+ if (DisplayHeightMM(dpy,i) < 1)
|
||||
+ dpisY[ i ] = 75; // default the dpi to 75.
|
||||
+ else
|
||||
+ dpisY[ i ] = (DisplayHeight(dpy,i) * 254 + DisplayHeightMM(dpy,i)*5)
|
||||
+ / (DisplayHeightMM(dpy,i)*10);
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,4 @@
|
||||
06_disable_rpath.diff
|
||||
09_amd64_lib64.diff
|
||||
72_dont_trust_uname-m_use_dpkg-arch_instead.diff
|
||||
kubuntu_06_fglrx_0_size_screen.diff
|
@ -0,0 +1,4 @@
|
||||
[usr]
|
||||
lib/trinity/plugins/styles/plastik.so=30306^e3^ei686 Linux g++-4.* full-config^e2006-09-29T20:06:31^e
|
||||
lib/tqt3/plugins/imageformats/libqmng.so=30306^e3^ei686 Linux g++-4.* full-config^e2006-08-25T18:22:18^e
|
||||
|
@ -0,0 +1,32 @@
|
||||
[3.3]
|
||||
libraryPath=/usr/lib/trinity/plugins/
|
||||
|
||||
[General]
|
||||
GUIEffects=general^eanimatecombo^e
|
||||
embedFonts=true
|
||||
enableXft=true
|
||||
font=Sans Serif,9,-1,5,50,0,0,0,0,0
|
||||
fontPath=\0
|
||||
useXft=true
|
||||
style=Plastik
|
||||
|
||||
[KDE]
|
||||
contrast=7
|
||||
kdeAddedLibraryPaths=/usr/lib/trinity/plugins/^e
|
||||
|
||||
[KWinPalette]
|
||||
activeBackground=#1f26ad
|
||||
activeBlend=#259bb8
|
||||
activeForeground=#ffffff
|
||||
activeTitleBtnBg=#e6e6e6
|
||||
frame=#efefef
|
||||
inactiveBackground=#cdcdcd
|
||||
inactiveBlend=#ababab
|
||||
inactiveForeground=#dddddd
|
||||
inactiveFrame=#efefef
|
||||
inactiveTitleBtnBg=#ebebeb
|
||||
|
||||
[Palette]
|
||||
active=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e
|
||||
disabled=#808080^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#c7c7c7^e#ffffff^e#808080^e#ffffff^e#efefef^e#000000^e#567594^e#ffffff^e#0000ee^e#52188b^e
|
||||
inactive=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e
|
@ -0,0 +1,482 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# build variables
|
||||
export QTDIR=$(shell pwd)
|
||||
|
||||
# re-set $(LD_LIBRARY_PATH)
|
||||
OLD_LD_LIBRARY_PATH := $(LD_LIBRARY_PATH)
|
||||
export LD_LIBRARY_PATH=$(QTDIR)/lib:$(OLD_LD_LIBRARY_PATH)
|
||||
|
||||
# fix path
|
||||
OLD_PATH := $(PATH)
|
||||
export PATH=$(QTDIR)/bin:$(OLD_PATH)
|
||||
|
||||
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH_OS),hurd)
|
||||
PLATFORM_ARG = hurd-g++
|
||||
else #hurd
|
||||
ifeq ($(DEB_HOST_ARCH),sparc)
|
||||
PLATFORM_ARG = linux-g++-sparc
|
||||
else #sparc
|
||||
PLATFORM_ARG = linux-g++
|
||||
endif #sparc
|
||||
endif #hurd
|
||||
|
||||
# tquilt stuff
|
||||
include /usr/share/tquilt/tquilt.make
|
||||
|
||||
# build variables (directorys)
|
||||
DEBIAN = $(shell pwd)/debian
|
||||
P_LIBS = $(DEBIAN)/libtqt3-mt
|
||||
P_DOC = $(DEBIAN)/tqt3-doc
|
||||
P_APPSDEV = $(DEBIAN)/tqt3-apps-dev
|
||||
P_HEADERS = $(DEBIAN)/libtqt3-headers
|
||||
P_QTMTDEV = $(DEBIAN)/libtqt3-mt-dev
|
||||
|
||||
TMP_INSTALL = $(DEBIAN)/tmp-install
|
||||
|
||||
CONFIGURE_OPTS = \
|
||||
-prefix "/usr" \
|
||||
-sysconfdir "/etc/tqt3" \
|
||||
-datadir "/usr/share/tqt3" \
|
||||
-headerdir "/usr/include/tqt3" \
|
||||
-docdir "/usr/share/tqt3/doc" \
|
||||
-plugindir "/usr/lib/tqt3/plugins" \
|
||||
-translationdir "/usr/share/tqt3/translations" \
|
||||
\
|
||||
-thread \
|
||||
-shared \
|
||||
-fast \
|
||||
-no-exceptions \
|
||||
-platform $(PLATFORM_ARG) \
|
||||
\
|
||||
-nis \
|
||||
-no-pch \
|
||||
-cups \
|
||||
-stl \
|
||||
-ipv6 \
|
||||
\
|
||||
-sm \
|
||||
-xshape \
|
||||
-xinerama \
|
||||
-xcursor \
|
||||
-xrandr \
|
||||
-xrender \
|
||||
-xft \
|
||||
-tablet \
|
||||
-xkb \
|
||||
\
|
||||
-system-zlib \
|
||||
-system-libpng \
|
||||
-system-libmng \
|
||||
-system-libjpeg \
|
||||
-system-nas-sound \
|
||||
\
|
||||
-enable-opengl \
|
||||
-dlopen-opengl \
|
||||
\
|
||||
-qt-gif \
|
||||
-qt-imgfmt-png \
|
||||
-qt-imgfmt-jpeg \
|
||||
-plugin-imgfmt-mng \
|
||||
\
|
||||
-plugin-sql-odbc \
|
||||
-plugin-sql-psql \
|
||||
-plugin-sql-mysql \
|
||||
-plugin-sql-sqlite \
|
||||
\
|
||||
-I/usr/include/mysql \
|
||||
-I/usr/include/freetype2 \
|
||||
-I`pg_config --includedir` \
|
||||
\
|
||||
-L/usr/lib/$(DEB_HOST_MULTIARCH) \
|
||||
\
|
||||
-lfontconfig \
|
||||
-inputmethod \
|
||||
# End of CONFIGURE_OPTS
|
||||
|
||||
interbase_archs := i386 amd64 sparc powerpc
|
||||
ifneq ($(DEB_HOST_ARCH_CPU),$(findstring $(DEB_HOST_ARCH_CPU),$(interbase_archs)))
|
||||
CONFIGURE_OPTS += -no-sql-ibase
|
||||
IBASE = -Nlibtqt3-mt-ibase
|
||||
else
|
||||
IBASE =
|
||||
endif
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH_OS),hurd)
|
||||
CONFIGURE_OPTS += -no-sql-ibase
|
||||
IBASE = -Nlibtqt3-mt-ibase
|
||||
endif
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH),arm)
|
||||
CONFIGURE_OPTS += -DQT_QLOCALE_USES_FCVT
|
||||
endif
|
||||
|
||||
build: libqt-thread-stamp
|
||||
|
||||
touch build-stamp
|
||||
|
||||
libqt-thread-stamp: $(QUILT_STAMPFN)
|
||||
|
||||
@echo "QTDIR is ${QTDIR}"
|
||||
|
||||
dh_testdir
|
||||
|
||||
echo yes | ./configure $(CONFIGURE_OPTS)
|
||||
|
||||
rm -rf include/qinputcontext.h include/qinputcontextfactory.h include/qinputcontextplugin.h
|
||||
ln -s ../src/kernel/qinputcontext.h include/qinputcontext.h
|
||||
ln -s ../src/inputmethod/qinputcontextfactory.h include/qinputcontextfactory.h
|
||||
ln -s ../src/inputmethod/qinputcontextplugin.h include/qinputcontextplugin.h
|
||||
|
||||
# proceed
|
||||
$(MAKE) sub-src sub-plugins sub-tools
|
||||
$(MAKE) -C src INSTALL_ROOT=$(TMP_INSTALL) install_target
|
||||
$(MAKE) INSTALL_ROOT=$(TMP_INSTALL) install
|
||||
$(MAKE) INSTALL_ROOT=$(TMP_INSTALL) plugins-install
|
||||
|
||||
# archives get accidentally stripped by make install. Copy over unstripped ones for now.
|
||||
cp lib/lib*.a $(TMP_INSTALL)/usr/lib/
|
||||
|
||||
cp bin/qtrename140 $(TMP_INSTALL)/usr/bin/
|
||||
cp bin/qt20fix $(TMP_INSTALL)/usr/bin/
|
||||
cp bin/findtr $(TMP_INSTALL)/usr/bin/
|
||||
|
||||
# build conv2ui
|
||||
cd tools/designer/tools/conv2ui && $(MAKE)
|
||||
cp bin/conv2ui $(TMP_INSTALL)/usr/bin/conv2ui
|
||||
|
||||
# build qvfb
|
||||
cd tools/qvfb/ && $(MAKE)
|
||||
cp tools/qvfb/qvfb $(TMP_INSTALL)/usr/bin/qvfb
|
||||
|
||||
# install qmake.cache file
|
||||
install -d $(P_QTMTDEV)/usr/share/tqt3/
|
||||
cat .qmake.cache | sed "s#$(QTDIR)#/usr/share/tqt3#g" > $(P_QTMTDEV)/usr/share/tqt3/.qmake.cache
|
||||
|
||||
# install qconfig.h for the mt
|
||||
install -m 644 -D include/qconfig.h $(P_QTMTDEV)/usr/include/tqt3/qconfig.h
|
||||
install -m 644 -D include/qmodules.h $(P_QTMTDEV)/usr/include/tqt3/qmodules.h
|
||||
|
||||
install -m 644 -D include/qinputcontext.h $(P_HEADERS)/usr/include/tqt3/qinputcontext.h
|
||||
install -m 644 -D include/qinputcontextfactory.h $(P_HEADERS)/usr/include/tqt3/qinputcontextfactory.h
|
||||
install -m 644 -D include/qinputcontextplugin.h $(P_HEADERS)/usr/include/tqt3/qinputcontextplugin.h
|
||||
|
||||
touch libqt-thread-stamp
|
||||
|
||||
clean: unpatch
|
||||
|
||||
dh_testdir
|
||||
|
||||
-rm -rf debian/patched
|
||||
-rm -rf build-stamp libqt-thread-stamp
|
||||
|
||||
-chmod -R u+w *
|
||||
-chmod a-x doc/html/layout?.png
|
||||
|
||||
if [ -f "src/Makefile" ]; then \
|
||||
$(MAKE) -C src clean; $(MAKE) -C plugins/src distclean; $(MAKE) -C tools distclean; \
|
||||
$(MAKE) -C tools/makeqpf distclean; $(MAKE) -C tools/qconfig distclean; $(MAKE) -C tools/qvfb distclean; \
|
||||
$(MAKE) -C tools/msg2qm distclean; $(MAKE) -C tools/mergetr distclean; $(MAKE) -C tools/qembed distclean; \
|
||||
$(MAKE) -C tools/designer/tools/conv2ui distclean; $(MAKE) -C tools/designer/tools/createcw distclean; \
|
||||
$(MAKE) -C tools/designer/plugins/glade distclean; $(MAKE) -C tools/designer/plugins/qglwidget distclean; \
|
||||
$(MAKE) -C config.tests/unix/largefile distclean; $(MAKE) -C qmake distclean; \
|
||||
fi
|
||||
|
||||
-rm -rf .qmake.cache src/.qmake.internal.cache tools/designer/designer/.qmake.internal.cache qmake/GNUmakefile \
|
||||
config.status bin/moc bin/qmake src/moc/*.o mkspecs/default lib/lib* `pwd`/debian/doc $(TMP_INSTALL) \
|
||||
src/tools/qconfig.cpp include/qconfig.h include/qmodules.h plugins/accessibleqtwidgets.prl \
|
||||
config.tests/unix/ipv6/ipv6test config.tests/unix/ipv6/ipv6test.o config.tests/unix/ptrsize/ptrsizetest.o \
|
||||
config.tests/unix/ptrsize/ptrsizetest config.tests/unix/endian/endiantest.o \
|
||||
config.tests/unix/endian/endiantest lib/tqt-mt.pc extensions/nsplugin/examples/trivial/libtrivial.prl \
|
||||
extensions/nsplugin/examples/grapher/libgrapher.prl bin/designer
|
||||
|
||||
rm -f qmake/*o
|
||||
rm -rf include/qinputcontext.h include/qinputcontextfactory.h include/qinputcontextplugin.h
|
||||
rm -f src/.obj/debug-shared-mt/*o plugins/src/inputmethods/imsw-multi/.obj/debug-shared-mt/*o plugins/inputmethods/*so
|
||||
rm -f plugins/src/inputmethods/imsw-none/.obj/debug-shared-mt/*o plugins/src/inputmethods/simple/.obj/debug-shared-mt/*o plugins/src/inputmethods/xim/.obj/debug-shared-mt/*o
|
||||
|
||||
# delete generated Makefiles but save the toplevel Makefile
|
||||
-mv Makefile Makefile.save
|
||||
for a in `find . -name 'Makefile'`; do rm -f "$$a"; done
|
||||
-mv Makefile.save Makefile
|
||||
|
||||
cd examples/ && find . -name '.obj' | xargs rm -rf
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
dh_clean -i
|
||||
dh_installdirs
|
||||
|
||||
# fix .prl files
|
||||
for a in $(TMP_INSTALL)/usr/lib/*prl; do cat "$$a" | sed \
|
||||
"s#$(QTDIR)#/usr/share/tqt3#g" > "$$a".new && mv "$$a".new "$$a"; done
|
||||
|
||||
dh_install $(IBASE) --sourcedir=$(TMP_INSTALL)
|
||||
|
||||
## build tqt3-doc package
|
||||
# copy all docs there first
|
||||
install -d $(P_DOC)/usr/share/tqt3/doc/html/
|
||||
for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done
|
||||
#typo bugfix
|
||||
sed -i -e 's/reveives/receives/' $(P_DOC)/usr/share/tqt3/doc/html/qwidget.html
|
||||
|
||||
## build designer package documentation
|
||||
# tqt3-designer
|
||||
install -d `pwd`/debian/tqt3-designer/usr/share/tqt3/doc/html/
|
||||
for a in `cat doc/html/designer*.html doc/html/designer*.dcf | grep png | sed 's/^.*src=\"\([^\"]+\)\".*$$/\1/' | \
|
||||
perl -pe 's#<\?p[^>]+>##' | tee outputfile | perl -ne '/<img [^>]*(src=\"[^"]+\")/; print $$1' | \
|
||||
sed 's/src=//g' | sed 's/"/ /g'`; do cp doc/html/"$$a" `pwd`/debian/tqt3-designer/usr/share/tqt3/doc/html/ && \
|
||||
rm -rf $(P_DOC)/usr/share/tqt3/doc/html/"$$a" || true; done
|
||||
rm -rf outputfile `pwd`/debian/tqt3-designer/usr/share/tqt3/doc/html/logo32.png
|
||||
rm -rf `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/designer*
|
||||
|
||||
## build linguist package documentation
|
||||
# tqt3-linguist
|
||||
install -d `pwd`/debian/tqt3-linguist/usr/share/tqt3/doc/html/
|
||||
for a in `cat doc/html/linguist*.html doc/html/linguist*.dcf | grep png | sed 's/^.*src=\"\([^\"]+\)\".*$$/\1/' | \
|
||||
perl -pe 's#<\?p[^>]+>##' | tee outputfile | perl -ne '/<img [^>]*(src=\"[^"]+\")/; print $$1' | \
|
||||
sed 's/src=//g' | sed 's/"/ /g'`; do cp doc/html/"$$a" `pwd`/debian/tqt3-linguist/usr/share/tqt3/doc/html/ && \
|
||||
rm -rf $(P_DOC)/usr/share/tqt3/doc/html/"$$a" || true; done
|
||||
rm -rf outputfile `pwd`/debian/tqt3-linguist/usr/share/tqt3/doc/html/logo32.png
|
||||
rm -rf `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/linguist*
|
||||
|
||||
## tqt3-assistant
|
||||
# remove docs from tqt3-doc for qt-assistant
|
||||
rm -rf `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/assistant*
|
||||
|
||||
## all packages
|
||||
# install the overrides files
|
||||
#for a in debian/overrides/*; do install -d debian/`echo "$$a" | sed 's/debian\/overrides\///g'`/usr/share/lintian/overrides; done
|
||||
#for a in debian/overrides/*; do cp "$$a" debian/`echo "$$a" | sed 's/debian\/overrides\///g'`/usr/share/lintian/overrides/`echo "$$a" | sed 's/debian\/overrides\///g'`; done
|
||||
|
||||
chmod 644 debian/tqt3-dev-tools/usr/share/tqt3/mkspecs/aix-g++-64/qplatformdefs.h
|
||||
chmod 644 debian/tqt3-dev-tools/usr/share/tqt3/mkspecs/macx-pbuilder/Info.plist.app
|
||||
|
||||
binary-indep: build install
|
||||
|
||||
# Build architecture-independent files here.
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
dh_installdocs -i -XREADME.Debian
|
||||
dh_installchangelogs -i changes-3.3.8
|
||||
dh_installchangelogs -i changes-3.3.8b
|
||||
|
||||
find doc/man -path \*/CVS -prune -o -print | cpio -pmd $(P_DOC)/usr/share/tqt3/doc/
|
||||
|
||||
-rm -f `find $(P_DOC)/usr/share/tqt3/doc/ -name "*.o"`
|
||||
find $(P_DOC) -type f -perm +0100 | xargs --no-run-if-empty rm -f
|
||||
|
||||
install -d $(P_DOC)/usr/share/man/man3/
|
||||
|
||||
for i in $(P_DOC)/usr/share/tqt3/doc/doc/man/man3/* ; do mv $$i $(P_DOC)/usr/share/man/man3/ ; done
|
||||
|
||||
-rm -rf $(P_DOC)/usr/share/tqt3/doc/doc
|
||||
|
||||
# other i18n files
|
||||
for a in `cd translations/ && find . -name 'qt_*.qm' | sed 's/qt_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
|
||||
install -m644 -D `pwd`/translations/qt_"$$a".qm `pwd`/debian/libtqt3-i18n/usr/share/tqt3/translations/qt_"$$a".qm; done
|
||||
|
||||
# logo32.png
|
||||
cp `pwd`/doc/html/logo32.png `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/
|
||||
|
||||
# remove qmake html docu from tqt3-doc
|
||||
rm -rf `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/qmake*
|
||||
|
||||
# create examples package
|
||||
install -d `pwd`/debian/doc/tqt3-examples/tools/designer
|
||||
install -d `pwd`/debian/doc/tqt3-examples/tools/linguist
|
||||
cp -ax examples `pwd`/debian/doc/tqt3-examples
|
||||
cp -ax tutorial `pwd`/debian/doc/tqt3-examples
|
||||
cp -ax tools/designer/examples `pwd`/debian/doc/tqt3-examples/tools/designer/
|
||||
cp -ax tools/linguist/tutorial `pwd`/debian/doc/tqt3-examples/tools/linguist/
|
||||
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name 'tt1'`; do rm -f "$$a"; done
|
||||
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name 'tt2'`; do rm -f "$$a"; done
|
||||
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name 'tt3'`; do rm -f "$$a"; done
|
||||
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name '.moc'`; do rm -rf "$$a"; done
|
||||
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name '.obj'`; do rm -rf "$$a"; done
|
||||
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name 'Makefile'`; do rm -f "$$a"; done
|
||||
install -D `pwd`/debian/maintain/build-examples.sh `pwd`/debian/doc/tqt3-examples/build-examples
|
||||
chmod 755 `pwd`/debian/doc/tqt3-examples/build-examples
|
||||
cd `pwd`/debian/doc/ && tar cvvfz tqt3-examples.tar.gz tqt3-examples/
|
||||
install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-examples.tar.gz
|
||||
|
||||
# proceed
|
||||
dh_compress -i -Xhtml/
|
||||
dh_link -i
|
||||
|
||||
dh_fixperms -i
|
||||
dh_installdeb -i
|
||||
|
||||
dh_perl -i
|
||||
dh_shlibdeps -i
|
||||
|
||||
# fix shlibdeps madness
|
||||
for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done
|
||||
|
||||
dh_gencontrol -i
|
||||
dh_md5sums -i
|
||||
|
||||
dh_builddeb -i
|
||||
|
||||
binary-arch: build install
|
||||
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdirs -a
|
||||
|
||||
## create tqt3-apps-dev-package
|
||||
install -d $(P_APPSDEV)/usr/include/tqt3/
|
||||
cp `pwd`/tools/designer/interfaces/*.h $(P_APPSDEV)/usr/include/tqt3/
|
||||
cp `pwd`/tools/designer/editor/*.h $(P_APPSDEV)/usr/include/tqt3/
|
||||
rm -rf `pwd`/debian/tqt3-apps-dev/usr/include/tqt3/preferences.ui.h
|
||||
|
||||
## qvfb package
|
||||
install -m644 -D `pwd`/tools/qvfb/pda.skin `pwd`/debian/tqt3-dev-tools-embedded/etc/tqt3/qvfb/pda.skin
|
||||
install -m644 -D `pwd`/tools/qvfb/pda_down.png `pwd`/debian/tqt3-dev-tools-embedded/usr/share/qvfb/pda_down.png
|
||||
install -m644 -D `pwd`/tools/qvfb/pda_up.png `pwd`/debian/tqt3-dev-tools-embedded/usr/share/qvfb/pda_up.png
|
||||
|
||||
# remove utterly ugle symlink
|
||||
rm -rf `pwd`/debian/tqt3-dev-tools//usr/share/tqt3/mkspecs/linux-g++/linux-g++
|
||||
|
||||
# language file for linguist
|
||||
install -d `pwd`/debian/tqt3-linguist/usr/share/doc/tqt3-linguist/
|
||||
cp translations/qt_untranslated.ts `pwd`/debian/tqt3-linguist/usr/share/doc/tqt3-linguist/
|
||||
|
||||
# fix that stupid friggin professional file
|
||||
perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' src/qt_professional.pri
|
||||
|
||||
## i18n files for designer, linguist and assistant
|
||||
(cd `pwd`/tools/designer/designer/ && lrelease designer.pro)
|
||||
for a in `cd tools/designer/designer/ && find . -name 'designer_*.qm' | sed 's/designer_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
|
||||
install -m644 -D tools/designer/designer/designer_"$$a".qm `pwd`/debian/tqt3-designer/usr/share/tqt3/translations/designer_"$$a".qm; done
|
||||
rm -rf `pwd`/tools/designer/designer/*.qm
|
||||
|
||||
(cd `pwd`/tools/assistant/ && lrelease assistant.pro)
|
||||
for a in `cd tools/assistant/ && find . -name 'assistant_*.qm' | sed 's/assistant_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
|
||||
install -m644 -D tools/assistant/assistant_"$$a".qm `pwd`/debian/tqt3-assistant/usr/share/tqt3/translations/assistant_"$$a".qm; done
|
||||
rm -rf `pwd`/tools/assistant/*.qm `pwd`/debian/libtqt3-i18n/usr/share/tqt3/translations/assistant_de.qm
|
||||
|
||||
(cd `pwd`/tools/linguist/linguist/ && lrelease linguist.pro)
|
||||
for a in `cd tools/linguist/linguist/ && find . -name 'linguist_*.qm' | sed 's/linguist_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
|
||||
install -m644 -D tools/linguist/linguist/linguist_"$$a".qm `pwd`/debian/tqt3-linguist/usr/share/tqt3/translations/linguist_"$$a".qm; done
|
||||
rm -rf `pwd`/tools/linguist/linguist/*.qm
|
||||
|
||||
# desktop lnk files
|
||||
install -m644 -D debian/maintain/designer-tqt3.desktop `pwd`/debian/tqt3-designer/usr/share/applications/designer-tqt3.desktop
|
||||
install -m644 -D debian/maintain/linguist-tqt3.desktop `pwd`/debian/tqt3-linguist/usr/share/applications/linguist-tqt3.desktop
|
||||
|
||||
install -m644 -D debian/maintain/assistant-tqt3.desktop `pwd`/debian/tqt3-assistant/usr/share/applications/assistant-tqt3.desktop
|
||||
install -m644 -D debian/maintain/tqt3config.desktop `pwd`/debian/tqt3-qtconfig/usr/share/applications/tqt3config.desktop
|
||||
|
||||
# include logo32 for every program
|
||||
cd `pwd`/debian/tqt3-designer/usr/share/tqt3/doc/html && for a in `find . -name '*.html'`; \
|
||||
do cat "$$a" | sed 's/logo32/logo32-designer/g' > "$$a".new && mv "$$a".new "$$a"; done
|
||||
|
||||
cd `pwd`/debian/tqt3-linguist/usr/share/tqt3/doc/html && for a in `find . -name '*.html'`; \
|
||||
do cat "$$a" | sed 's/logo32/logo32-linguist/g' > "$$a".new && mv "$$a".new "$$a"; done
|
||||
|
||||
cd `pwd`/debian/tqt3-assistant/usr/share/tqt3/doc/html && for a in `find . -name '*.html'`; \
|
||||
do cat "$$a" | sed 's/logo32/logo32-assistant/g' > "$$a".new && mv "$$a".new "$$a"; done
|
||||
|
||||
cd `pwd`/debian/tqt3-dev-tools/usr/share/tqt3/doc/html && for a in `find . -name '*.html'`; \
|
||||
do cat "$$a" | sed 's/logo32/logo32-qmake/g' > "$$a".new && mv "$$a".new "$$a"; done
|
||||
|
||||
for a in designer linguist assistant; do install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/tqt3-"$$a"/usr/share/tqt3/doc/html/logo32-"$$a".png; done
|
||||
install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/tqt3-dev-tools/usr/share/tqt3/doc/html/logo32-qmake.png
|
||||
|
||||
# fix qmake.conf files
|
||||
cd `pwd`/debian/tqt3-dev-tools/usr/share/tqt3/mkspecs/ && for a in *; do cd "$$a" && cat qmake.conf | sed 's/\$$(QTDIR)\/include/\/usr\/share\/tqt3\/include/g' | sed 's/\$$(QTDIR)/\/usr\/share\/tqt3/g' | \
|
||||
sed 's/\-I\/usr\/include/&\/tqt3/g' >> qmake.conf.new && mv qmake.conf.new qmake.conf && cd ../; done
|
||||
|
||||
# build attic package and copy it to libtqt3-ompat-headers
|
||||
cd `pwd`/src/ && tar cvvfz attic.tar.gz attic/
|
||||
install -D `pwd`/src/attic.tar.gz `pwd`/debian/libtqt3-compat-headers/usr/share/doc/libtqt3-compat-headers/attic.tar.gz
|
||||
rm -rf `pwd`/src/attic.tar.gz
|
||||
|
||||
# rename some binaries to make tqt3/4 installations possible
|
||||
mv `pwd`/debian/tqt3-designer/usr/bin/designer `pwd`/debian/tqt3-designer/usr/bin/designer-tqt3
|
||||
mv `pwd`/debian/tqt3-dev-tools/usr/bin/uic `pwd`/debian/tqt3-dev-tools/usr/bin/uic-tqt3
|
||||
mv `pwd`/debian/tqt3-dev-tools/usr/bin/moc `pwd`/debian/tqt3-dev-tools/usr/bin/moc-tqt3
|
||||
mv `pwd`/debian/tqt3-dev-tools/usr/bin/lupdate `pwd`/debian/tqt3-dev-tools/usr/bin/lupdate-tqt3
|
||||
mv `pwd`/debian/tqt3-dev-tools/usr/bin/lrelease `pwd`/debian/tqt3-dev-tools/usr/bin/lrelease-tqt3
|
||||
mv `pwd`/debian/tqt3-dev-tools/usr/bin/qmake `pwd`/debian/tqt3-dev-tools/usr/bin/qmake-tqt3
|
||||
mv `pwd`/debian/tqt3-qtconfig/usr/bin/qtconfig `pwd`/debian/tqt3-qtconfig/usr/bin/qtconfig-tqt3
|
||||
mv `pwd`/debian/tqt3-assistant/usr/bin/assistant `pwd`/debian/tqt3-assistant/usr/bin/assistant-tqt3
|
||||
mv `pwd`/debian/tqt3-linguist/usr/bin/linguist `pwd`/debian/tqt3-linguist/usr/bin/linguist-tqt3
|
||||
|
||||
install -D debian/maintain/man/designer.1 `pwd`/debian/tqt3-designer/usr/share/man/man1/designer-tqt3.1
|
||||
install -D doc/man/man1/moc.1 `pwd`/debian/tqt3-dev-tools/usr/share/man/man1/moc-tqt3.1
|
||||
install -D doc/man/man1/uic.1 `pwd`/debian/tqt3-dev-tools/usr/share/man/man1/uic-tqt3.1
|
||||
install -D doc/man/man1/lrelease.1 `pwd`/debian/tqt3-dev-tools/usr/share/man/man1/lrelease-tqt3.1
|
||||
install -D doc/man/man1/lupdate.1 `pwd`/debian/tqt3-dev-tools/usr/share/man/man1/lupdate-tqt3.1
|
||||
install -D debian/maintain/man/qtconfig.1 `pwd`/debian/tqt3-qtconfig/usr/share/man/man1/qtconfig-tqt3.1
|
||||
install -D debian/maintain/man/linguist.1 `pwd`/debian/tqt3-linguist/usr/share/man/man1/linguist-tqt3.1
|
||||
|
||||
dh_link -ptqt3-designer usr/share/tqt3/doc/html usr/share/doc/tqt3-designer/html
|
||||
dh_link -ptqt3-assistant usr/share/tqt3/doc/html usr/share/doc/tqt3-assistant/html
|
||||
dh_link -ptqt3-linguist usr/share/tqt3/doc/html usr/share/doc/tqt3-linguist/html
|
||||
dh_link -ptqt3-dev-tools usr/share/tqt3/doc/html usr/share/doc/tqt3-dev-tools/html
|
||||
|
||||
# install the manpages we have
|
||||
dh_installman -ptqt3-designer debian/maintain/man/createcw.1
|
||||
dh_installman -ptqt3-dev-tools-compat debian/maintain/man/qt20fix.1 debian/maintain/man/mergetr.1 debian/maintain/man/findtr.1 debian/maintain/man/msg2qm.1
|
||||
dh_installman -ptqt3-dev-tools-embedded debian/maintain/man/makeqpf.1 debian/maintain/man/qvfb.1
|
||||
dh_installman -ptqt3-dev-tools debian/maintain/man/qembed.1
|
||||
|
||||
# copy README.Debian
|
||||
for a in libtqt3-mt-dev libtqt3-mt tqt3-doc; do install -D `pwd`/debian/README.Debian `pwd`/debian/"$$a"/usr/share/doc/"$$a"/README.Debian; done
|
||||
|
||||
# install the qmake binary
|
||||
rm -rf `pwd`/debian/tqt3-dev-tools/usr/bin/qmake
|
||||
install -D `pwd`/qmake/qmake `pwd`/debian/tqt3-dev-tools/usr/bin/qmake-tqt3
|
||||
|
||||
# Install source for the designer tools, such as createcw.
|
||||
cp -ra tools/designer/tools debian/tqt3-designer/usr/share/tqt3/tools
|
||||
rm -f debian/tqt3-designer/usr/share/tqt3/tools/createcw/createcw
|
||||
rm -rf debian/tqt3-designer/usr/share/tqt3/tools/createcw/.moc
|
||||
rm -rf debian/tqt3-designer/usr/share/tqt3/tools/createcw/.obj
|
||||
rm -f debian/tqt3-designer/usr/share/tqt3/tools/createcw/Makefile
|
||||
rm -f debian/tqt3-designer/usr/share/tqt3/tools/conv2ui/conv2ui
|
||||
rm -rf debian/tqt3-designer/usr/share/tqt3/tools/conv2ui/.moc
|
||||
rm -rf debian/tqt3-designer/usr/share/tqt3/tools/conv2ui/.obj
|
||||
rm -f debian/tqt3-designer/usr/share/tqt3/tools/conv2ui/Makefile
|
||||
|
||||
# run remaining debhelper scripts
|
||||
dh_installdocs -a $(IBASE) -XREADME.Debian
|
||||
dh_installmenu -a $(IBASE)
|
||||
|
||||
dh_installchangelogs -a $(IBASE) changes-3.3.8
|
||||
dh_installchangelogs -a $(IBASE) changes-3.3.8b
|
||||
|
||||
dh_link -a $(IBASE)
|
||||
dh_strip -a $(IBASE) --dbg-package=qt-x11-free-dbg
|
||||
dh_compress -a $(IBASE)
|
||||
dh_fixperms -a $(IBASE)
|
||||
|
||||
# run remaining debhelper scripts
|
||||
dh_makeshlibs -a $(IBASE) -V
|
||||
dh_installdeb -a $(IBASE)
|
||||
dh_perl -a $(IBASE)
|
||||
dh_shlibdeps -a $(IBASE) -l`pwd`/debian/libtqt3-mt/usr/lib
|
||||
|
||||
# fix shlibdeps madness
|
||||
for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done
|
||||
|
||||
# fix conffiles file for tqt3-dev-tools-embedded
|
||||
echo "/etc/tqt3/qvfb/pda.skin" > `pwd`/debian/tqt3-dev-tools-embedded/DEBIAN/conffiles
|
||||
|
||||
dh_gencontrol -a $(IBASE)
|
||||
dh_md5sums -a $(IBASE)
|
||||
dh_builddeb -a $(IBASE)
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build binary-indep binary-arch binary install clean patch unpatch
|
@ -0,0 +1,7 @@
|
||||
usr/lib/libeditor.prl
|
||||
usr/lib/libeditor.a
|
||||
usr/lib/libdesignercore.prl
|
||||
usr/lib/libdesignercore.a
|
||||
usr/lib/libqassistantclient.prl
|
||||
usr/lib/libqassistantclient.a
|
||||
usr/include/tqt3/qassistantclient.h
|
@ -0,0 +1,8 @@
|
||||
/usr/lib/libeditor.prl /usr/share/tqt3/lib/libeditor.prl
|
||||
/usr/lib/libeditor.a /usr/share/tqt3/lib/libeditor.a
|
||||
/usr/lib/libdesignercore.prl /usr/share/tqt3/lib/libdesignercore.prl
|
||||
/usr/lib/libdesignercore.a /usr/share/tqt3/lib/libdesignercore.a
|
||||
/usr/lib/libqassistantclient.prl /usr/share/tqt3/lib/libqassistantclient.prl
|
||||
/usr/lib/libqassistantclient.a /usr/share/tqt3/lib/libqassistantclient.a
|
||||
/usr/include/tqt3 /usr/share/tqt3/tools/designer/editor
|
||||
/usr/include/tqt3 /usr/share/tqt3/tools/designer/interfaces
|
@ -0,0 +1,3 @@
|
||||
usr/bin/assistant
|
||||
usr/share/tqt3/doc/html/assistant*html
|
||||
usr/share/tqt3/doc/html/assistant*dcf
|
@ -0,0 +1 @@
|
||||
/usr/bin/assistant-tqt3 /usr/share/tqt3/bin/assistant
|
@ -0,0 +1,6 @@
|
||||
?package(tqt3-assistant):\
|
||||
needs="x11"\
|
||||
section="Applications/Programming"\
|
||||
hints="KDE"\
|
||||
title="Qt3 Assistant"\
|
||||
command="/usr/bin/assistant-tqt3"
|
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/assistant assistant "/usr/bin/assistant-tqt3" "45" \
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
upgrade) ;;
|
||||
remove|failed-upgrade|deconfigure)
|
||||
update-alternatives --remove assistant "/usr/bin/assistant-tqt3"
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,8 @@
|
||||
usr/bin/designer
|
||||
usr/bin/createcw
|
||||
usr/bin/conv2ui
|
||||
usr/share/tqt3/templates/*
|
||||
usr/share/tqt3/doc/html/designer*html
|
||||
usr/share/tqt3/doc/html/designer*dcf
|
||||
usr/share/tqt3/doc/html/designer*jpg
|
||||
usr/lib/tqt3/plugins/designer/*
|
@ -0,0 +1 @@
|
||||
/usr/bin/designer-tqt3 /usr/share/tqt3/bin/designer
|
@ -0,0 +1,7 @@
|
||||
?package(tqt3-designer):\
|
||||
needs="x11"\
|
||||
section="Applications/Programming"\
|
||||
hints="KDE"\
|
||||
title="Qt3 Designer"\
|
||||
command="/usr/bin/designer-tqt3"
|
||||
|
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/designer designer "/usr/bin/designer-tqt3" "45" \
|
||||
--slave /usr/share/man/man1/designer.1.gz designer.1.gz \
|
||||
"/usr/share/man/man1/designer-tqt3.1.gz"
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
upgrade) ;;
|
||||
remove|failed-upgrade|deconfigure)
|
||||
update-alternatives --remove designer "/usr/bin/designer-tqt3"
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,6 @@
|
||||
usr/bin/qt20fix
|
||||
usr/bin/qtrename140
|
||||
usr/bin/qm2ts
|
||||
usr/bin/mergetr
|
||||
usr/bin/findtr
|
||||
usr/bin/msg2qm
|
@ -0,0 +1,2 @@
|
||||
usr/bin/makeqpf
|
||||
usr/bin/qvfb
|
@ -0,0 +1,2 @@
|
||||
/usr/bin/makeqpf /usr/share/tqt3/bin/makeqpf
|
||||
/usr/bin/qvfb /usr/share/tqt3/bin/qvfb
|
@ -0,0 +1,9 @@
|
||||
usr/share/tqt3/mkspecs/*
|
||||
usr/share/tqt3/doc/html/qmake*html
|
||||
usr/share/tqt3/doc/html/qmake*dcf
|
||||
usr/bin/qmake
|
||||
usr/bin/lupdate
|
||||
usr/bin/lrelease
|
||||
usr/bin/uic
|
||||
usr/bin/moc
|
||||
usr/bin/qembed
|
@ -0,0 +1,7 @@
|
||||
/usr/share/tqt3/mkspecs/linux-g++ /usr/share/tqt3/mkspecs/default
|
||||
/usr/bin/qmake-tqt3 /usr/share/tqt3/bin/qmake
|
||||
/usr/bin/lupdate-tqt3 /usr/share/tqt3/bin/lupdate
|
||||
/usr/bin/lrelease-tqt3 /usr/share/tqt3/bin/lrelease
|
||||
/usr/bin/uic-tqt3 /usr/share/tqt3/bin/uic
|
||||
/usr/bin/moc-tqt3 /usr/share/tqt3/bin/moc
|
||||
/usr/bin/qembed /usr/share/tqt3/bin/qembed
|
@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/moc moc "/usr/bin/moc-tqt3" "45" \
|
||||
--slave /usr/share/man/man1/moc.1.gz moc.1.gz \
|
||||
"/usr/share/man/man1/moc-tqt3.1.gz"
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/uic uic "/usr/bin/uic-tqt3" "45" \
|
||||
--slave /usr/share/man/man1/uic.1.gz uic.1.gz \
|
||||
"/usr/share/man/man1/uic-tqt3.1.gz"
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/lupdate lupdate "/usr/bin/lupdate-tqt3" "45" \
|
||||
--slave /usr/share/man/man1/lupdate.1.gz lupdate.1.gz \
|
||||
"/usr/share/man/man1/lupdate-tqt3.1.gz"
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/lrelease lrelease "/usr/bin/lrelease-tqt3" "45" \
|
||||
--slave /usr/share/man/man1/lrelease.1.gz lrelease.1.gz \
|
||||
"/usr/share/man/man1/lrelease-tqt3.1.gz"
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/qmake qmake "/usr/bin/qmake-tqt3" "45" \
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
upgrade) ;;
|
||||
remove|failed-upgrade|deconfigure)
|
||||
update-alternatives --remove moc "/usr/bin/moc-tqt3"
|
||||
update-alternatives --remove uic "/usr/bin/uic-tqt3"
|
||||
update-alternatives --remove lupdate "/usr/bin/lupdate-tqt3"
|
||||
update-alternatives --remove lrelease "/usr/bin/lrelease-tqt3"
|
||||
update-alternatives --remove qmake "/usr/bin/qmake-tqt3"
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,11 @@
|
||||
Document: tqt3-doc
|
||||
Title: Qt Reference Documentation
|
||||
Author: Troll Tech
|
||||
Abstract: Qt (TM) is a multi-platform C++ GUI toolkit. It is a product of
|
||||
Troll Tech. It is supported on all major variants of Microsoft Windows and
|
||||
Unix/X Windows.
|
||||
Section: Apps/Programming
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/tqt3-doc/html/index.html
|
||||
Files: /usr/share/doc/tqt3-doc/html/*.html
|
@ -0,0 +1,2 @@
|
||||
FAQ
|
||||
README-QT.TXT
|
@ -0,0 +1,2 @@
|
||||
/usr/share/man/man3 /usr/share/tqt3/doc/man/man3
|
||||
/usr/share/tqt3/doc/html /usr/share/doc/tqt3-doc/html
|
@ -0,0 +1,4 @@
|
||||
usr/bin/linguist
|
||||
usr/share/tqt3/phrasebooks/*
|
||||
usr/share/tqt3/doc/html/linguist*html
|
||||
usr/share/tqt3/doc/html/linguist*dcf
|
@ -0,0 +1 @@
|
||||
/usr/bin/linguist-tqt3 /usr/share/tqt3/bin/linguist
|
@ -0,0 +1,6 @@
|
||||
?package(tqt3-linguist):\
|
||||
needs="x11"\
|
||||
section="Applications/Programming"\
|
||||
hints="KDE"\
|
||||
title="Qt3 Linguist"\
|
||||
command="/usr/bin/linguist-tqt3"
|
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/linguist linguist "/usr/bin/linguist-tqt3" "45" \
|
||||
--slave /usr/share/man/man1/linguist.1.gz linguist.1.gz \
|
||||
"/usr/share/man/man1/linguist-tqt3.1.gz"
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
upgrade) ;;
|
||||
remove|failed-upgrade|deconfigure)
|
||||
update-alternatives --remove linguist "/usr/bin/linguist-tqt3"
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1 @@
|
||||
usr/bin/qtconfig
|
@ -0,0 +1 @@
|
||||
/usr/bin/qtconfig-tqt3 /usr/share/tqt3/bin/qtconfig
|
@ -0,0 +1,8 @@
|
||||
?package(tqt3-qtconfig):\
|
||||
needs="x11"\
|
||||
section="Applications/System/Administration"\
|
||||
title="Qt3 Config"\
|
||||
longtitle="Qt3 Configuration Utility"\
|
||||
hints="Qt3 config tool"\
|
||||
command="/usr/bin/qtconfig-tqt3"
|
||||
|
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
update-alternatives --install \
|
||||
/usr/bin/qtconfig qtconfig "/usr/bin/qtconfig-tqt3" "45" \
|
||||
--slave /usr/share/man/man1/qtconfig.1.gz qtconfig.1.gz \
|
||||
"/usr/share/man/man1/qtconfig-tqt3.1.gz"
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
upgrade) ;;
|
||||
remove|failed-upgrade|deconfigure)
|
||||
update-alternatives --remove qtconfig "/usr/bin/qtconfig-tqt3"
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
Loading…
Reference in new issue