[Ipe-discuss] Ipe 7.0.10 on OS X 10.6.3
Gwenaël Cléon
gwenael.cleon at gmail.com
Fri Apr 16 15:18:15 CEST 2010
Hello,
For me, the best way to create a .app application bundle has been to write a tiny Qt4 application that I called Ipe7 :
Ipe7.pro contains :
TEMPLATE = app
QT = core
CONFIG += app_bundle
SOURCES = main.cpp
ICON = ipe.icns
where ipe.icns has been created from Otfried's small pinguin in share/ipe/7.0.10/icons, but I think you can use whatever you want.
and main.cpp contains :
#include <QtCore>
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
QProcess process;
process.start("/opt/ipe7/bin/ipe");
return app.exec();
}
in main.cpp you have to customize the path to your ipe executable.
So you get a Ipe7.app that you can put in your Applications directory.
Regards,
Gwenael Cleon
Le 12 avr. 2010 à 10:32, Tim Hutt a écrit :
> On 12 April 2010 02:24, Stefan <stefan at yellowhead.nl> wrote:
>> Hello,
>>
>> I recently switched to a Mac, and wanted to take my favourite drawing program along. It was not an easy ride
>
> Likewise. I also found that the path gets messed up when you use
> ipelets and they don't work after the first use. Probably because I
> used IPEPATH=. because I was trying to make a .app package.
>
>> 1) No support for IPE 6 files?! This is outrageous.
>
> Well, it would have been nice but it's not like you paid for the feature...
>
>> 2) The multitouch trackpad, at first sight, is pretty hopeless. Ctrl-click, on a Mac, is used to emulate a right-click. Swiping with two fingers results in a zoom, rather than the scroll that other applications give.
>
> That's because by default the two finger swipe sends scroll wheel
> messages to programs (which is most commonly what you want), but in
> some programs like IPE the scroll wheel is used for zooming. To make
> it behave properly you have to specifically write code for the mac,
> and I'm guessing Otfried doesn't have one. I might give it a go though
> - Nokia added multitouch support in Qt 4.6.
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/ipe-discuss
More information about the Ipe-discuss
mailing list