summaryrefslogtreecommitdiff
path: root/src/src.pro
Commit message (Collapse)AuthorAgeFilesLines
* Correct WinRT exclusion to top-level pro fileMaurice Kalinowski2014-07-081-1/+1
| | | | | | | | | | | So far only the module was excluded, but not the examples. Adopt to a style which has been approved for other modules as well by using requires. Change-Id: I8a8bbeb8c5db1bdb2e508da0988a38bbb1789986 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Enable QtSerialPort on QNXRafael Roquetto2014-04-281-1/+1
| | | | | | | | | | On QNX, the combination (IHFLOW | OHFLOW) is equivalent to the CRTSCTS flag. Only /dev/ser* ports can be enumerated. Tested on SVTronics UEVM5432 Omap5 board with QNX 6.6 Change-Id: I64b149258a525835e63f231b5291fa86637e3d2a Reviewed-by: Laszlo Papp <lpapp@kde.org>
* Disable build for WinRTMaurice Kalinowski2014-01-241-1/+1
| | | | | | | | | | | According to MSDN Windows Store apps will not have any serial port replacement. http://msdn.microsoft.com/en-us/library/windows/apps/hh464945.aspx Change-Id: I2aa54462c411341e3b3cdbbbf65a7b3397df93b6 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Disable QNX buildAndreas Holzammer2013-10-311-1/+1
| | | | | | | | | Nobody tested the serial port and it does not compile as CRTSCTS is not defined. Lets disable it until its fixed. Change-Id: Ifc032194773b166a7fd9502f5d7f518019d80c7c Reviewed-by: Laszlo Papp <lpapp@kde.org>
* Updating a project tree for compilation fixingDenis Shienkov2012-11-051-26/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Remove QtGUI from library buildThiago A. Correa2012-10-111-0/+1
| | | | | | | Change-Id: I7776c9e805bd4967c1539c94217f180724553e05 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Make sure library follows the configured libinfixMarius Storm-Olsen2012-07-281-2/+2
| | | | | | Change-Id: Iaa0e87df379210f210d07265f393b29c270e44e6 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Rename the include-helper to install-helper since it exceeds its original scopeLaszlo Papp2012-07-031-1/+1
| | | | | | | | | | | | | | This file was originally planned for helping with the include file generations, but as the time went ahead, it got actually a bit more feature rich, and became the centre of the helping with all the installation related features, like mkspecs feature file, target library, dll binary and also of course the header file installations. Therefore, the current name is misleading while looking for information (i.e. checking the target library installation related issues, or the prf file) Change-Id: Ie714b858fbe47568c9a1e885e2cfb781f64f9cdf Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Make the debug build work with Qt4Laszlo Papp2012-04-161-1/+1
| | | | | Change-Id: I34ccc5770dbd8f1c41d636cdc5e9d80dbf776f0a Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Use "SerialPort" for target name in case Qt4Laszlo Papp2012-04-131-1/+1
| | | | | | Change-Id: I11e2b9f469f5c23586eaa6ef3e33bce019a0b9b8 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Fix the debug build for Qt5Laszlo Papp2012-04-131-5/+6
| | | | | Change-Id: Ia377a14e53e1df5148ac38fc339b717f0fc0a90a Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Add a helper script for installing the project header files with Qt4Laszlo Papp2012-04-041-2/+3
| | | | | | | | | | | | | | | | Add a simple include helper .pri file for "generating" (copying) the public header files into the projectroot/include folder. In addition, this helper script takes care of the creation of that folder. Furthermore it sets up the install target so that the "make install" execution will install the required header files smoothly. This is mostly done by the syncqt for the qt4 and qt5 codebases, but we cannot expect people having any of those cloned. Moreover, it is a huge beast written in perl. :-) Meaning that it is hard to adopt and make custom modifications, aka. maintaining. Change-Id: I19c0705c99600bfb8bb32d5755ddbe0b381be8d0 Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Make the .pri/.pro files compatible with Qt4Laszlo Papp2012-04-041-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There were some warnings previously due to the relevant lines inside the .pro and .pri files: WARNING: foobar/qtserialport/src/src.pro:10: Unable to find file for inclusion qt_module WARNING: foobar/qtserialport/src/src.pro:11: Unable to find file for inclusion qt_module_config Project MESSAGE: Warning: unknown QT: core-private WARNING: Failure to find: qtaddonserialportversion.h These warnings are caused by statements that are only available in Qt5. Hence, all these are now being properly adressed according to the transition wikipage that you can find here: http://wiki.qt-project.org/Transition_from_Qt_4.x_to_Qt5 One additional thing that had to be done in case Qt4, is to include qtserialport module .pri file in order to get the relevant variables filled in, and therefore usable inside the src.pro file. Otherwise those variables do not consist of the expected values since they are not initialized before the relevant project file. You can find some details about that in here: http://wiki.qt-project.org/Creating_a_new_module_or_tool_for_Qt#Library_specific_.pro_files Change-Id: Ie43a583bc11226bbd86132433c6b7a378032d80b Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Remove the qt4support.pri for now since it is no use to keep it aroundLaszlo Papp2012-04-031-1/+0
| | | | | | | | | | | The following commit introduced the qt4support.pri file for no real reasons: http://codereview.qt-project.org/#change,22274 It can be safely removed for now since that header file is only for internal usage. Change-Id: Ie2e66dac67065304c02aeb96185daaf8b8250208 Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Import the internal (private) QRingBuffer class from Qt5 to support Qt4Laszlo Papp2012-04-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Making QRingBuffer public in Qt5 is not supported since it is not a real ring buffer. It is used only for the QIODevice and QAbstractSocket internal buffers. It is optimised for those. They will keep changing it to match those needs. That is though not a real problem for our use case because the serial port module was designed with QIODevice and QAbstractSocket resemblance in mind. As for Qt4, even if it was possible, we cannot change this too flexibly, at least not without a Qt4.9 and huge effort of convincing many people about it. I have personally never heard of any plans about Qt4.9. As for the time being, we could import this qringbuffer_p.h header file for working out-of-the-box with Qt4. The file should be residing in the qt4support folder. One neater solution would have been to use "core-private", but unfortunately that is not gonna work with Qt4, as in: "Project MESSAGE: Warning: unknown QT: core-private". In any case, importing qringbuffer_p.h into the project seems to be a way as it is used to be with QSerialDevice. This patch is yet another step against superseding QSerialDevice with QtSerialPort even for Qt4 without too intrusive changes in my opinion. Change-Id: I95e1763f263ee4c94ba2634b097b94406564ac5b Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Now use private QRingBuffer instead of RingBuffer.Denis Shienkov2012-03-231-0/+2
| | | | | | Change-Id: Ic4c1105e5f570a68051d7a2d910012b55f41643e Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* The first prepare QtSerialPort to the form of add-on, with the requirements ↵Denis Shienkov2012-02-291-80/+11
| | | | | | | of "Creating a new module or tool for Qt" Change-Id: I62bba3590a8873bfd03ed6836ac105e0a30d35ba Reviewed-by: Denis Shienkov <scapig@yandex.ru>
* Change macro HAVE_UDEV to HAVE_LIBUDEV for build in GNU/Linux.kuzulis2012-01-181-1/+1
|
* *nix: Preparing for the implementation SerialPortInfo for variouskuzulis2011-11-201-1/+1
| | | | *nix/bsd OS.
* Linux: fix build librarykuzulis2011-10-151-1/+0
|
* Global restructuring of the project.Denis Shienkov2011-10-101-13/+14
|
* Changed the *. pro, *. pri files of the project due to adding support for OS ↵Denis Shienkov2011-10-021-2/+79
| | | | Symbian.
* Corrected pro & pri files of librarySergey Belyashov2011-06-241-9/+0
|
* A preliminary compile version of #2.Denis Shienkov2011-06-231-0/+19