jpeg and gif support added
This commit is contained in:
@@ -5,6 +5,7 @@ CODECFORSRC = UTF-8
|
|||||||
|
|
||||||
CONFIG += qt thread embed_manifest_exe warn_on release
|
CONFIG += qt thread embed_manifest_exe warn_on release
|
||||||
#CONFIG += qt thread embed_manifest_exe warn_on debug
|
#CONFIG += qt thread embed_manifest_exe warn_on debug
|
||||||
|
QTPLUGIN += qjpeg qgif
|
||||||
UI_DIR = uics
|
UI_DIR = uics
|
||||||
MOC_DIR = mocs
|
MOC_DIR = mocs
|
||||||
OBJECTS_DIR = obj
|
OBJECTS_DIR = obj
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ void settingsDialogImpl::setFlipsidePicFileName()
|
|||||||
{
|
{
|
||||||
QString fileName = QFileDialog::getOpenFileName(this, tr("Select your flipside picture"),
|
QString fileName = QFileDialog::getOpenFileName(this, tr("Select your flipside picture"),
|
||||||
QDir::homePath(),
|
QDir::homePath(),
|
||||||
tr("Images (*.png)"));
|
tr("Images (*.png *.jpg *.gif)"));
|
||||||
|
|
||||||
if (!fileName.isEmpty())
|
if (!fileName.isEmpty())
|
||||||
lineEdit_OwnFlipsideFilename->setText(fileName);
|
lineEdit_OwnFlipsideFilename->setText(fileName);
|
||||||
|
|||||||
@@ -36,6 +36,8 @@
|
|||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
|
|
||||||
|
#include <QtPlugin>
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
|
||||||
@@ -57,6 +59,10 @@
|
|||||||
#define ENABLE_LEAK_CHECK()
|
#define ENABLE_LEAK_CHECK()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Q_IMPORT_PLUGIN(qjpeg)
|
||||||
|
Q_IMPORT_PLUGIN(qgif)
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
class GuiWrapper;
|
class GuiWrapper;
|
||||||
|
|||||||
Reference in New Issue
Block a user