source: tspsg/tspsg.pro @ 7ed8b57eea

appveyorimgbotreadme
Last change on this file since 7ed8b57eea was 7ed8b57eea, checked in by Oleksii Serdiuk, 11 years ago

[BB10] UI fixes:

  • added proxy style and stylesheet to fix some UI issues on BlackBerry?;
  • removed style selection option because most styles have UI issues and removed About Qt menu item because About Qt dialog is too big;
  • load bigger (128x128) icons on BlackBerry? 10;
  • removed printing related items from menu as there's no printer;
  • made dialogs to be shown maximized;
  • made solution graph smaller;
  • made font smaller;
  • made output text color black;
  • start editing table cells on single tap;
  • don't show keyboard in about dialog.

Cherry-picks from
aa64ad40827cde0a444cd8198b0f3457aa191f8f
95b0ef73dcb4517ac2ae08867494204bbe8d7ea6
ccdffe3a5f84f12fba2e2f19ab249c31f1fcf35d
628500a5d687889823197e476953859d529af4f0

  • Property mode set to 100644
File size: 2.4 KB
Line 
1######################################################################
2#
3#  TSPSG: TSP Solver and Generator
4#  Copyright (C) 2007-2013 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
5#
6#  $Id: $Format:%h %ai %an$ $
7#  $URL: http://tspsg.info/ $
8#
9#  This file is part of TSPSG.
10#
11######################################################################
12
13!nosvg {
14    QT += svg
15} else {
16    DEFINES += NOSVG
17}
18
19greaterThan(QT_MAJOR_VERSION, 4) {
20    QT += printsupport concurrent
21}
22
23wincewm*|symbian|maemo*|simulator|blackberry {
24    CONFIG += handheld
25}
26blackberry {
27#    DEFINES += QT_NO_SHORTCUT
28    DEFINES += QT_NO_PRINTDIALOG
29    DEFINES += QT_NO_PRINTPREVIEWDIALOG
30}
31
32TEMPLATE = app
33
34# QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
35
36# Version information
37QMAKE_TARGET_COMPANY = Oleksii Serdiuk
38QMAKE_TARGET_PRODUCT = TSP Solver and Generator
39QMAKE_TARGET_DESCRIPTION = TSPSG: TSP Solver and Generator
40QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2013 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
41
42# Version detection
43include(version.pri)
44
45DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
46    BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
47    BUILD_RELEASE=$$BUILD_RELEASE \
48    BUILD_NUMBER=$$BUILD_NUMBER
49
50blackberry {
51    TARGET = tspsg
52} else {
53    !debug_and_release|build_pass {
54        CONFIG(debug, debug|release) {
55            OBJECTS_DIR = debug
56            DEFINES += DEBUG
57#            CONFIG += console
58            D = d
59        } else {
60            OBJECTS_DIR = release
61            D =
62        }
63    }
64}
65
66# Saving all intermediate files to tmp directory.
67MOC_DIR = tmp
68RCC_DIR = tmp
69UI_DIR = tmp
70
71# We need to generate translations before building.
72# Either way, resource files won't compile.
73translations.name = Translations
74translations.input = TRANSLATIONS
75translations.output = $$_PRO_FILE_PWD_/l10n/${QMAKE_FILE_BASE}.qm
76freebsd-* {
77    translations.commands = $$[QT_INSTALL_BINS]/lrelease-qt$${QT_MAJOR_VERSION} ${QMAKE_FILE_IN}
78} else {
79    translations.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN}
80}
81translations.CONFIG = no_link
82QMAKE_EXTRA_COMPILERS += translations
83PRE_TARGETDEPS += compiler_translations_make_all
84
85# Include 3rd party libraries
86!handheld {
87    include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri)
88}
89
90win32:LIBS += -lole32
91
92# Source
93include(tspsg.pri)
94
95# Help
96include(help/help.pri)
97
98# Code Documentation
99include(doc/doc.pri)
100
101# Installation and deployment rules
102include(install.pri)
Note: See TracBrowser for help on using the repository browser.