Commit 02991238 authored by Tomas Junnonen's avatar Tomas Junnonen

Changes: First public release

RevBy: TrustMe
parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

*.qm
moc_*
gen_*
*.o
*.gcno
Makefile
*.so
*.so.*
# vim swap files
.*.swp
BUILD_ID
Makefile
doc/html
lib/*
.moc
.obj
.*.swp
*.o
testdui
*~
*.tmp
*moc_*
*.log
*.log.xml
YES
*-stamp
*.gcov
*.log.xml
*.deb
*.gcno
*.old
*.foo
*.gcda
*.pro.user
*.app
.DS_Store
.dummy
cscope.files
cscope.out
.gen
build-i386
build-armel
This diff is collapsed.
This source tree contains the DirectUI library
Building
========
./configure
make
sudo make install
The library will be installed by default with a prefix of /usr/local,
see ./configure -help for options.
The reference documentation can be built with "make doc",
if doxygen is available.
Running
=======
The library ships with a demo application called "widgetsgallery"
The duitheme package must be installed before running any DirectUI
applications.
duitheme is available separately from http://qt.gitorious.org and can
be installed with the following commands:
cd duitheme
qmake
sudo make install
Build dependencies
==================
- Development headers:
- Qt 4.6
- X11
- Mesa or vendor specific OpenGL libraries
- pkg-config
Optional dependencies
=====================
If found, the following libraries will enable additional
features in the DirectUI library:
- ICU: I18N and L10N extensions
- GConf2: C++ abstraction layer for gconf settings system
- ContextKit context subscriber: Automatic rotation on supported hardware
- GStreamer 0.10: Media widgets
- DBus: Out of process applet support, out of process theme server support
this README describes how to set up libdui on a windows
computer.
right now we support the MinGW GCC compiler and the
Microsoft Visual Studio cl C++ compiler. this document
describes how to compile libdui for both compilers.
general prerequisites:
- install git, i installed it from http://code.google.com/p/msysgit/
- install perl, strawberry perl works for me.
- install coreutils from gnuwin32.sf.net. this is needed, because
in the qmake build files there are some calls for the unix touch
command. and this package installs touch for windows.
- install debugview. i got it from
http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
it shows the qDebug statements that libdui will print when
something goes wrong.
prerequisities for visual studio:
- install visual studio, express version worked for me.
- install a qt version with dbus support. either do it
on your own, or use the version that is distributed by
kde. go to http://winkde.org/pub/kde/ports/win32/installer/
and download the latest installer. then install kde.
you can install everything, but for this purpose it is important
to install the qt package and also the qt development package
(the header files etc.). kde for windows comes in two "versions",
one is compiles with visual studio express, and the other is
compiles with mingw. make sure you select to install the
msvc version.
prerequisities for mingw:
- install MinGW. the version that can be installed at the
installation routine of qt for windows is ok.
- install a qt version with dbus support. either do it
on your own, or use the version that is distributed by
kde. go to http://winkde.org/pub/kde/ports/win32/installer/
and download the latest installer. then install kde.
you can install everything, but for this purpose it is important
to install the qt package and also the qt development package
(the header files etc.). kde for windows comes in two "versions",
one is compiles with visual studio express, and the other is
compiles with mingw. make sure you select to install the
mingw version.
now you should have all the tools you need to build and execute libdui
and its programs.
# now you should check that youe environment is setup in a way
# that the needed tools can be found. for the following commands,
# execute them in a cmd.exe window and check if they are found.
# (when you know konsole on linux as a shell window, try out
# console2, you might like it: http://sourceforge.net/projects/console/ )
touch
perl
git
qmake
# for mingw
gcc
g++
make
# for msvc
cl
nmake
# if all the commands are found, you are fine. if not, you have to add
# the pathes to these commands to your PATH environment variable,
# like this:
# set PATH=%PATH%;c:\KDE\bin
now go to some directory, e.g. c:\dui. in the following i will
list the commands needed to get a working widgets gallery.
# go to this empty directory...
c:
cd \dui
# now do a git checkout of duitheme
git co git+ssh://git@dvcs.projects.maemo.org:af/duitheme
# now install the theme files
cd duitheme
qmake
# for msvc
nmake
nmake install
# or for mingw
make
make install
#for all
cd ..
# in this dir do a git checkout of libdui.
# right now we still need the holger-msvc branch, but it
# will be merged to master in short time.
git co git+ssh://git@dvcs.projects.maemo.org:af/libdui
# now switch to holger-msvc branch
cd libdui
git co -b holger-msvc origin/holger-msvc
cd ..
# sources are now in libdui.
# now create build directory
mkdir libduibuild
cd libduibuild
# run qmake
qmake ..\libdui\projects.pro
# for msvc:
# run nmake to build it.
nmake
# currently this will fail with an error about a missing
# duigen executable
# actually right now under windows i was not able to build
# the duigen executable in the same location no matter if
# we build a debug or release build. for that the following
# steps in between are needed. we build and "install" duigen
# before we build the rest of libdui.
cd duigen
nmake
nmake install
cd ..
# and now we continue with the normal libdui build
nmake
# now install libdui
nmake install
# for mingw
# run make to build it.
make
# currently this will fail with an error about a missing
# duigen executable
# actually right now under windows i was not able to build
# the duigen executable in the same location no matter if
# we build a debug or release build. for that the following
# steps in between are needed. we build and "install" duigen
# before we build the rest of libdui.
cd duigen
make
make install
cd ..
# and now we continue with the normal libdui build
make
# now install libdui