Fix EnginioBasicAuthentication

The patch fixes few bugs:
- infinite "Authenticating" state in which EnginioClient was when
backend id or backend secret was missing.
- race condition when identity was changing quickly, right now we accept
only the last credentials
- insignificant, soft memory leak caused by connection to EnginioClient
destroy signal.

Change-Id: I5033ebf12aa9695d6779f1716acfef539432059c
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Use the version string from .qmake.conf for installers

Change-Id: I85fde0e8e36ec892a53ad45f78e60ddded688b32
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Let the user select qmake when running the installer

Change-Id: I67e85dea765bb48d7f8ba8e75b5e01814d312ef5
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Remove build system hacks

We depend on Qt 5.1 and will create installers.

Change-Id: I330c3b1c0f744f333bcf7d5ece9aa68dc992fd1e
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Use elevated operation in installer

This means we can install with root rights since the Qt installer for
example may be used to install Qt to c:\qt\...

Change-Id: Ie7920c9ad69996766242b4671caa2901d76e291e
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Re-add logic for copying the qmldir file to fix QML tests

Change-Id: I0a759a2ff28e930db6eb870f3c508c15b5dd85c9
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Prevent overwriting the release with the debug plugin

Change-Id: Ib4207a7520c11af604f76d37b6a81d62f95600ae
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Only copy the qmldir file in force_independent mode

This is only needed for builds that leave everything in the
build directory so that the tests and examples can be ran
without installing the plugin.

Change-Id: Idc84e444726d4fed09367242aa8655cf9581e1e3
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Rename the project file and update README

Rename the project file to match the module name and update the
README with information about build configuration and contribution.

Change-Id: I7d4a09b0677f0d3b68ddb53540bc7ae336074805
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Rename doc configuration to match the module name

Change-Id: Ib7b530d7026b7f6db5d049c7112765b4bbf60a41
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Explicitly specify that we want to create offline installers

Change-Id: I9ac8d796b16603492b4175b40ea0fc9e8f19bfce
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Update README of the installer

Configure options -qt-sql-sqlite and -no-c++11 are also needed
when configuring the static Qt needed for the installer.

Change-Id: I80d059d714e4eebb9362c2f1fc944d0c178f9a43
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Do not use addElevatedOperation on Mac

On mac the privilege elevation is automatic.

Change-Id: Ic4e7139d63e51aca178126872acaa3411f982db5
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Add missing RequiredAdminRights tag to package.xml

Change-Id: Ie5ca507470a8f504e33da510137cc728039646b9
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Fix the wildcard for the qmake selection dialog

On Mac the qmake binary can not be selected from the dialog
if the path does not match the wildcard. This is safe on Linux too.

Change-Id: I1f60d69f745f71f664ecd4dd461031061bfed9f9
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Change AttachedDataContainer implementation to something slightly smarter

The new container have a storage place and additional indexes. Role of
indexes is to map an item property into attached data storage. It should
be easy to add a new index. Currently the storage is implemented as
QVector, which is nice for iteration but it is virtually impossible to
remove an old data (it would cause index drop && create). For now we "leak"
removed attached data.

We need to store attached data for all items in the model, because
notifications would use hashing from an object id to row heavily.

Change-Id: I06f9db9ed9b3f4f848241caa370eb0dfe3f731f4
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Use notifications in EnginioModel.

The current implementation is the easy one. We ignore a notification
that comes from us. It increase latency, so it should be fixed in future.

Change-Id: Ib51e8d3f6fb04168eff4bbf38cd1acd7aa22ccac
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Hide "qintptr mumbo-jumbo".

Make connection pointer private so no one ever hit -1 pointer.

Change-Id: I75adcc1ac1a64db99cf905514b889602285c6fd4
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Fix delete notification handling in EnginioModel.

Change-Id: Ic7792f47b76dde1078fd19e2c7495b427c35200c
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Add comment about soft memory leak

Change-Id: Iefd057a1760cdee53623dd0722e2cb87da18d1b2
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>