diff options
Diffstat (limited to 'Qt')
| -rw-r--r-- | Qt/dbconnector.cpp | 49 | ||||
| -rw-r--r-- | Qt/dbconnector.h | 34 | ||||
| -rw-r--r-- | Qt/dbconnector.ui | 141 | ||||
| -rw-r--r-- | Qt/main.cpp | 27 | ||||
| -rw-r--r-- | Qt/main.h | 7 | ||||
| -rw-r--r-- | Qt/mainwindow.cpp | 48 | ||||
| -rw-r--r-- | Qt/mainwindow.h | 42 | ||||
| -rw-r--r-- | Qt/mainwindow.ui | 128 | ||||
| -rw-r--r-- | Qt/whetherOrNot.pro | 30 | ||||
| -rw-r--r-- | Qt/whetherOrNot.pro.user | 262 | 
10 files changed, 768 insertions, 0 deletions
| diff --git a/Qt/dbconnector.cpp b/Qt/dbconnector.cpp new file mode 100644 index 0000000..188ae6c --- /dev/null +++ b/Qt/dbconnector.cpp @@ -0,0 +1,49 @@ +#include "dbconnector.h" +#include "ui_dbconnector.h" +#include "main.h" + +//#include "mainwindow.h" + +dbConnector::dbConnector(QWidget *parent) : +    QDialog(parent), +    ui(new Ui::dbConnector) +{ +    ui->setupUi(this); +} + +dbConnector::~dbConnector() +{ +    delete ui; +} + +void dbConnector::on_pushButton_cancel_clicked() +{ +    dbConnector::~dbConnector(); +} + +void dbConnector::on_pushButton_login_clicked() +{ +    QString hostname = ui->lineEdit_adress->text(); +    QString username = ui->lineEdit_username->text(); +    QString password = ui->lineEdit_password->text(); +    QString databaseName = "thecrapbox"; + +//    QSqlDatabase db = MainWindow.loginDb(adress, username, password); + +//    QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL"); +//    return; +    dbRef.setHostName(adress); +    dbRef.setUserName(username); +    dbRef.setPassword(password); +    dbRef.setDatabaseName("thecrapbox"); + +    if(dbRef.open()){ +        QMessageBox::information(this, "Connection", "GREAT SUCCES!"); +    } else { +        QMessageBox::warning(this, "No connection", "Failed to connect"); +    } +} + + + + diff --git a/Qt/dbconnector.h b/Qt/dbconnector.h new file mode 100644 index 0000000..b0f9a7e --- /dev/null +++ b/Qt/dbconnector.h @@ -0,0 +1,34 @@ +#pragma once + +#include <QDialog> + +#include <QMessageBox> +//#include <QtSql> +//#include <QSqlDatabase> + +#include "database.h" + +namespace Ui { +class dbConnector; +} + +class dbConnector : public QDialog +{ +    Q_OBJECT + +public: +    explicit dbConnector(QWidget *parent = nullptr); +    ~dbConnector(); + +private slots: +//    void on_pushButton_clicked(); + +    void on_pushButton_cancel_clicked(); + +    void on_pushButton_login_clicked(); + +private: +    Ui::dbConnector *ui; + +//    Database database; +}; diff --git a/Qt/dbconnector.ui b/Qt/dbconnector.ui new file mode 100644 index 0000000..21d241f --- /dev/null +++ b/Qt/dbconnector.ui @@ -0,0 +1,141 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>dbConnector</class> + <widget class="QDialog" name="dbConnector"> +  <property name="geometry"> +   <rect> +    <x>0</x> +    <y>0</y> +    <width>362</width> +    <height>273</height> +   </rect> +  </property> +  <property name="windowTitle"> +   <string>Dialog</string> +  </property> +  <widget class="QWidget" name="formLayoutWidget"> +   <property name="geometry"> +    <rect> +     <x>60</x> +     <y>60</y> +     <width>241</width> +     <height>173</height> +    </rect> +   </property> +   <layout class="QFormLayout" name="formLayout"> +    <item row="0" column="0"> +     <widget class="QLabel" name="label_3"> +      <property name="text"> +       <string>Adress</string> +      </property> +     </widget> +    </item> +    <item row="0" column="1"> +     <widget class="QLineEdit" name="lineEdit_adress"> +      <property name="text"> +       <string>localhost</string> +      </property> +      <property name="placeholderText"> +       <string>Hostname/IP-Adress</string> +      </property> +     </widget> +    </item> +    <item row="1" column="0"> +     <widget class="QLabel" name="label_4"> +      <property name="text"> +       <string>Database</string> +      </property> +     </widget> +    </item> +    <item row="1" column="1"> +     <widget class="QLineEdit" name="lineEdit_database"> +      <property name="placeholderText"> +       <string>Database name</string> +      </property> +     </widget> +    </item> +    <item row="2" column="0" colspan="2"> +     <widget class="Line" name="line"> +      <property name="orientation"> +       <enum>Qt::Horizontal</enum> +      </property> +     </widget> +    </item> +    <item row="3" column="0"> +     <widget class="QLabel" name="label"> +      <property name="text"> +       <string>Username</string> +      </property> +     </widget> +    </item> +    <item row="3" column="1"> +     <widget class="QLineEdit" name="lineEdit_username"> +      <property name="text"> +       <string>root</string> +      </property> +      <property name="echoMode"> +       <enum>QLineEdit::PasswordEchoOnEdit</enum> +      </property> +      <property name="placeholderText"> +       <string>Username</string> +      </property> +     </widget> +    </item> +    <item row="4" column="0"> +     <widget class="QLabel" name="label_2"> +      <property name="text"> +       <string>Password</string> +      </property> +     </widget> +    </item> +    <item row="4" column="1"> +     <widget class="QLineEdit" name="lineEdit_password"> +      <property name="font"> +       <font> +        <underline>false</underline> +        <strikeout>false</strikeout> +        <kerning>true</kerning> +       </font> +      </property> +      <property name="text"> +       <string/> +      </property> +      <property name="echoMode"> +       <enum>QLineEdit::Password</enum> +      </property> +      <property name="placeholderText"> +       <string>Password</string> +      </property> +     </widget> +    </item> +    <item row="5" column="0"> +     <widget class="QLabel" name="connectLabel"> +      <property name="text"> +       <string>Connect</string> +      </property> +     </widget> +    </item> +    <item row="5" column="1"> +     <layout class="QHBoxLayout" name="horizontalLayout"> +      <item> +       <widget class="QPushButton" name="pushButton_login"> +        <property name="text"> +         <string>Login</string> +        </property> +       </widget> +      </item> +      <item> +       <widget class="QPushButton" name="pushButton_cancel"> +        <property name="text"> +         <string>Cancel</string> +        </property> +       </widget> +      </item> +     </layout> +    </item> +   </layout> +  </widget> + </widget> + <resources/> + <connections/> +</ui> diff --git a/Qt/main.cpp b/Qt/main.cpp new file mode 100644 index 0000000..6de43ac --- /dev/null +++ b/Qt/main.cpp @@ -0,0 +1,27 @@ +#include "mainwindow.h" +#include "main.h" +#include "./ui_mainwindow.h" + +#include <QApplication> +#include <QMessageBox> +#include <iostream> +#include <stdio.h> + +QSqlDatabase dbRef = QSqlDatabase(); + +int main(int argc, char *argv[]) +{ +    QApplication a(argc, argv); +    MainWindow w; +//    dbRef = new QSqlDatabase(); +    dbRef = QSqlDatabase::addDatabase("QMYSQL"); + + + +    w.show(); +//        QMessageBox::information(NULL, "AAAAAAAAA", dbRef.driverName().toStdString()); +    std::cout << "AAAAAAAA: \"" << dbRef.driverName().toStdString() << "\"\n"; +    fflush(0); +    return a.exec(); + +} diff --git a/Qt/main.h b/Qt/main.h new file mode 100644 index 0000000..6c7c5c9 --- /dev/null +++ b/Qt/main.h @@ -0,0 +1,7 @@ +#pragma once + +#include <QSql> +#include <QSqlDatabase> + +int main(int argc, char *argv[]); +extern QSqlDatabase dbRef; diff --git a/Qt/mainwindow.cpp b/Qt/mainwindow.cpp new file mode 100644 index 0000000..c475414 --- /dev/null +++ b/Qt/mainwindow.cpp @@ -0,0 +1,48 @@ +#include "mainwindow.h" +#include "./ui_mainwindow.h" +#include "main.h" + +MainWindow::MainWindow(QWidget *parent) +    : QMainWindow(parent) +    , ui(new Ui::MainWindow) +{ +//    db = QSqlDatabase::addDatabase("QMYSQL"); +    ui->setupUi(this); +} + +MainWindow::~MainWindow() +{ +    dbRef.close(); +    delete ui; +} + +void MainWindow::on_actionAbout_triggered() +{ +    QMessageBox::warning(this, "Oops..", "Task Failed succesfully ;)"); +} + + +void MainWindow::on_pushButton_clicked() +{ +//    dbRef = QSqlDatabase::addDatabase("QMYSQL"); +//    dbRef.setHostName("localhost"); +//    dbRef.setUserName("root"); +//    dbRef.setPassword("Ab12345!"); +//    dbRef.setDatabaseName("thecrapbox"); + +    if(dbRef.open()){ +        QMessageBox::information(this, "Connection", "GREAT SUCCES!"); +        pQueryModel = new QSqlQueryModel(); +        pQueryModel->setQuery("SELECT * FROM opleiding;"); +        ui->tableView->setModel(pQueryModel); +    } else { +        QMessageBox::warning(this, "No connection", "Failed to connect"); +    } +} + +void MainWindow::on_actionConnection_triggered() +{ +    _dbConenctor = new dbConnector(this); +    _dbConenctor->show(); +} + diff --git a/Qt/mainwindow.h b/Qt/mainwindow.h new file mode 100644 index 0000000..b7374a1 --- /dev/null +++ b/Qt/mainwindow.h @@ -0,0 +1,42 @@ +#pragma once + +#include <QMainWindow> + +#include "database.h" +#include "dbconnector.h" + +#include <QMessageBox> +#include <QtSql> +#include <QSqlDatabase> +#include "main.h" + + +QT_BEGIN_NAMESPACE +namespace Ui { class MainWindow; } +QT_END_NAMESPACE + +class MainWindow : public QMainWindow +{ +    Q_OBJECT + +public: +    MainWindow(QWidget *parent = nullptr); +    ~MainWindow(); + +private slots: +    void on_actionAbout_triggered(); + +    void on_pushButton_clicked(); + +    void on_actionConnection_triggered(); + +private: +    Ui::MainWindow *ui; + +    dbConnector *_dbConenctor; +//    QSqlDatabase db; + +//    QSqlQueryModel *pQueryModel; + +    Database database; +}; diff --git a/Qt/mainwindow.ui b/Qt/mainwindow.ui new file mode 100644 index 0000000..f827c85 --- /dev/null +++ b/Qt/mainwindow.ui @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>MainWindow</class> + <widget class="QMainWindow" name="MainWindow"> +  <property name="geometry"> +   <rect> +    <x>0</x> +    <y>0</y> +    <width>800</width> +    <height>600</height> +   </rect> +  </property> +  <property name="windowTitle"> +   <string>MainWindow</string> +  </property> +  <widget class="QWidget" name="centralwidget"> +   <widget class="QPushButton" name="pushButton"> +    <property name="enabled"> +     <bool>true</bool> +    </property> +    <property name="geometry"> +     <rect> +      <x>310</x> +      <y>0</y> +      <width>121</width> +      <height>41</height> +     </rect> +    </property> +    <property name="text"> +     <string>DoesSomething</string> +    </property> +   </widget> +   <widget class="QWidget" name="verticalLayoutWidget"> +    <property name="geometry"> +     <rect> +      <x>-10</x> +      <y>40</y> +      <width>801</width> +      <height>401</height> +     </rect> +    </property> +    <layout class="QVBoxLayout" name="verticalLayout"> +     <item> +      <widget class="QTableView" name="tableView"/> +     </item> +    </layout> +   </widget> +  </widget> +  <widget class="QMenuBar" name="menubar"> +   <property name="geometry"> +    <rect> +     <x>0</x> +     <y>0</y> +     <width>800</width> +     <height>21</height> +    </rect> +   </property> +   <widget class="QMenu" name="menuAbouy"> +    <property name="title"> +     <string>Home</string> +    </property> +    <addaction name="actionAbout"/> +    <addaction name="actionRefresh"/> +   </widget> +   <widget class="QMenu" name="menuTEMP"> +    <property name="title"> +     <string>TEMP</string> +    </property> +    <addaction name="actionLOAD"/> +    <addaction name="actionQuerry"/> +   </widget> +   <widget class="QMenu" name="menuDatabase"> +    <property name="title"> +     <string>Database</string> +    </property> +    <addaction name="actionConnection"/> +    <addaction name="actionDisconnenct"/> +    <addaction name="actionStatus"/> +   </widget> +   <addaction name="menuAbouy"/> +   <addaction name="menuTEMP"/> +   <addaction name="menuDatabase"/> +  </widget> +  <widget class="QStatusBar" name="statusbar"/> +  <action name="actionAbout"> +   <property name="text"> +    <string>About</string> +   </property> +  </action> +  <action name="actionRefresh"> +   <property name="text"> +    <string>Refresh</string> +   </property> +  </action> +  <action name="actionLOAD"> +   <property name="text"> +    <string>Load</string> +   </property> +  </action> +  <action name="actionQuerry"> +   <property name="text"> +    <string>Query</string> +   </property> +  </action> +  <action name="actionConnection"> +   <property name="text"> +    <string>Connect</string> +   </property> +  </action> +  <action name="actionDisconnenct"> +   <property name="text"> +    <string>Disconnenct</string> +   </property> +  </action> +  <action name="actionQuerry_2"> +   <property name="text"> +    <string>Querry</string> +   </property> +  </action> +  <action name="actionStatus"> +   <property name="text"> +    <string>Status</string> +   </property> +  </action> + </widget> + <resources/> + <connections/> +</ui> diff --git a/Qt/whetherOrNot.pro b/Qt/whetherOrNot.pro new file mode 100644 index 0000000..10dfa8a --- /dev/null +++ b/Qt/whetherOrNot.pro @@ -0,0 +1,30 @@ +QT       += core gui sql charts + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +CONFIG += c++17 + +# You can make your code fail to compile if it uses deprecated APIs. +# In order to do so, uncomment the following line. +#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0 + +SOURCES += \ +    database.cpp \ +    dbconnector.cpp \ +    main.cpp \ +    mainwindow.cpp + +HEADERS += \ +    database.h \ +    dbconnector.h \ +    main.h \ +    mainwindow.h + +FORMS += \ +    dbconnector.ui \ +    mainwindow.ui + +# Default rules for deployment. +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /opt/$${TARGET}/bin +!isEmpty(target.path): INSTALLS += target diff --git a/Qt/whetherOrNot.pro.user b/Qt/whetherOrNot.pro.user new file mode 100644 index 0000000..4669d08 --- /dev/null +++ b/Qt/whetherOrNot.pro.user @@ -0,0 +1,262 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE QtCreatorProject> +<!-- Written by QtCreator 8.0.1, 2022-09-29T15:31:42. --> +<qtcreator> + <data> +  <variable>EnvironmentId</variable> +  <value type="QByteArray">{ea03b890-8d0a-4e25-9c8a-4324595ed9f6}</value> + </data> + <data> +  <variable>ProjectExplorer.Project.ActiveTarget</variable> +  <value type="qlonglong">0</value> + </data> + <data> +  <variable>ProjectExplorer.Project.EditorSettings</variable> +  <valuemap type="QVariantMap"> +   <value type="bool" key="EditorConfiguration.AutoIndent">true</value> +   <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> +   <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> +   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> +    <value type="QString" key="language">Cpp</value> +    <valuemap type="QVariantMap" key="value"> +     <value type="QByteArray" key="CurrentPreferences">CppGlobal</value> +    </valuemap> +   </valuemap> +   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> +    <value type="QString" key="language">QmlJS</value> +    <valuemap type="QVariantMap" key="value"> +     <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value> +    </valuemap> +   </valuemap> +   <value type="qlonglong" key="EditorConfiguration.CodeStyle.Count">2</value> +   <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value> +   <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> +   <value type="int" key="EditorConfiguration.IndentSize">4</value> +   <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> +   <value type="int" key="EditorConfiguration.MarginColumn">80</value> +   <value type="bool" key="EditorConfiguration.MouseHiding">true</value> +   <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> +   <value type="int" key="EditorConfiguration.PaddingMode">1</value> +   <value type="bool" key="EditorConfiguration.PreferSingleLineComments">false</value> +   <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> +   <value type="bool" key="EditorConfiguration.ShowMargin">false</value> +   <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> +   <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value> +   <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> +   <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> +   <value type="int" key="EditorConfiguration.TabSize">8</value> +   <value type="bool" key="EditorConfiguration.UseGlobal">true</value> +   <value type="bool" key="EditorConfiguration.UseIndenter">false</value> +   <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> +   <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> +   <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> +   <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> +   <value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value> +   <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> +   <value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value> +  </valuemap> + </data> + <data> +  <variable>ProjectExplorer.Project.PluginSettings</variable> +  <valuemap type="QVariantMap"> +   <valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks"> +    <value type="bool" key="AutoTest.Framework.Boost">true</value> +    <value type="bool" key="AutoTest.Framework.CTest">false</value> +    <value type="bool" key="AutoTest.Framework.Catch">true</value> +    <value type="bool" key="AutoTest.Framework.GTest">true</value> +    <value type="bool" key="AutoTest.Framework.QtQuickTest">true</value> +    <value type="bool" key="AutoTest.Framework.QtTest">true</value> +   </valuemap> +   <valuemap type="QVariantMap" key="AutoTest.CheckStates"/> +   <value type="int" key="AutoTest.RunAfterBuild">0</value> +   <value type="bool" key="AutoTest.UseGlobal">true</value> +   <valuemap type="QVariantMap" key="ClangTools"> +    <value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value> +    <value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value> +    <value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value> +    <value type="int" key="ClangTools.ParallelJobs">4</value> +    <valuelist type="QVariantList" key="ClangTools.SelectedDirs"/> +    <valuelist type="QVariantList" key="ClangTools.SelectedFiles"/> +    <valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/> +    <value type="bool" key="ClangTools.UseGlobalSettings">true</value> +   </valuemap> +  </valuemap> + </data> + <data> +  <variable>ProjectExplorer.Project.Target.0</variable> +  <valuemap type="QVariantMap"> +   <value type="QString" key="DeviceType">Desktop</value> +   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">degoede</value> +   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">degoede</value> +   <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{1e436ae3-d7a2-4102-aca0-911720324ec1}</value> +   <value type="qlonglong" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> +   <value type="qlonglong" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> +   <value type="qlonglong" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> +    <value type="int" key="EnableQmlDebugging">0</value> +    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/jregnier/gitOnline/newqt/build-whetherOrNot-degoede-Debug</value> +    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/Users/jregnier/gitOnline/newqt/build-whetherOrNot-degoede-Debug</value> +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> +      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> +      <valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/> +     </valuemap> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> +     </valuemap> +     <value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> +    </valuemap> +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> +     </valuemap> +     <value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> +    </valuemap> +    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> +    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> +    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/> +    <value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value> +    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value> +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> +    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> +   </valuemap> +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> +    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/jregnier/gitOnline/newqt/build-whetherOrNot-degoede-Release</value> +    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/Users/jregnier/gitOnline/newqt/build-whetherOrNot-degoede-Release</value> +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> +      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> +      <valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/> +     </valuemap> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> +     </valuemap> +     <value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> +    </valuemap> +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> +     </valuemap> +     <value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> +    </valuemap> +    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> +    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> +    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/> +    <value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value> +    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value> +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> +    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> +    <value type="int" key="QtQuickCompiler">0</value> +   </valuemap> +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2"> +    <value type="int" key="EnableQmlDebugging">0</value> +    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/Users/jregnier/gitOnline/newqt/build-whetherOrNot-degoede-Profile</value> +    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory.shadowDir">/Users/jregnier/gitOnline/newqt/build-whetherOrNot-degoede-Profile</value> +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> +      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> +      <valuelist type="QVariantList" key="QtProjectManager.QMakeBuildStep.SelectedAbis"/> +     </valuemap> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> +     </valuemap> +     <value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> +    </valuemap> +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> +     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> +      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> +      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> +      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> +     </valuemap> +     <value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> +    </valuemap> +    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> +    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> +    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.CustomParsers"/> +    <value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">false</value> +    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value> +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> +    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> +    <value type="int" key="QtQuickCompiler">0</value> +    <value type="int" key="SeparateDebugInfo">0</value> +   </valuemap> +   <value type="qlonglong" key="ProjectExplorer.Target.BuildConfigurationCount">3</value> +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> +    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> +     <value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">0</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value> +     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> +    </valuemap> +    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> +    <valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/> +    <value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value> +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> +   </valuemap> +   <value type="qlonglong" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> +   <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> +    <value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value> +    <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value> +    <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> +    <valuelist type="QVariantList" key="CustomOutputParsers"/> +    <value type="int" key="PE.EnvironmentAspect.Base">2</value> +    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> +    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/Users/jregnier/gitOnline/newqt/wheather/whetherOrNot.pro</value> +    <value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">/Users/jregnier/gitOnline/newqt/wheather/whetherOrNot.pro</value> +    <value type="bool" key="RunConfiguration.UseCppDebugger">false</value> +    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value> +    <value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value> +    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> +    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> +    <value type="QString" key="RunConfiguration.WorkingDirectory.default">/Users/jregnier/gitOnline/newqt/build-whetherOrNot-degoede-Debug/whetherOrNot.app/Contents/MacOS</value> +   </valuemap> +   <value type="qlonglong" key="ProjectExplorer.Target.RunConfigurationCount">1</value> +  </valuemap> + </data> + <data> +  <variable>ProjectExplorer.Project.TargetCount</variable> +  <value type="qlonglong">1</value> + </data> + <data> +  <variable>ProjectExplorer.Project.Updater.FileVersion</variable> +  <value type="int">22</value> + </data> + <data> +  <variable>Version</variable> +  <value type="int">22</value> + </data> +</qtcreator> |