Add missing member initialization in BuildOptions class.

The member specifying whether to check timestamps of generated artifacts
had a random value in a default-constructed object, which lead to
"interesting" behavior.

Change-Id: Id12a94832451bbe18791139687ea10d67da829c3
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Fix race condition in API test.

The waitForFinished() function will run indefinitely if the job has
already finished. This can happen in the projectLocking test, which
calls the function for two jobs, but cannot know which one of them will
finish first.

Change-Id: I44c3e0550c0a287d96b0a79a9064455ecaaf7437
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Core library: Do not depend on Qt GUI module unconditionally.

This was missed in 0ebf1bfa33.

Task-number: QBS-565
Change-Id: I34a4b2c37b32749c94c045de0a2f7a628f4b0ada
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
remove unused member from Item class

Change-Id: I045279dd983c13640f65f08229fc8e6a65e4f642
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
add missing member copy in Item::clone

This has no immediate effect as we're not cloning module instances at
the moment, but needs to be added for the sake of correctness.

Change-Id: I389519efae2ffad4c2710d3d36ee1077e5de982a
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Fix preprocessor defines list in Qt profile setup.

For example, now gives the correct QT_GUI_LIB instead of QT_QTGUI_LIB.

Change-Id: I8f77d5f32ed613b6a4b0dfac845e3f582c1db90d
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>