| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d7cb318f41686f7a43f67d8af0b0539b9dd8f78c.
Macros add another level of escaping that functions do not. The
conversion of the versionless wrappers to macros may alter the
behavior, so revert that change.
Task-number: QTBUG-96219
Pick-to: 6.2
Change-Id: Ic0df7dc9f9fd2893ed14037ffa0cc4ab57aee4d6
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
customFilters defined in .qdocconf are not supported anymore by Qt
Assistant since Qt 5.13. Therefore remove them from all .qdocconf files,
also to avoid cargo-culting them to new help modules.
Task-number: QTBUG-95987
Change-Id: I811db83a83941cb965cbe26dbac123212cc7eb91
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using function instead of macro prevented the wrappers from being able
to pass back any variables set by the wrapped function in the calling
scope. Prefer macros to avoid future changes which might do this from
silently swallowing such variable setting.
Task-number: QTBUG-96121
Pick-to: 6.2
Change-Id: I77f924009b2eae41d89fdc09a2b72eece0937f09
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMake doesn't support regex quantifiers, so need to multiply the number
of hexadecimal numbers manually in UUID regex.
Add missing LIBRARIES argument to qutlook example.
Fixes: QTBUG-95407
Pick-to: 6.2 6.1
Change-Id: I3f3da1e29fe524ed7f03b3764de9139c4fc13a5b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Rename SKIP_AX_SERVER_REGISTRATION argument and
QT_SKIP_AX_SERVER_REGISTRATION variable to follow common naming
covention.
Pick-to: 6.2
Fixes: QTBUG-95184
Change-Id: I43c3c64bfae575903d48643ae7a9b4be99152693
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.1 6.2
Task-number: QTBUG-94581
Task-number: QTBUG-88763
Change-Id: I09d310d619f8e501c7676a1389d33557c3160984
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
Rename internal modules to adjust their name to the internal module
policy.
Change-Id: I4a50a5329462d743a90e7f6e6a0fd707a3497ad4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Amends qtactiveqt/81139fb65dd2dd2713029c0fea3b42d0c7bbad79 .
Pick-to: 6.1
Fixes: QTBUG-93944
Change-Id: I687d95659fbcbd38df38976fae98c2a9c615c4a6
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
This approach makes possible to avoid a DEFER CALL usage to
link the generated .tlb file to the ActiveX server.
Change-Id: If74c7b96a9902fa68eff83503691faa4bf730b0b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dumpcpp supports generating of the sources using the type library UUID.
Add syntax that provides this functionality to the qt6_target_typelibs
users.
Modify the qutlook library to use the new syntax.
Amends da3a24c06541b63011a3af91fbae9f9d2ec28912.
Pick-to: 6.1
Fixes: QTBUG-93446
Change-Id: Ic0b657bd39f57d32c3d404bee395f4f375a6d7f8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I3994594b64869d24a1eb24c3c5cbcbe9fba6e5ac
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In qmake we have an implicit execution of IDC in case the axserver
config is enabled. This quite difficult to implement using CMake.
This adds the following CMake functions to work with IDC:
- The qt6_add_axserver_executable function adds axserver executable,
generates IDL file and link the produced .tbl to the executable.
- The qt6_add_axserver_library function adds axserver library,
generates IDL file and link the produced .tbl to the dll.
- The qt6_target_idl generates IDL file and link the produced .tbl
to the executable for the existing target.
This also introduces the QT_SKIP_AX_SERVER_REGISTRATION variable,
which disables global registration of ActiveX servers.
Change-Id: I5695db9d67dac07747894fd4bb37c3e6db408035
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
* Add a dependency to QtCore for the documentation target; required to
pull in Qt-specific include paths for QDoc
* Fix minor issues, mostly linking to items
Pick-to: 6.1
Task-number: QTBUG-91875
Change-Id: Ia99c4e417af15da4e8ac66d14d07f23e83690088
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Remove the .pro/.pri project files and the associated
.prev_CMakeLists.txt files.
Task-number: QTBUG-78167
Pick-to: 6.1
Change-Id: I8dea2d3efccf8bae6a4b41779dccfaf5f9f83222
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.1 5.15
Fixes: QTBUG-92237
Change-Id: I9b93e557b67f8bd1ac2a5ea34ebb3f4c375b7f9e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
qt6_target_typelibs should replace the qmake functionality associated
with the TYPELIBS variable. This function adds custom call of the
dumpcpp program to generate typelib-related sources and adds the
sources to the target.
Pick-to: 6.1
Task-number: QTBUG-78167
Change-Id: I7b61a2b1804162e723e862945a9650a00776e678
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Task-number: QTBUG-91743
Change-Id: I278397bf26b8e11076530cb341420f72bda8a435
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: Icdfe81a51b626034bd86bf143eb1fe108603d148
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
Move QAxObjectInterface::~QAxObjectInterface() to a source file.
Pick-to: 6.1
Change-Id: I5b83fad9fe1c7571e1dcea5f0cb01b2fc95c3d31
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
A change in qtbase removed the friend declaration of
QClassFactory in QCoreApplication. We can avoid the need
for this declaration by accessing the functionality
differently.
Pick-to: 6.1
Change-Id: Ia2bd7d9ee8dc8eff4e3a9afba9cf889dc27ddfb4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GetProcAddr returns a FARPROC (function pointer with no arguments) for
mingw. In reality GetProcAddr does not result in a FARPROC though so
that we have to cast it to void* before casting it to the "real"
function pointer to tell mingw that we know what we are doing.
Additionally the return value of lastIndexOf was ignored in one place.
Just use it instead of relying on the match having been made.
Change-Id: I007f4732ff563aa01d2140ed8f92d1fc78f1a71b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
| |
Remove link to Qt Script as it is not maintained any more. Add
documentation stub for control() function as others link to it.
Task-number: QTBUG-88533
Change-Id: I94d5f2186431eb49fbe5e33e794bb9793be95699
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
| |
QtScript is not maintained any more. This patch removes the dependency
of the documentation from activeqt to qtscript.
Change-Id: Ie1ec2b8191303fbc6ac44843e636d1c5532d5d28
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: Ic0a12db2e62e1e027f352a150ffd276bc0f84b56
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
|
|
|
|
|
| |
Change-Id: I377e524edaf686d1a77e24f3dcb8f94476004b43
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
| |
Change-Id: Ie4bec0ead0f7dc9c5124e560df82f1b95c0dccb9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-83252
Change-Id: I0e30afd79c4d689e975798bbd1baf5e02ccc3dfe
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-86400
Change-Id: Iaf2c7824b983a98e6b3b2cef21058ac1a2f33b9e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
- Refactor code to use ints for metatype id
Change-Id: I0a88f19ade25b1f8bb5a5138c602a71cf1f7282a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
- Adapt to explicit constructor of QUuid
- QString changes
- Renamed Qt::MidButton to Qt::MiddleButton
- QMetaType-related deprecations
Change-Id: Icdea2b300c3f33bec3a4ad010ee3150a3b2156de
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
- Adapt to QMetaType/QVariant changes
- Adapt to QIODeviceBase
Change-Id: I7cb6b9b0bbc68954c839c2026e3984fd7f913ef9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-85467
Pick-to: 5.15
Change-Id: I47920180626ea3ecbda3ea8e59600bf2f653f7fe
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
|
|
|
|
| |
Change-Id: I3c8395c9bc171af69513a8ca471709d44be051ab
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix:
qaxserverbase.cpp:4360:27: warning: 'int QMouseEvent::x() const' is deprecated: Use position() [-Wdeprecated-declarations]
qaxserverbase.cpp:4361:27: warning: 'int QMouseEvent::y() const' is deprecated: Use position() [-Wdeprecated-declarations] ^
qaxserverbase.cpp:4377:27: warning: 'int QMouseEvent::x() const' is deprecated: Use position() [-Wdeprecated-declarations]
qaxserverbase.cpp:4378:27: warning: 'int QMouseEvent::y() const' is deprecated: Use position() [-Wdeprecated-declarations] ^
qaxserverbase.cpp:4403:27: warning: 'int QMouseEvent::x() const' is deprecated: Use position() [-Wdeprecated-declarations]
qaxserverbase.cpp:4404:27: warning: 'int QMouseEvent::y() const' is deprecated: Use position() [-Wdeprecated-declarations]
Change-Id: I8a0c4f6d83c33bd02bc8b4909332a31c281af695
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-85179
Change-Id: Icd4843315da79643921479a68c7bd83acd57cc3f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
| |
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: Ie1081f1a8a35e1ae7f57697dafee066969463967
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-84469
Change-Id: I822b48d0f5568ad271b148a3e2058d59097f0154
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-84434
Change-Id: I0a7628ac33971154244d3ddfe824889795aea06c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
| |
Change-Id: I8ebce5c3f49dd07e6de2aa847625a3c5f677c756
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-84319
Change-Id: I450272cf93e9b886c27176622c305af41ca7a035
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename virtual QAxObjectInterface::clear() to
resetControl() and change QAxObject/Widget::clear()
to a non-virtual function calling it.
resetControl() is more inline with Qt naming conventions
and making clear() non-virtual prevents clashes
when a control generated by dumpcpp has a clear()
method. It is not a general solution for the issue;
but helps this case.
Fixes: QTBUG-83735
Change-Id: I6aa01db6e95477e0407ba40fbc14f4991edf5f3e
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
| |
By making the QAxWidget/ObjectPrivate inherit QAxBasePrivate, some
virtual internal functions can be moved there and QAxSignalBridge
can also be removed.
Change-Id: Ic53cb61afe3fb2a431c149b1b73697bbf287b6b0
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
It solves the problem of calling virtual clear()
from the destructor and prepares for further changes.
Change-Id: Icb8530c70e451ab5f27443fbd54fb3b3cf5e8c03
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce QAxBaseObject and QAxBaseWidget providing
the static properties and signals of QAxObject and QAxWidget.
Rename the QAxBase methods to be called from the metacall
implementations of QAxObject and QAxWidget.
Add "classContext" as a real property on this occasion.
Change-Id: Ia4f4e45e091e2d575ed9e6b2dd212139a1146300
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
| |
Streamline code, fix indentation errors.
Change-Id: I7f16ac912bb5ec7d6f25f11cd2e1ae81a0db2196
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
| |
Remove left-over iterator from porting to range based for in
5a1ce04cb71263ab078921f5efc8cf30f95a2eb5.
Pick-to: 5.15
Change-Id: I0d16055ab383d536d8e1cc24b5777426fbd5c504
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
| |
Change-Id: Ic594816a6b8943130e53ebbe9969e187df7bf924
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the code agnostic of the exact return type. In one case, were
filling a C# IntPtr, drop the cast and use .data(), as IntPtr has a
ctor from void* and the code stores an explicit string length, so we
don't need the NUL-termination that utf16() guarantees.
There are a handful of casts remaining, so write a small helper that
allows to comment on certain aspects of the conversion.
Done-with: Marc Mutz <marc.mutz@kdab.com>
Change-Id: I16227077b31f02fbbefe1a83e4dfbd2d5333a0f7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
| |
- Port away from QDesktopWidget
- Use QFontMetrics::horizontalAdvance() instead of width()
Pick-to: 5.15
Change-Id: I5d721fa574356a27e414545d6b9b2d28d400080b
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
| |
Port the 2 main libraries, examples and tests.
Task-number: QTBUG-78167
Change-Id: I0d00c9fa352a96dcd0e1f42d52e6f15680abd9ed
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|