Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
plfiorini committed Mar 24, 2018
2 parents 25a6f0b + 56d0a1c commit b1b7cfd
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 14 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ Qt >= 5.10.0 with at least the following modules is required:
* [qtsvg](http://code.qt.io/cgit/qt/qtsvg.git)
* [qtdoc](http://code.qt.io/cgit/qt/qtdoc.git)

The following modules and their dependencies are required:

* [qbs >= 1.9.0](http://code.qt.io/cgit/qbs/qbs.git)
* [qbs-shared >= 1.2.0](https://github.com/lirios/qbs-shared.git)

## Build

Qbs is a new build system that is much easier to use compared to qmake or CMake.
Expand Down
29 changes: 19 additions & 10 deletions doc/fluid-online.qdocconf
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
include(config/fluid-project.qdocconf)
include($QT_INSTALL_DOCS/global/qt-html-templates-online.qdocconf)
include($QT_INSTALL_DOCS/global/qt-html-templates-offline.qdocconf)

HTML.nonavigationbar = "true"
HTML.nonavigationbar = "false"

HTML.navigationseparator = ""

HTML.stylesheets = \
template/style/base.css \
template/style/liri.css
template/style/liri.css \
template/style/liri.eot \
template/style/liri.svg \
template/style/liri.ttf \
template/style/liri.woff

HTML.headerstyles = \
"<!-- begin headerstyles -->\n" \
Expand All @@ -19,23 +23,22 @@ HTML.headerstyles = \
"<!-- end headerstyles -->\n" \

HTML.headerscripts = \
" <script defer type=\"text/javascript\" src=\"https://code.jquery.com/jquery-3.2.1.min.js\"></script>\n" \
" <script defer type=\"text/javascript\" src=\"https://code.getmdl.io/1.3.0/material.min.js\"></script>\n" \

HTML.endheader = \
"</head>\n"

HTML.postheader = \
"<!-- begin postheader -->\n" \
"<div style=\"display: none;\">\n" \
"<!-- end postheader -->\n" \

HTML.postpostheader = \
"<!-- begin postpostheader -->\n" \
"</div>\n" \
"<body class=\"mdl-demo mdl-color--grey-100 mdl-color-text--grey-700 mdl-base\">\n" \
" <div class=\"liri-layout mdl-layout mdl-js-layout mdl-layout--fixed-header\">\n" \
" <header class=\"mdl-layout__header mdl-layout__header--scroll\">\n" \
" <div class=\"mdl-layout__header-row\">\n" \
" <i class=\"icon-liri liri-bird pointer\" onclick=\"location.href='index.html'\"></i>\n" \
" <span class=\"mdl-layout-title pointer mdl-layout--large-screen-only\"" \
" onclick=\"location.href='/'\">Liri</span>\n" \
" <span class=\"mdl-layout-title mdl-layout--small-screen-only\">Fluid API</span>\n" \
" </div>\n" \
" </header>\n" \
" <div class=\"liri-ribbon mdl-color--primary\"></div>\n" \
" <main class=\"liri-main mdl-layout__content\">\n" \
Expand All @@ -44,6 +47,12 @@ HTML.postpostheader = \
" <div class=\"liri-content mdl-color--white mdl-shadow--4dp content mdl-color-text--grey-800 mdl-cell mdl-cell--8-col pt32\">\n" \
" <a name=\"top\"></a>\n" \
" <div class=\"container\">\n" \
" <ul class=\"navigationbar\">\n" \
"<!-- end postheader -->\n" \

HTML.postpostheader = \
"<!-- begin postpostheader -->\n" \
" </ul>\n" \
"<!-- end postpostheader -->\n" \

HTML.prologue = ""
Expand Down
2 changes: 1 addition & 1 deletion fluid.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import qbs.Probes
Project {
name: "Fluid"

readonly property string version: "0.11.0"
readonly property string version: "1.0.0"
readonly property var versionParts: version.split('.').map(function(part) { return parseInt(part); })

readonly property string minimumQtVersion: "5.10.0"
Expand Down
3 changes: 1 addition & 2 deletions src/deployment/deployment.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import qbs 1.0

Project {
name: "Deployment"
condition: project.deploymentEnabled

references: [
"windows.qbs",
"linux.qbs",
"tarball.qbs",
"module.qbs",
]
}
2 changes: 1 addition & 1 deletion src/deployment/linux.qbs → src/deployment/tarball.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import qbs 1.0
InstallPackage {
name: "fluid-artifacts"
targetName: name
builtByDefault: false
builtByDefault: project.deploymentEnabled

archiver.type: "tar"
archiver.outputDirectory: project.buildDirectory
Expand Down

0 comments on commit b1b7cfd

Please sign in to comment.