diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2012-11-01 21:23:04 +0400 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2012-11-05 13:57:20 +0100 |
commit | db46db74eb0b1afb6a2ff34712b419e20a17f49a (patch) | |
tree | 5756528ef5d7ad6538d997e5d1900d50d288fe6e /sync.profile | |
parent | eca1a6d30a98861cb811cb2faf8d01334e60dd7c (diff) | |
download | qtserialport-db46db74eb0b1afb6a2ff34712b419e20a17f49a.tar.gz |
Updating a project tree for compilation fixing
For optimization and build correction for Qt4/Qt5 there was a need for
unification and modification of a tree of projects.
The previous structure of the project didn't meet the changed requirements
for Qt5 that led to errors of build and complication of possibility of
correction of errors of build.
It is necessary to note the main changes:
* Removed not used /modules direcrory with all content, because it is
autogenerated.
* Moved all contents from /src directory to /src/serialport directory. It
was necessary for simplification of the qmake commands at building
for Qt5 (in particular, there is no need to fill out a module name since
it is the name of directory /serialport).
* Changed the exported macro defines Q_ADDON_SERIALPORT_EXPORT to
Q_SERIALPORT_EXPORT and QT_ADDON_SERIALPORT_LIB to QT_SERIALPORT_LIB. It
was necessary for fixing compilation error for unknown reason on Windows
and Qt5 when used MSVC compiler.
Checked on Windows and Gnu/Linux, also this patch fixes bug:
Task-number: QTPLAYGROUND-5
Change-Id: Idc9ba98115d5961a22ae307c0e4034a56f3223b5
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'sync.profile')
-rw-r--r-- | sync.profile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/sync.profile b/sync.profile index 23b9ac5..43eb9ad 100644 --- a/sync.profile +++ b/sync.profile @@ -1,22 +1,19 @@ -%modules = ( # path to module name map - "QtAddOnSerialPort" => "$basedir/src", +%modules = ( + "QtAddOnSerialPort" => "$basedir/src/serialport", ); -%moduleheaders = ( # restrict the module headers to those found in relative path + +%moduleheaders = ( ); + %classnames = ( - "qtaddonserialportversion.h" => "QtAddOnSerialPortVersion", ); + %mastercontent = ( ); + %modulepris = ( - "QtAddOnSerialPort" => "$basedir/modules/qt_serialport.pri", ); -# Module dependencies. -# Every module that is required to build this module should have one entry. -# Each of the module version specifiers can take one of the following values: -# - A specific Git revision. -# - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch) -# + %dependencies = ( "qtbase" => "refs/heads/master", ); |