File indexing completed on 2025-01-05 04:58:22
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 0006 */ 0007 0008 #include <QApplication> 0009 #include <QCommandLineParser> 0010 #include <QStandardPaths> 0011 0012 #include "ldap/ldapsearchdialog.h" 0013 0014 int main(int argc, char *argv[]) 0015 { 0016 QApplication app(argc, argv); 0017 QCommandLineParser parser; 0018 // We can't use it otherwise we need to call kbuilsyscoca in test mode too. 0019 // QStandardPaths::setTestModeEnabled(true); 0020 parser.addVersionOption(); 0021 parser.addHelpOption(); 0022 parser.process(app); 0023 0024 PimCommon::LdapSearchDialog dlg; 0025 dlg.exec(); 0026 return app.exec(); 0027 }