tests/auto/linguist/lupdate/testdata/good/notargetlanguage/main.cpp
raw| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | #include <QtWidgets/QApplication> |
| 29 | #include <QtWidgets/QPushButton> |
| 30 | #include <QTranslator> |
| 31 | |
| 32 | int main(int argc, char *argv[]) |
| 33 | { |
| 34 | QApplication app(argc, argv); |
| 35 | |
| 36 | QTranslator translator; |
| 37 | app.installTranslator(&translator); |
| 38 | |
| 39 | QObject::tr("un mot","toto",1); |
| 40 | |
| 41 | return app.exec(); |
| 42 | } |