| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
testcon is a user facing app.
Task-number: QTBUG-88414
Change-Id: I46d1c94145024972e4bb2946e3b0218be0910c8c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit dfd2e6949b27f374f8bf0efbfd14a08fd3b23eb1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
They no longer have any effect and cause warnings and errors.
Change-Id: Ibeb25186d92a0755a06193f34892ac0d64314e2e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 7040246efcaddbbda534acc841bcd7ec6b1bdfb4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
qtactiveqt\tools\testcon\mainwindow.ui: Warning: action `actionGroupLogging' not declared
Amends 7f6d41e35091
Pick-to: 6.1
Change-Id: I25b96631017f01c48f3d80e9a372bb7bf3e3dffb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@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>
|
|
|
|
|
| |
Change-Id: Icdfe81a51b626034bd86bf143eb1fe108603d148
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
| |
Change-Id: I377e524edaf686d1a77e24f3dcb8f94476004b43
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Establish QtAxContainer and QtAxServer as proper modules.
Add QtAxBase as a static helper lib containing
qaxtypefunctions.cpp and qaxutils.cpp from the shared
directory.
qaxtypes.cpp remains in the shared directory as it is
used by both modules with differing defines. The VARIANT
<-> QVariant conversion is exposed via QAxBasePrivate
for testcon.
Add activeqt as a header-only module modeled after
platformheaders.
This makes it easier for the cmake conversion tools.
Task-number: QTBUG-78167
Task-number: QTBUG-27776
Change-Id: I3e7956ea91f2177b8c2596402908351b4d99c510
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
| |
Change-Id: If36f3576952dad987847903b81d0c64da4fdc40e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
QActionGroup support of Qt Designer was dropped in Qt 4.
The group in question is also not exclusive, so, it does not make sense.
Change-Id: I8927c730bab9071fd05de4207f4727c5d1bf4922
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-80906
Change-Id: Id18ae4adea182291ccd8b367e055afb894c97bb5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
Prepare for migration to Qt 6 by using QVector where possible.
Otherwise, use auto or typedefs like QVariantList.
Change-Id: I6d385efe1a45a0519cf4bb06a1f6d1ea869e890e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
| |
Add completer in code, fixing:
ui_invokemethod.h: In member function 'void Ui_InvokeMethod::setupUi(QDialog*)':
.uic\debug/ui_invokemethod.h:137:45: warning: 'void QComboBox::setAutoCompletion(bool)' is deprecated: Use setCompleter() instead. [-Wdeprecated-declarations]
Change-Id: I4df3d05fa3beb3fe6dcd3a75a9d647d080e644b3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix remaining nullptr
- else after return
- Use const ref to avoid copies of variables
- C-Style casts
- Use multi-arg version of QString::arg()
Change-Id: I4525f68bd576f9d6d7249d5153198896b8653fa7
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
| |
Use C++ casts or remove where not needed.
Change-Id: I7eaffcc20bcc925ab7be984cdb7d4b9b17949d40
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
| |
Apply Fixits by Qt Creator with some amendments.
Change-Id: Ia47cee2d55432ddc14635aa593c52d80ab39cc82
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Fix warnings emitted by clang, use default constructors where
applicable.
Remove some unused members.
Change-Id: I287ffa4d884be253ec5272e4266a1645376e7235
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
mainwindow.cpp:397:51: warning: 'static QPixmap QPixmap::grabWidget(QObject*, int, int, int, int)' is deprecated: Use QWidget::grab() instead [-Wdeprecated-declarations]
changeproperties.cpp:206:47: warning: 'void QTreeWidgetItem::setTextColor(int, const QColor&)' is deprecated: Use QTreeWidgetItem::setForeground() instead [-Wdeprecated-declarations]
...
qaxserver.cpp:290:101: warning: 'QVariant::QVariant(const char*)' is deprecated: Use fromUtf8, QStringLiteral, or QLatin1String [-Wdeprecated-declarations]
Change-Id: I500ef8a7b5ecf6d7c189388113f217a8bd5a6e55
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
|
|
|
|
|
|
|
|
|
| |
Done to associate the ClassID, InterfaceID & EventsID values more directly against
the MainWindow class. The code also becomes more descriptive.
Task-number: QTBUG-73056
Change-Id: Ifd2a75aef23190bb19fe229c4e50329ab0dc9651
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Leverage QAxWidget::setClassContext and integrity level impersonation to require the
ActiveX control to either be started in a separate process, or in a separate
"low integrity" process.
Based on "Designing Applications to Run at a Low Integrity Level" https://msdn.microsoft.com/en-us/library/bb625960.aspx
Task-number: QTBUG-70983
Change-Id: Ic71a076c9d54b433e7b0285e958bb86a6ff163bb
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove else after return/break
- Avoid copies of variables which are used as const-ref
- Simplify boolean return values
- Remove redundant declarations
- Use range-based for where applicable
Change-Id: I5a3e4ba86845ac4d1c6f166c3f808eb06469c28f
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
|
| |
This patch updates the ChangeProperties class of the testcon tool to use
QRegularExpression in place of QRegExp which is to be considered
deprecated.
Change-Id: If972c091fa929f77282b94e46f37c2d945df9262
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
examples/activeqt/webbrowser/main.cpp
examples/activeqt/webbrowser/webaxwidget.h
Change-Id: I80775f6d355a278880d7e6044390b67a6f6a893e
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: Ie457478a64a28434afb3361dfc6f9478dd9c58bd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds missing include statement where the QRegExp class is
used and remove them where not.
Change-Id: I857dbc18af9f4ef5a3d9552b61c814e9fd85a438
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0df68cec43511537b61ddfe74bd677be7a598eae
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|/ /
| |
| |
| |
| | |
Change-Id: Iaf72bd006af026255bc5cd1ecf14f187db1bcf52
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|/
|
|
|
| |
Change-Id: I00033e7be4103e22d0b78b079ec4bd313cd813f2
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
|
|
| |
Switch to debug log and point it out in message.
Change-Id: I0809a1da0c6d5dab148705fae32004af0dc8e371
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
|
|
|
|
|
|
|
| |
Add "About Qt" and "About Testcon" which displays Qt version
and build.
Change-Id: Iddedf0ccf4d1e753a9deb5812c3df482e5a2e480
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Use range based for.
Change-Id: If91077be5bb13aa1447866c4243511db72d4f46c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Windows COM runtime uses delay-unloading of unused COM DLLs, with a default
delay of 10min. The new menu entry enables immediate unload of unused COM DLLs,
thus avoiding the need to wait for 10min. This makes it easier to investigate
DLL lifetime issues in ActiveX controls that would otherwise require a 10min
wait after the control have been closed.
Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms678413.aspx
Change-Id: I48ea7748cc3d976a912f050ccb54c2be4a86486e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I06247d29c4b05020e91bb377a7f93e5374184f47
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Avoid conversion from QString to QByteArray.
- Replace a = a.mid() by a.remove().
- Replace a = a.left() by a.truncate().
- Streamline code extracting an error code.
Change-Id: I43c1f04e947632f725bbb86af5abf108b2b02261
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make it possible to set Qt::AA_DisableHighDpiScaling
and Qt::AA_DontCreateNativeWidgetSiblings.
Task-number: QTBUG-50206
Change-Id: Ib5f0e9f29a78b22c99edfef3b6687482150d9896
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
From Qt 5.7 -> tools & applications are licensed under GPL v3 with some
exceptions, see
http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/
Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one
(in those files which will be under GPL 3 with exceptions)
Change-Id: I28b956229a96fd982b22640226a716c1a4f3aa0d
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Resize main window and select dialog according to
available screen size.
Task-number: QTBUG-50206
Change-Id: I66fa527dceb19fab87ac84ee3063f5b84e487fb4
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
Otherwise, the application crashes when debug messages
are emitted while creating window. Amends
fc55372413a064baa049f28a13cba1406b132cfb.
Task-number: QTBUG-49712
Change-Id: I393d46431fbafb6aab95866848466dc72820fa89
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
When debugging controls potentially crashing testcon, it makes sense
to use the standard tools to capture debug output. Add an option
and move the handler code to main.cpp.
Task-number: QTBUG-49712
Change-Id: I9fd60513e7b3e6fc8a20019778a5844ad99d554e
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
When loading controls using the same version of Qt,
QGuiApplication::quitOnLastWindowClosed is set to false.
Overwrite MainWindow::closeEvent() to fix this.
Task-number: QTBUG-49712
Change-Id: I7425cf2a4a70353e017ed5cad463e1b66b819247
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Use a struct and log a warning when registration fails.
Task-number: QTBUG-49712
Change-Id: I138ec010cde6c97867994c1a4f4f75a460a4061d
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-49712
Change-Id: I0460264dede9109f9627d8557d0264ffb0a9acaa
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Factor out load methods and add command line parser.
Task-number: QTBUG-49355
Change-Id: Ic7c15c19e0b51e666fc13d74751713ccdc97dd9d
Reviewed-by: Fredrik Orderud <forderud@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The script demonstrates how to navigate between custom Qt objects
from a scripting language. None of the existing scripts demonstrate
this capability, so the script should therefore be useful.
The background for sending this patch is that scripting ActiveQt
can be a bit tricky. Adding more sample scripts will hopefully
make it easier for newcomers to get started.
Change-Id: I06820339bc92b556229af101ca2cc177da96ccc2
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ifb2d18d57602260546cc8a29af221298442575ac
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|