Commit 49129b78 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Reactivate it

parent 4ec78fa5
......@@ -79,7 +79,6 @@ set_package_properties("libqmobipocket" PROPERTIES
# let's enable the generators properly configured
message("KF5 enable generators")
if(POPPLER_FOUND)
add_subdirectory(poppler)
endif(POPPLER_FOUND)
......@@ -114,11 +113,11 @@ add_subdirectory(fictionbook)
add_subdirectory(comicbook)
#add_subdirectory(fax)
add_subdirectory(fax)
#if(JPEG_FOUND AND ZLIB_FOUND)
# add_subdirectory(plucker)
#endif(JPEG_FOUND AND ZLIB_FOUND)
if(JPEG_FOUND AND ZLIB_FOUND)
add_subdirectory(plucker)
endif(JPEG_FOUND AND ZLIB_FOUND)
if(EPUB_FOUND)
add_subdirectory(epub)
......@@ -126,6 +125,7 @@ endif(EPUB_FOUND)
add_subdirectory(txt)
message("KF5 enable mobipocket generator")
#if(QMOBIPOCKET_FOUND)
# add_subdirectory(mobipocket)
#endif()
......@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
#include <QtCore/QDebug>
#include "faxexpand.h"
#include <KDebug>
//Uncomment this for verbose debug output
//#define DEBUG_FAX
#define verbose false
......
......@@ -181,7 +181,7 @@ Okular::ExportFormat::List PluckerGenerator::exportFormats() const
bool PluckerGenerator::exportTo( const QString &fileName, const Okular::ExportFormat &format )
{
if ( format.mimeType()->name() == QLatin1String( "text/plain" ) ) {
if ( format.mimeType().name() == QLatin1String( "text/plain" ) ) {
QFile file( fileName );
if ( !file.open( QIODevice::WriteOnly ) )
return false;
......
......@@ -250,7 +250,7 @@ bool TranscribePalmImageToJPEG
QTemporaryFile tempFile;
tempFile.open();
FILE *outfile = fopen( QFile::encodeName( tempFile.fileName() ), "w" );
FILE *outfile = fopen( QFile::encodeName( tempFile.fileName() ).constData(), "w" );
if ( !outfile )
return false;
......
......@@ -206,7 +206,7 @@ bool QUnpluck::open( const QString &fileName )
mLinks[ i ].link = new Okular::GotoAction( QString(), viewport );
} else {
mLinks[ i ].link = new Okular::BrowseAction( mLinks[ i ].url );
mLinks[ i ].link = new Okular::BrowseAction( QUrl(mLinks[ i ].url) );
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment