diff options
author | Laszlo Papp <lpapp@kde.org> | 2013-02-05 19:58:09 +0000 |
---|---|---|
committer | Laszlo Papp <lpapp@kde.org> | 2013-02-06 10:39:32 +0100 |
commit | 9a1c5596a2fc748e008f7c342e7533db96b2d9b9 (patch) | |
tree | 438ee0d8769ab49322215b5fdea44275c0c3ad71 /src/serialport/qt4support | |
parent | b412c0e0e90945b041dfd4615ae92fb95c67d000 (diff) |
Unbreak the terminal example compilation
This is a workaround, and not a real fix as the whole namespace situation is a
mess for now, and has to be discussed with others. The real fix has to wait, but
the build has to be working right now off-hand.
Also, there is not much point in exposing this global header file for Qt4 either
as the usage of the two public classes should be enough along with the
deterministic namespace name that will be agreed upon later (i.e. the namespace
define will be removed most likely).
Tested with Qt5, and the terminal example builds just fine on ArchLinux.
Change-Id: I9609afb43997ed20bf9770b517a93121bff84d82
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qt4support')
-rw-r--r-- | src/serialport/qt4support/install-helper.pri | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/serialport/qt4support/install-helper.pri b/src/serialport/qt4support/install-helper.pri index 1fb1fb15..aae2e83c 100644 --- a/src/serialport/qt4support/install-helper.pri +++ b/src/serialport/qt4support/install-helper.pri @@ -11,11 +11,9 @@ for(header_file, PUBLIC_HEADERS) { # This is a quick workaround for generating forward header with Qt4. unix { - system("echo \'$${LITERAL_HASH}include \"qserialport-global.h\"\' > \"$$QTSERIALPORT_PROJECT_INCLUDEDIR/QSerialPortGlobal\"") system("echo \'$${LITERAL_HASH}include \"qserialport.h\"\' > \"$$QTSERIALPORT_PROJECT_INCLUDEDIR/QSerialPort\"") system("echo \'$${LITERAL_HASH}include \"qserialportinfo.h\"\' > \"$$QTSERIALPORT_PROJECT_INCLUDEDIR/QSerialPortInfo\"") } win32 { - system("echo $${LITERAL_HASH}include \"qserialport-global.h\" > \"$$QTSERIALPORT_PROJECT_INCLUDEDIR/QSerialPortGlobal\"") system("echo $${LITERAL_HASH}include \"qserialport.h\" > \"$$QTSERIALPORT_PROJECT_INCLUDEDIR/QSerialPort\"") system("echo $${LITERAL_HASH}include \"qserialportinfo.h\" > \"$$QTSERIALPORT_PROJECT_INCLUDEDIR/QSerialPortInfo\"") } |