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