]> git.saurik.com Git - wxWidgets.git/blame - docs/gtk/readme.txt
Only include <unistd.h> under Unix in wxGTK code.
[wxWidgets.git] / docs / gtk / readme.txt
CommitLineData
d716e453
JS
1 Welcome to wxWidgets for GTK+
2 -----------------------------
c67d8618 3
d716e453 4You have downloaded the GTK+ port of the wxWidgets GUI library.
e90196a5 5
700d08c1
RR
6It is required to use at least GTK+ 2.4 and some features are
7only available when using GTK+ 2.8 or higher. Note that if you
bdb148e0 8compile wxWidgets against GTK+ 2.8 your app will still work
700d08c1 9with older GTK+ version down to version 2.4 as wxWidgets
bdb148e0
RR
10tests for the presence of newer features at run-time and it
11will fall back to a generic implementation if these features
12are not present in the GTK+ version used.
13
14wxWidgets 2.8 still supports GTK+ 1.2, but no developement
15is done on that port anymore and support for GTK+ 1.2 will
16probably be dropped entirely. Indeed, one of the major steps
17in the developement cycle leading up to wxWidgets 2.8 was
18that the codebase for GTK+ 1.2 and GTK+ 2.0 were separated
19so that improvements and clean-ups to the GTK+ 2.0 port
20could be done without caring for GTK+ 1.2.
8e1e6fac 21
c28cb884
RR
22More info about the wxWidgets project (including all the
23other ports and version of wxWidgets) can be found at the
24main wxWidgets homepage at:
8710cf5c 25
50c80a59 26 http://www.wxwidgets.org/
8710cf5c 27
63852e78
RR
28Information on how to install can be found in the file
29INSTALL.txt, but if you cannot wait, this should work on
e90196a5 30many systems:
c67d8618 31
c28cb884
RR
32 mkdir build_gtk
33 cd build_gtk
50c80a59 34 ../configure
7ce4426a
VZ
35 make
36 su <type root password>
37 make install
38 ldconfig
8710cf5c 39
7a1f2d57 40In order to use wxGTK with GTK 1.2 you need to use --with-gtk=1
7ce4426a
VZ
41configure option. To build the library in Unicode mode (all
42strings will be wide strings and so on) you need to configure
7a1f2d57 43with GTK 2.0 and add --enable-unicode.
3fc6e5fa 44
7ce4426a
VZ
45Please note that it is strongly advised to build the library in
46a separate directory, as shown above, as it allows you to have
47different builds of it (for example with and without debug) in
48parallel. If you build in the source directory, don't forget to
49do "make clean" before changing the configuration!
50
fc9c7c09 51When you run into problems, please read the INSTALL.txt and
a802c3a1 52follow those instructions. If you still don't have any success,
fc9c7c09
RR
53please send a bug report to one of our mailing list, INCLUDING
54A DESCRIPTION OF YOUR SYSTEM AND YOUR PROBLEM, SUCH AS YOUR
55VERSION OF GTK, WXGTK, WHAT DISTRIBUTION YOU USE AND WHAT ERROR
56WAS REPORTED. I know this has no effect, but I tried...
a802c3a1 57
c67d8618 58Please send problems concerning installation, feature requests,
c28cb884
RR
59bug reports or comments to the wxWidgets users list. These can
60be found at http://www.wxwidgets.org and more specifically at
61http://lists.wxwidgets.org.
c67d8618 62
bb955600 63wxWidgets doesn't come with any guarantee whatsoever. It
fc9c7c09
RR
64might crash your harddisk or destroy your monitor. It doesn't
65claim to be suitable for any special or general purpose.
c67d8618
RR
66
67 Regards,
68
69 Robert Roebling
70