Hi!
I have developed a Qt-based note-pad application called Basqet inspired by KDE Basket but cross platform (http://code.google.com/p/basqet/). Development mostly takes place on my gentoo installation at home or in virtual windows, same goes for testing. At work I use kubuntu with great success.
In my application, well tested on Gentoo, user can export a note page to html, txt or odf using Qt built export functions. A flaw with Qt calling KDE native file dialogs (reported as error to KDE http://bugs.kde.org/show_bug.cgi?id=210904) messes up my text fields. The workaround is to use Qt native dialogs by sending the option "DontUseNativeDialog") thus use Qt own file dialog.
The first problem is that on Kubuntu the KDE native dialogs is use regardless of the DontUseNativeDialog. This works as expected on Gentoo and Windows. I use the QFileDialog::getSaveFileName().
The second problem is that the export-function does not do the work on ODF-export. The resulting document, once opened, is empty (and by the way default associated with the formula editor). In gentoo this works flawless.
Anyone have a hint to help me out here? The dialog-problem can easily be fixed by using a slightly more complicated way to trigger the dialog. The export to ODF-problem I have no clue. Everything is in platform. Things gets a little better if I download and installs Qt 4.6 from Qt directly. I have not tried to download Qt 4.5.3 directly from Qt but might as well do.
Regards,
Erik
I have developed a Qt-based note-pad application called Basqet inspired by KDE Basket but cross platform (http://code.google.com/p/basqet/). Development mostly takes place on my gentoo installation at home or in virtual windows, same goes for testing. At work I use kubuntu with great success.
In my application, well tested on Gentoo, user can export a note page to html, txt or odf using Qt built export functions. A flaw with Qt calling KDE native file dialogs (reported as error to KDE http://bugs.kde.org/show_bug.cgi?id=210904) messes up my text fields. The workaround is to use Qt native dialogs by sending the option "DontUseNativeDialog") thus use Qt own file dialog.
The first problem is that on Kubuntu the KDE native dialogs is use regardless of the DontUseNativeDialog. This works as expected on Gentoo and Windows. I use the QFileDialog::getSaveFileName().
The second problem is that the export-function does not do the work on ODF-export. The resulting document, once opened, is empty (and by the way default associated with the formula editor). In gentoo this works flawless.
Anyone have a hint to help me out here? The dialog-problem can easily be fixed by using a slightly more complicated way to trigger the dialog. The export to ODF-problem I have no clue. Everything is in platform. Things gets a little better if I download and installs Qt 4.6 from Qt directly. I have not tried to download Qt 4.5.3 directly from Qt but might as well do.
Regards,
Erik
Comment