libreoffice-online/gtk
Jaume Pujantell 3ba713aabf add isMobileApp util function to reduce ifdefs
Removed all MOBILEAPP preprocessor conditionals from Util.hpp/.cpp
Added isMobileApp function to help remove further conditionals.

Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I038a4db47ec2a2c7bb10f5696df5571b13bd9a61
2024-03-20 09:13:00 +01:00
..
gtk.hpp
Makefile.am add isMobileApp util function to reduce ifdefs 2024-03-20 09:13:00 +01:00
mobile.cpp
README

This is a GTK+ Webkit app that is intended to work similarly enough to
the iOS app being developed in the "ios" folder, and the Android app
being developed in the "android" folder, that (some kinds of) problems
in them also show up in this app, and can be investigated by people
with no Android, Mac, or iOS device.

How to build this:

Use a separate tree of "online". Do NOT use one where you build a
normal Online.

Run autogen.sh, then configure:

./configure --enable-gtkapp --with-lo-path=/home/tml/lo/master/instdir --with-lokit-path=/home/tml/lo/master/include

Obviously, adjust the path to your LibreOffice build tree as necessary.

Then make.

You will get the gtk/mobile executable. Run it for example like this:

gtk/mobile $PWD/test/data/hello-world.odt

Then, if it doesn't work, debug it and fix it.