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
RevLine 
[e9db3e216b]1######################################################################
2#
3#  TSPSG: TSP Solver and Generator
[21c03af787]4#  Copyright (C) 2007-2013 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
[e9db3e216b]5#
[7ba743d983]6#  $Id: $Format:%h %ai %an$ $
7#  $URL: http://tspsg.info/ $
[e9db3e216b]8#
9#  This file is part of TSPSG.
10#
11######################################################################
12
13!nosvg {
[d8a3826f87]14    QT += svg
[e9db3e216b]15} else {
[d8a3826f87]16    DEFINES += NOSVG
[e9db3e216b]17}
18
[356169a3d3]19greaterThan(QT_MAJOR_VERSION, 4) {
20    QT += printsupport concurrent
21}
22
[1241232377]23wincewm*|symbian|maemo*|simulator|blackberry {
[d8a3826f87]24    CONFIG += handheld
[97e90f9be6]25}
[7ed8b57eea]26blackberry {
27#    DEFINES += QT_NO_SHORTCUT
28    DEFINES += QT_NO_PRINTDIALOG
29    DEFINES += QT_NO_PRINTPREVIEWDIALOG
30}
[97e90f9be6]31
[e9db3e216b]32TEMPLATE = app
33
34# QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
35
[f5c945d7ac]36# Version information
[0af510a462]37QMAKE_TARGET_COMPANY = Oleksii Serdiuk
[f5c945d7ac]38QMAKE_TARGET_PRODUCT = TSP Solver and Generator
39QMAKE_TARGET_DESCRIPTION = TSPSG: TSP Solver and Generator
[21c03af787]40QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2013 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
[f5c945d7ac]41
[1299ea5b49]42# Version detection
43include(version.pri)
[e9db3e216b]44
45DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
[d8a3826f87]46    BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
47    BUILD_RELEASE=$$BUILD_RELEASE \
[1299ea5b49]48    BUILD_NUMBER=$$BUILD_NUMBER
[e9db3e216b]49
[1241232377]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        }
[1b0d08aa2e]63    }
[e9db3e216b]64}
65
66# Saving all intermediate files to tmp directory.
[131c5fc3ba]67MOC_DIR = tmp
68RCC_DIR = tmp
69UI_DIR = tmp
[e9db3e216b]70
[b26801b000]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
[0784c85e46]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}
[b26801b000]81translations.CONFIG = no_link
82QMAKE_EXTRA_COMPILERS += translations
83PRE_TARGETDEPS += compiler_translations_make_all
84
[e9db3e216b]85# Include 3rd party libraries
[97e90f9be6]86!handheld {
[d8a3826f87]87    include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri)
[e9db3e216b]88}
89
[43c29c04ba]90win32:LIBS += -lole32
91
[4a5e9a66d4]92# Source
[e9db3e216b]93include(tspsg.pri)
94
[697a9dc08f]95# Help
96include(help/help.pri)
97
[4a5e9a66d4]98# Code Documentation
99include(doc/doc.pri)
100
[cc5c5108a3]101# Installation and deployment rules
[e9db3e216b]102include(install.pri)
Note: See TracBrowser for help on using the repository browser.