Skip to content

Commit

Permalink
Makefile modifications.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/deling/code/trunk@5 d07ef2b7-bbf6-4ce4-b825-8d9644e34689
  • Loading branch information
myst6re committed Apr 29, 2012
1 parent c149a44 commit c9046ef
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 7 deletions.
16 changes: 16 additions & 0 deletions Deling.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Desktop Entry]
Type=Application
Version=0.6b
Name=Deling
GenericName=FF8 Field Editor
GenericName[fr]=Éditeur d'écrans FF8
Comment=Can edit field from Final Fantasy VIII (PS & PC)
Comment[fr]=Permet de modifier les écrans de Final Fantasy VIII (PS et PC)
Icon=deling.png
Exec=/usr/bin/deling
Path=
Terminal=false
MimeType=application/octet-stream
Categories=Application;Game;
Keywords=PlayStation;Final Fantasy;
StartupNotify=false
27 changes: 25 additions & 2 deletions Deling.pro
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,38 @@ SOURCES += MainWindow.cpp \
PlainTextEdit.cpp
RESOURCES += Deling.qrc
QT += opengl
TRANSLATIONS += deling_en.ts
TRANSLATIONS += deling_en.ts \
deling_ja.ts
# macx:ICON = images/Deling.icns
win32 {
RC_FILE = Deling.rc
OTHER_FILES += Deling.rc
}

OTHER_FILES += Deling.rc \
Deling.desktop

# Only for static compilation
# QTPLUGIN += qjpcodecs

#only on linux/unix (for package creation and other deploys)
unix:!macx:!symbian {
system(lrelease Deling.pro)

target.path = /opt/deling
INSTALLS += target

lang.path = /opt/deling
lang.files = *.qm
INSTALLS += lang

icon.path = /usr/share/pixmaps/
icon.files = images/deling.png
INSTALLS += icon

desktop.path =/usr/share/applications
desktop.files = Deling.desktop
INSTALLS += desktop
}



Expand Down
4 changes: 2 additions & 2 deletions Deling.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<file>images/icon-drawpoint.png</file>
<file>images/icon-unknown.png</file>
<file>images/ff8.png</file>
<file>images/deling.png</file>
<file>images/icon-char-1.png</file>
<file>images/icon-char-2.png</file>
<file>images/icon-char-3.png</file>
Expand Down Expand Up @@ -87,8 +86,9 @@
<file>images/icon-char-30.png</file>
<file>images/icon-char-31.png</file>
<file>images/font.png</file>
<file>images/ico.png</file>
<file>images/door.png</file>
<file>images/background.png</file>
<file>images/deling.png</file>
<file>images/deling_city.png</file>
</qresource>
</RCC>
2 changes: 1 addition & 1 deletion Deling.rc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <windows.h>
#include "parameters.h"

IDI_ICON1 ICON DISCARDABLE "images/ico.ico"
IDI_ICON1 ICON DISCARDABLE "images/deling.ico"

VS_VERSION_INFO VERSIONINFO
FILEVERSION RC_PRODUCT_VERSION
Expand Down
2 changes: 1 addition & 1 deletion MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ void MainWindow::about()
font.setPointSize(12);

QLabel image(&apropos);
image.setPixmap(QPixmap(":/images/deling.png"));
image.setPixmap(QPixmap(":/images/deling_city.png"));
image.move(-5, apropos.height() - 128);

QLabel desc1(PROG_FULLNAME, &apropos);
Expand Down
File renamed without changes.
Binary file modified images/deling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/deling_city.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/ico.png
Binary file not shown.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setWindowIcon(QIcon(":/images/ico.png"));
app.setWindowIcon(QIcon(":/images/deling.png"));

Config::set();

Expand Down

0 comments on commit c9046ef

Please sign in to comment.