Age | Commit message (Collapse) | Author | Files | Lines |
|
On linux it doesn't matter, but on windows the linker is picky.
TARGET_FILE expands to the .dll, which is useless for the linker;
it requires the .lib/.a file instead.
|
|
This is useful on windows, where the default generator
is most likely not what we want
|
|
This fails with Qt5 because qtcore is imported as an external
cmake target, which apparently doesn't work with try_compile().
Fortunately, we are not using QtCore in those tests.
|
|
FindQtGStreamer.cmake
|
|
License/See the GNU Lesser General Public License/g
|
|
|
|
|
|
|
|
|
|
Warning: This affects the library name and the cmake package name too.
|
|
Features:
* New QGlib::disconnect method that behaves more or less like QObject::disconnect.
* Automatic disconnection when either the sender or the receiver is destroyed
(this adds the limitation that the receiver must inherit QObject, for now)
* Future-proof. The exported methods are designed to be able to support
different forms of connection in the future (such as connecting an arbitrary
functor object instead of a member function). Support for different
types of receivers (i.e. ones that do not inherit QObject) is also there.
Other changes:
* Moved all the connect/disconnect related stuff in connect.{h,cpp}
* Removed the ugly SignalHandler class. QGlib::connect now returns bool.
|
|
The operator T::CType*() will still work in bool casts, since any
pointer type can be implicitly cast to bool according to ISO C++.
|
|
|
|
|
|
Compilation tests are basically to test if a certain piece of code
compiles or not. This is useful for ensuring that certain uses of
our templates will NOT compile and thus prevent the users from
misusing them by mistake.
|