@@ -1,88 +1,89 | |||||
1 | #------------------------------------------------- |
|
1 | #------------------------------------------------- | |
2 | # |
|
2 | # | |
3 | # Project created by QtCreator 2011-09-19T22:52:10 |
|
3 | # Project created by QtCreator 2011-09-19T22:52:10 | |
4 | # |
|
4 | # | |
5 | #------------------------------------------------- |
|
5 | #------------------------------------------------- | |
6 |
|
6 | |||
7 | TEMPLATE = subdirs |
|
7 | TEMPLATE = subdirs | |
8 | CONFIG += ordered release |
|
8 | CONFIG += ordered release | |
9 |
|
9 | |||
10 | SUBDIRS = \ |
|
10 | SUBDIRS = \ | |
11 | src/common \ |
|
11 | src/common \ | |
12 | src/SocExplorerEngine \ |
|
12 | src/SocExplorerEngine \ | |
13 | src \ |
|
13 | src \ | |
14 | src/SocExplorer_TCP_Terminal |
|
14 | src/SocExplorer_TCP_Terminal | |
15 |
|
15 | |||
16 |
|
16 | |||
17 | socexplorercfg.path = $$[QT_INSTALL_PREFIX]/mkspecs/features |
|
17 | socexplorercfg.path = $$[QT_INSTALL_PREFIX]/mkspecs/features | |
18 | socexplorercfg.files = \ |
|
18 | socexplorercfg.files = \ | |
19 | src/SocExplorerEngine/plugins/socexplorerplugin.prf |
|
19 | src/SocExplorerEngine/plugins/socexplorerplugin.prf | |
20 |
|
20 | |||
21 |
|
21 | |||
22 | unix{ |
|
22 | unix{ | |
23 | SocExplorer.path = /usr/share/applications/ |
|
23 | SocExplorer.path = /usr/share/applications/ | |
24 | SocExplorer.files = unixcfg/SocExplorer.desktop |
|
24 | SocExplorer.files = unixcfg/SocExplorer.desktop | |
25 | PluginConfPath.path = /etc/SocExplorer/plugin.conf.d/ |
|
25 | PluginConfPath.path = /etc/SocExplorer/plugin.conf.d/ | |
26 | PluginConfPath.files = unixcfg/plugins.conf |
|
26 | PluginConfPath.files = unixcfg/plugins.conf | |
27 |
|
|
27 | share.path = /usr/share/SocExplorer | |
28 |
|
|
28 | share.files = ressources/images/Indiana_Jones_cappello.png \ | |
|
29 | ressources/Grlib.xml | |||
29 | Wizard.path = /usr/share/qtcreator/templates/wizards/SocExplorerPlugin |
|
30 | Wizard.path = /usr/share/qtcreator/templates/wizards/SocExplorerPlugin | |
30 | Wizard.files = Qt_Creator_Wizard/SocExplorerPlugin/logo-lpp-cutted.png \ |
|
31 | Wizard.files = Qt_Creator_Wizard/SocExplorerPlugin/logo-lpp-cutted.png \ | |
31 | Qt_Creator_Wizard/SocExplorerPlugin/plugin.cpp \ |
|
32 | Qt_Creator_Wizard/SocExplorerPlugin/plugin.cpp \ | |
32 | Qt_Creator_Wizard/SocExplorerPlugin/plugin.h \ |
|
33 | Qt_Creator_Wizard/SocExplorerPlugin/plugin.h \ | |
33 | Qt_Creator_Wizard/SocExplorerPlugin/project.pro \ |
|
34 | Qt_Creator_Wizard/SocExplorerPlugin/project.pro \ | |
34 | Qt_Creator_Wizard/SocExplorerPlugin/wizard.xml |
|
35 | Qt_Creator_Wizard/SocExplorerPlugin/wizard.xml | |
35 |
INSTALLS+=Wizard SocExplorer |
|
36 | INSTALLS+=Wizard SocExplorer share PluginConfPath | |
36 | } |
|
37 | } | |
37 | INSTALLS+=socexplorercfg |
|
38 | INSTALLS+=socexplorercfg | |
38 |
|
39 | |||
39 |
|
40 | |||
40 |
|
41 | |||
41 |
|
42 | |||
42 |
|
43 | |||
43 |
|
44 | |||
44 |
|
45 | |||
45 |
|
46 | |||
46 |
|
47 | |||
47 |
|
48 | |||
48 |
|
49 | |||
49 |
|
50 | |||
50 |
|
51 | |||
51 |
|
52 | |||
52 |
|
53 | |||
53 |
|
54 | |||
54 |
|
55 | |||
55 |
|
56 | |||
56 |
|
57 | |||
57 |
|
58 | |||
58 |
|
59 | |||
59 |
|
60 | |||
60 |
|
61 | |||
61 |
|
62 | |||
62 |
|
63 | |||
63 |
|
64 | |||
64 |
|
65 | |||
65 |
|
66 | |||
66 |
|
67 | |||
67 |
|
68 | |||
68 |
|
69 | |||
69 |
|
70 | |||
70 |
|
71 | |||
71 |
|
72 | |||
72 |
|
73 | |||
73 |
|
74 | |||
74 |
|
75 | |||
75 |
|
76 | |||
76 |
|
77 | |||
77 |
|
78 | |||
78 |
|
79 | |||
79 |
|
80 | |||
80 |
|
81 | |||
81 |
|
82 | |||
82 |
|
83 | |||
83 |
|
84 | |||
84 |
|
85 | |||
85 |
|
86 | |||
86 |
|
87 | |||
87 |
|
88 | |||
88 |
|
89 |
@@ -1,105 +1,105 | |||||
1 | #include "xmldriver.h" |
|
1 | #include "xmldriver.h" | |
2 | #include <socexplorerengine.h> |
|
2 | #include <socexplorerengine.h> | |
3 | #include <QFile> |
|
3 | #include <QFile> | |
4 | #include <QDebug> |
|
4 | #include <QDebug> | |
5 |
|
5 | |||
6 | XMLDriver::XMLDriver(QObject *parent) : |
|
6 | XMLDriver::XMLDriver(QObject *parent) : | |
7 | QObject(parent) |
|
7 | QObject(parent) | |
8 | { |
|
8 | { | |
9 | this->xmlFiles = new QList<xmlfile*>(); |
|
9 | this->xmlFiles = new QList<xmlfile*>(); | |
10 | this->scanXmlFiles(); |
|
10 | this->scanXmlFiles(); | |
11 | } |
|
11 | } | |
12 |
|
12 | |||
13 | int XMLDriver::checkXmlFile(const QString &fileName) |
|
13 | int XMLDriver::checkXmlFile(const QString &fileName) | |
14 | { |
|
14 | { | |
15 | QDomDocument document; |
|
15 | QDomDocument document; | |
16 | QFile file( fileName ); |
|
16 | QFile file( fileName ); | |
17 | if( !file.open( QIODevice::ReadOnly ) ) |
|
17 | if( !file.open( QIODevice::ReadOnly ) ) | |
18 | return 0; |
|
18 | return 0; | |
19 | document.setContent(&file); |
|
19 | document.setContent(&file); | |
20 | if(document.isNull()) |
|
20 | if(document.isNull()) | |
21 | return 0; |
|
21 | return 0; | |
22 | file.close(); |
|
22 | file.close(); | |
23 | return 1; |
|
23 | return 1; | |
24 | } |
|
24 | } | |
25 |
|
25 | |||
26 | int XMLDriver::createXmlFile(const QString &fileName) |
|
26 | int XMLDriver::createXmlFile(const QString &fileName) | |
27 | { |
|
27 | { | |
28 | QDomDocument* xmlDoc=new QDomDocument(); |
|
28 | QDomDocument* xmlDoc=new QDomDocument(); | |
29 | QDomProcessingInstruction header = xmlDoc->createProcessingInstruction( "xml", "version=\"1.0\" encoding=\"utf-8\"" ); |
|
29 | QDomProcessingInstruction header = xmlDoc->createProcessingInstruction( "xml", "version=\"1.0\" encoding=\"utf-8\"" ); | |
30 | xmlDoc->appendChild( header ); |
|
30 | xmlDoc->appendChild( header ); | |
31 | QDomElement rootnode= xmlDoc->createElement("socExplorerXml"); |
|
31 | QDomElement rootnode= xmlDoc->createElement("socExplorerXml"); | |
32 | rootnode.setAttribute("name",fileName); |
|
32 | rootnode.setAttribute("name",fileName); | |
33 | xmlDoc->appendChild(rootnode); |
|
33 | xmlDoc->appendChild(rootnode); | |
34 | QFile file( fileName ); |
|
34 | QFile file( fileName ); | |
35 | if(!file.exists()) |
|
35 | if(!file.exists()) | |
36 | { |
|
36 | { | |
37 | if( !file.open( QIODevice::WriteOnly ) ) |
|
37 | if( !file.open( QIODevice::WriteOnly ) ) | |
38 | return 0; |
|
38 | return 0; | |
39 | QTextStream ts( &file ); |
|
39 | QTextStream ts( &file ); | |
40 | ts << xmlDoc->toString(); |
|
40 | ts << xmlDoc->toString(); | |
41 | file.close(); |
|
41 | file.close(); | |
42 | return 1; |
|
42 | return 1; | |
43 | } |
|
43 | } | |
44 | return 0; |
|
44 | return 0; | |
45 | } |
|
45 | } | |
46 |
|
46 | |||
47 | QList<xmlfile *> XMLDriver::getFileList(const QString &tagNameFilter) |
|
47 | QList<xmlfile *> XMLDriver::getFileList(const QString &tagNameFilter) | |
48 | { |
|
48 | { | |
49 | QList<xmlfile*> list; |
|
49 | QList<xmlfile*> list; | |
50 | for(int i=0;i<xmlFiles->count();i++) |
|
50 | for(int i=0;i<xmlFiles->count();i++) | |
51 | { |
|
51 | { | |
52 | if(xmlFiles->at(i)->rootTagName()==tagNameFilter) |
|
52 | if(xmlFiles->at(i)->rootTagName()==tagNameFilter) | |
53 | { |
|
53 | { | |
54 | list.append(xmlFiles->at(i)); |
|
54 | list.append(xmlFiles->at(i)); | |
55 | } |
|
55 | } | |
56 | } |
|
56 | } | |
57 | return list; |
|
57 | return list; | |
58 | } |
|
58 | } | |
59 |
|
59 | |||
60 | QList<QDomNodeList> XMLDriver::getAllNodes(const QString &tagName) |
|
60 | QList<QDomNodeList> XMLDriver::getAllNodes(const QString &tagName) | |
61 | { |
|
61 | { | |
62 | QList<QDomNodeList> list; |
|
62 | QList<QDomNodeList> list; | |
63 | for(int i=0;i<xmlFiles->count();i++) |
|
63 | for(int i=0;i<xmlFiles->count();i++) | |
64 | { |
|
64 | { | |
65 | QDomNodeList nodes=xmlFiles->at(i)->getRootElement()->elementsByTagName(tagName); |
|
65 | QDomNodeList nodes=xmlFiles->at(i)->getRootElement()->elementsByTagName(tagName); | |
66 | if(!nodes.isEmpty()) |
|
66 | if(!nodes.isEmpty()) | |
67 | { |
|
67 | { | |
68 | list.append(nodes); |
|
68 | list.append(nodes); | |
69 | } |
|
69 | } | |
70 | } |
|
70 | } | |
71 | return list; |
|
71 | return list; | |
72 | } |
|
72 | } | |
73 |
|
73 | |||
74 | void XMLDriver::registerXmlFile(const QString &fileName) |
|
74 | void XMLDriver::registerXmlFile(const QString &fileName) | |
75 | { |
|
75 | { | |
76 | for(int i=0;i<xmlFiles->count();i++) |
|
76 | for(int i=0;i<xmlFiles->count();i++) | |
77 | { |
|
77 | { | |
78 | if(xmlFiles->at(i)->fileName()==fileName) |
|
78 | if(xmlFiles->at(i)->fileName()==fileName) | |
79 | { |
|
79 | { | |
80 | return; |
|
80 | return; | |
81 | } |
|
81 | } | |
82 | } |
|
82 | } | |
83 | xmlFiles->append(new xmlfile(fileName)); |
|
83 | xmlFiles->append(new xmlfile(fileName)); | |
84 | } |
|
84 | } | |
85 |
|
85 | |||
86 | void XMLDriver::scanXmlFiles() |
|
86 | void XMLDriver::scanXmlFiles() | |
87 | { |
|
87 | { | |
88 |
QDir |
|
88 | QDir shareDir(SocExplorerEngine::sharePath()); | |
89 |
QFileInfoList list = |
|
89 | QFileInfoList list = shareDir.entryInfoList(); | |
90 | for (int i = 0; i < list.size(); ++i) |
|
90 | for (int i = 0; i < list.size(); ++i) | |
91 | { |
|
91 | { | |
92 | QFileInfo fileInfo = list.at(i); |
|
92 | QFileInfo fileInfo = list.at(i); | |
93 | if(fileInfo.isFile()) |
|
93 | if(fileInfo.isFile()) | |
94 | { |
|
94 | { | |
95 | if(fileInfo.fileName().contains(".xml") && !fileInfo.fileName().contains(".xml~")) |
|
95 | if(fileInfo.fileName().contains(".xml") && !fileInfo.fileName().contains(".xml~")) | |
96 | { |
|
96 | { | |
97 | qDebug()<<"Found " + fileInfo.fileName(); |
|
97 | qDebug()<<"Found " + fileInfo.fileName(); | |
98 | if(checkXmlFile(fileInfo.absoluteFilePath())) |
|
98 | if(checkXmlFile(fileInfo.absoluteFilePath())) | |
99 | { |
|
99 | { | |
100 | registerXmlFile(fileInfo.absoluteFilePath()); |
|
100 | registerXmlFile(fileInfo.absoluteFilePath()); | |
101 | } |
|
101 | } | |
102 | } |
|
102 | } | |
103 | } |
|
103 | } | |
104 | } |
|
104 | } | |
105 | } |
|
105 | } |
@@ -1,137 +1,138 | |||||
1 | /*------------------------------------------------------------------------------ |
|
1 | /*------------------------------------------------------------------------------ | |
2 | -- This file is a part of the SocExplorer Software |
|
2 | -- This file is a part of the SocExplorer Software | |
3 | -- Copyright (C) 2012, Plasma Physics Laboratory - CNRS |
|
3 | -- Copyright (C) 2012, Plasma Physics Laboratory - CNRS | |
4 | -- |
|
4 | -- | |
5 | -- This program is free software; you can redistribute it and/or modify |
|
5 | -- This program is free software; you can redistribute it and/or modify | |
6 | -- it under the terms of the GNU General Public License as published by |
|
6 | -- it under the terms of the GNU General Public License as published by | |
7 | -- the Free Software Foundation; either version 2 of the License, or |
|
7 | -- the Free Software Foundation; either version 2 of the License, or | |
8 | -- (at your option) any later version. |
|
8 | -- (at your option) any later version. | |
9 | -- |
|
9 | -- | |
10 | -- This program is distributed in the hope that it will be useful, |
|
10 | -- This program is distributed in the hope that it will be useful, | |
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -- GNU General Public License for more details. |
|
13 | -- GNU General Public License for more details. | |
14 | -- |
|
14 | -- | |
15 | -- You should have received a copy of the GNU General Public License |
|
15 | -- You should have received a copy of the GNU General Public License | |
16 | -- along with this program; if not, write to the Free Software |
|
16 | -- along with this program; if not, write to the Free Software | |
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | -------------------------------------------------------------------------------*/ |
|
18 | -------------------------------------------------------------------------------*/ | |
19 | /*-- Author : Alexis Jeandet |
|
19 | /*-- Author : Alexis Jeandet | |
20 | -- Mail : alexis.jeandet@lpp.polytechnique.fr |
|
20 | -- Mail : alexis.jeandet@lpp.polytechnique.fr | |
21 | ----------------------------------------------------------------------------*/ |
|
21 | ----------------------------------------------------------------------------*/ | |
22 | #ifndef SOCEXPLORERENGINE_H |
|
22 | #ifndef SOCEXPLORERENGINE_H | |
23 | #define SOCEXPLORERENGINE_H |
|
23 | #define SOCEXPLORERENGINE_H | |
24 |
|
24 | |||
25 | #include <stdint.h> |
|
25 | #include <stdint.h> | |
26 | #include <QObject> |
|
26 | #include <QObject> | |
27 | #include <QtWidgets> |
|
27 | #include <QtWidgets> | |
28 | #include <QStringList> |
|
28 | #include <QStringList> | |
29 | #include <QDomDocument> |
|
29 | #include <QDomDocument> | |
30 | #include <QDomElement> |
|
30 | #include <QDomElement> | |
31 | #include <QDomNodeList> |
|
31 | #include <QDomNodeList> | |
32 | #include <QFile> |
|
32 | #include <QFile> | |
33 | #include <QTextStream> |
|
33 | #include <QTextStream> | |
34 | #include <QDir> |
|
34 | #include <QDir> | |
35 | #include <QApplication> |
|
35 | #include <QApplication> | |
36 | #include <QtCore/qglobal.h> |
|
36 | #include <QtCore/qglobal.h> | |
37 | #include <QFileDialog> |
|
37 | #include <QFileDialog> | |
38 | #include <socexplorerxmlfile.h> |
|
38 | #include <socexplorerxmlfile.h> | |
39 | #include <socexplorerenumdevice.h> |
|
39 | #include <socexplorerenumdevice.h> | |
40 | #include <XMLmodel.h> |
|
40 | #include <XMLmodel.h> | |
41 | #include <peripheralwidget.h> |
|
41 | #include <peripheralwidget.h> | |
42 | #include <registerwidget.h> |
|
42 | #include <registerwidget.h> | |
43 | #include <socmodel.h> |
|
43 | #include <socmodel.h> | |
44 |
|
44 | |||
45 | #if defined(SOCEXPLORER_SDK_BUILD) |
|
45 | #if defined(SOCEXPLORER_SDK_BUILD) | |
46 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_EXPORT |
|
46 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_EXPORT | |
47 | #else |
|
47 | #else | |
48 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_IMPORT |
|
48 | # define SOCEXPLORER_SDK_EXPORT Q_DECL_IMPORT | |
49 | #endif |
|
49 | #endif | |
50 |
|
50 | |||
51 |
|
51 | |||
52 | class SOCEXPLORER_SDK_EXPORT SocExplorerAutoProgressBar |
|
52 | class SOCEXPLORER_SDK_EXPORT SocExplorerAutoProgressBar | |
53 | { |
|
53 | { | |
54 | public: |
|
54 | public: | |
55 | SocExplorerAutoProgressBar(QProgressBar* progressBar=NULL) |
|
55 | SocExplorerAutoProgressBar(QProgressBar* progressBar=NULL) | |
56 | { |
|
56 | { | |
57 | this->p_progressbar=progressBar; |
|
57 | this->p_progressbar=progressBar; | |
58 | } |
|
58 | } | |
59 | ~SocExplorerAutoProgressBar() |
|
59 | ~SocExplorerAutoProgressBar() | |
60 | { |
|
60 | { | |
61 | if(p_progressbar) |
|
61 | if(p_progressbar) | |
62 | { |
|
62 | { | |
63 | delete p_progressbar; |
|
63 | delete p_progressbar; | |
64 | } |
|
64 | } | |
65 | } |
|
65 | } | |
66 | void setProgressBar(QProgressBar* progressBar) |
|
66 | void setProgressBar(QProgressBar* progressBar) | |
67 | { |
|
67 | { | |
68 | this->p_progressbar=progressBar; |
|
68 | this->p_progressbar=progressBar; | |
69 | } |
|
69 | } | |
70 | void setValue(int value) |
|
70 | void setValue(int value) | |
71 | { |
|
71 | { | |
72 | p_progressbar->setValue(value); |
|
72 | p_progressbar->setValue(value); | |
73 | } |
|
73 | } | |
74 | private: |
|
74 | private: | |
75 | QProgressBar* p_progressbar; |
|
75 | QProgressBar* p_progressbar; | |
76 | }; |
|
76 | }; | |
77 |
|
77 | |||
78 | //! SocExplorerEngine is a pure static class which aims to provide services for both SocExplorer software and plugins. |
|
78 | //! SocExplorerEngine is a pure static class which aims to provide services for both SocExplorer software and plugins. | |
79 |
|
79 | |||
80 | class SOCEXPLORER_SDK_EXPORT SocExplorerEngine : public QObject |
|
80 | class SOCEXPLORER_SDK_EXPORT SocExplorerEngine : public QObject | |
81 | { |
|
81 | { | |
82 | Q_OBJECT |
|
82 | Q_OBJECT | |
83 | private: |
|
83 | private: | |
84 | static SocExplorerEngine* _self; |
|
84 | static SocExplorerEngine* _self; | |
85 | SocExplorerEngine(QObject *parent = 0); |
|
85 | SocExplorerEngine(QObject *parent = 0); | |
86 | static void init(); |
|
86 | static void init(); | |
87 |
|
87 | |||
88 | public: |
|
88 | public: | |
89 | static SocExplorerEngine* self(){ if(!_self){_self= new SocExplorerEngine;}return _self;} |
|
89 | static SocExplorerEngine* self(){ if(!_self){_self= new SocExplorerEngine;}return _self;} | |
90 | //! Return the configuration folder path, OS dependant. |
|
90 | //! Return the configuration folder path, OS dependant. | |
91 | SOCEXPLORER_SDK_EXPORT static QString configFolder(); |
|
91 | SOCEXPLORER_SDK_EXPORT static QString configFolder(); | |
92 | //! Return the default plugin folder path, OS dependant. |
|
92 | //! Return the default plugin folder path, OS dependant. | |
93 | //static QString pluginFolder(){return QString(SOCEXPLORER_PLUGINS_INSTALL_PATH);} |
|
93 | //static QString pluginFolder(){return QString(SOCEXPLORER_PLUGINS_INSTALL_PATH);} | |
94 | static QStringList pluginFolders(); |
|
94 | static QStringList pluginFolders(); | |
95 | static QString configPath(){return QString(SOCEXPLORER_CONFIG_PATH);} |
|
95 | static QString configPath(){return QString(SOCEXPLORER_CONFIG_PATH);} | |
|
96 | static QString sharePath(){return QString(SOCEXPLORER_SHARE_PATH);} | |||
96 | static int addEnumDevice(socexplorerplugin* rootPlugin,int VID,int PID,qint32 baseAddress,const QString& name); |
|
97 | static int addEnumDevice(socexplorerplugin* rootPlugin,int VID,int PID,qint32 baseAddress,const QString& name); | |
97 | static QList<SOCModel*>* getSOCs(); |
|
98 | static QList<SOCModel*>* getSOCs(); | |
98 | static QString getDevName(int VID, int PID); |
|
99 | static QString getDevName(int VID, int PID); | |
99 | static QString SocExplorerVersion(); |
|
100 | static QString SocExplorerVersion(); | |
100 | static QString SocExplorerChangeset(); |
|
101 | static QString SocExplorerChangeset(); | |
101 | static QString SocExplorerBranch(); |
|
102 | static QString SocExplorerBranch(); | |
102 | static socExplorerXmlModel* xmlModel(); |
|
103 | static socExplorerXmlModel* xmlModel(); | |
103 | static void setMainWindow(QMainWindow* Mainwindow); |
|
104 | static void setMainWindow(QMainWindow* Mainwindow); | |
104 | static QProgressBar* getProgressBar(const QString &format, int max); |
|
105 | static QProgressBar* getProgressBar(const QString &format, int max); | |
105 | static void deleteProgressBar(QProgressBar* progressBar); |
|
106 | static void deleteProgressBar(QProgressBar* progressBar); | |
106 | static void addSOC(socexplorerplugin* rootPlugin); |
|
107 | static void addSOC(socexplorerplugin* rootPlugin); | |
107 | static void removeSOC(socexplorerplugin* rootPlugin); |
|
108 | static void removeSOC(socexplorerplugin* rootPlugin); | |
108 | static void message(socexplorerplugin* sender,const QString& message,int debugLevel=0); |
|
109 | static void message(socexplorerplugin* sender,const QString& message,int debugLevel=0); | |
109 | static void setLogLevel(int level); |
|
110 | static void setLogLevel(int level); | |
110 | signals: |
|
111 | signals: | |
111 | void enumDeviceAdded(socExplorerEnumDevice* device); |
|
112 | void enumDeviceAdded(socExplorerEnumDevice* device); | |
112 | public slots: |
|
113 | public slots: | |
113 | QString getSocExplorerVersion(){return SocExplorerEngine::SocExplorerVersion();} |
|
114 | QString getSocExplorerVersion(){return SocExplorerEngine::SocExplorerVersion();} | |
114 | QString getSocExplorerChangeset(){return SocExplorerEngine::SocExplorerChangeset();} |
|
115 | QString getSocExplorerChangeset(){return SocExplorerEngine::SocExplorerChangeset();} | |
115 | QString getSocExplorerBranch(){return SocExplorerEngine::SocExplorerBranch();} |
|
116 | QString getSocExplorerBranch(){return SocExplorerEngine::SocExplorerBranch();} | |
116 | qint32 getEnumDeviceBaseAddress(const QString& rootPlugin,int VID,int PID,int count=0); |
|
117 | qint32 getEnumDeviceBaseAddress(const QString& rootPlugin,int VID,int PID,int count=0); | |
117 | qint32 getEnumDeviceBaseAddress(socexplorerplugin* plugin,int VID,int PID,int count=0); |
|
118 | qint32 getEnumDeviceBaseAddress(socexplorerplugin* plugin,int VID,int PID,int count=0); | |
118 | qint32 getEnumDeviceCount(socexplorerplugin* plugin,int VID,int PID); |
|
119 | qint32 getEnumDeviceCount(socexplorerplugin* plugin,int VID,int PID); | |
119 | qint32 getEnumDeviceCount(const QString& rootPlugin,int VID,int PID); |
|
120 | qint32 getEnumDeviceCount(const QString& rootPlugin,int VID,int PID); | |
120 | int addEnumDevice(const QString& rootPlugin,int VID,int PID,qint32 baseAddress,const QString& name); |
|
121 | int addEnumDevice(const QString& rootPlugin,int VID,int PID,qint32 baseAddress,const QString& name); | |
121 |
|
122 | |||
122 | private: |
|
123 | private: | |
123 | static SOCModel* plugin2Soc(socexplorerplugin* plugin); |
|
124 | static SOCModel* plugin2Soc(socexplorerplugin* plugin); | |
124 | static socExplorerXmlModel* p_xmlmodel; |
|
125 | static socExplorerXmlModel* p_xmlmodel; | |
125 | static QMainWindow* mainWindow; |
|
126 | static QMainWindow* mainWindow; | |
126 | static QList<SOCModel*>* SOCs; |
|
127 | static QList<SOCModel*>* SOCs; | |
127 | static int loglvl; |
|
128 | static int loglvl; | |
128 | }; |
|
129 | }; | |
129 |
|
130 | |||
130 | #endif // SOCEXPLORERENGINE_H |
|
131 | #endif // SOCEXPLORERENGINE_H | |
131 |
|
132 | |||
132 |
|
133 | |||
133 |
|
134 | |||
134 |
|
135 | |||
135 |
|
136 | |||
136 |
|
137 | |||
137 |
|
138 |
@@ -1,71 +1,72 | |||||
1 |
|
1 | |||
2 |
|
2 | |||
3 | win32 { |
|
3 | win32 { | |
4 | DEFINES += WIN32 |
|
4 | DEFINES += WIN32 | |
5 | DEFINES += WINTRANSLATIONPATH |
|
5 | DEFINES += WINTRANSLATIONPATH | |
6 | DEFINES += SOCEXPLORER_TRANSLATION_PATH="\"\\\"./translations"\\\"\" |
|
6 | DEFINES += SOCEXPLORER_TRANSLATION_PATH="\"\\\"./translations"\\\"\" | |
7 | SOCEXPLORER_TRANSLATION_INSTALL_PATH = translations |
|
7 | SOCEXPLORER_TRANSLATION_INSTALL_PATH = translations | |
8 | SOCEXPLORER_INSTALL_PATH = |
|
8 | SOCEXPLORER_INSTALL_PATH = | |
9 | SOCEXPLORER_PLUGINS_INSTALL_PATH = $$SOCEXPLORER_PLUGIN_PATH |
|
9 | SOCEXPLORER_PLUGINS_INSTALL_PATH = $$SOCEXPLORER_PLUGIN_PATH | |
10 | } |
|
10 | } | |
11 |
|
11 | |||
12 | unix { |
|
12 | unix { | |
13 | DEFINES += UNIX |
|
13 | DEFINES += UNIX | |
14 | DEFINES += UNIXTRANSLATIONPATH |
|
14 | DEFINES += UNIXTRANSLATIONPATH | |
15 | DEFINES += SOCEXPLORER_TRANSLATION_PATH="\"\\\"/etc/SocExplorer/translations"\\\"\" |
|
15 | DEFINES += SOCEXPLORER_TRANSLATION_PATH="\"\\\"/etc/SocExplorer/translations"\\\"\" | |
16 | SOCEXPLORER_TRANSLATION_INSTALL_PATH = /etc/SocExplorer/translations |
|
16 | SOCEXPLORER_TRANSLATION_INSTALL_PATH = /etc/SocExplorer/translations | |
17 | SOCEXPLORER_INSTALL_PATH = /usr/local/SocExplorer |
|
17 | SOCEXPLORER_INSTALL_PATH = /usr/local/SocExplorer | |
18 | SOCEXPLORER_PLUGINS_INSTALL_PATH = $$[QT_INSTALL_LIBS]"/SocExplorer/plugins" |
|
18 | SOCEXPLORER_PLUGINS_INSTALL_PATH = $$[QT_INSTALL_LIBS]"/SocExplorer/plugins" | |
19 | DEFINES += SOCEXPLORER_CONFIG_PATH="\"\\\"/etc/SocExplorer"\\\"\" |
|
19 | DEFINES += SOCEXPLORER_CONFIG_PATH="\"\\\"/etc/SocExplorer"\\\"\" | |
|
20 | DEFINES += SOCEXPLORER_SHARE_PATH="\"\\\"/usr/share/SocExplorer"\\\"\" | |||
20 | SOCEXPLORER_CONFIG_PATH=/etc/SocExplorer |
|
21 | SOCEXPLORER_CONFIG_PATH=/etc/SocExplorer | |
21 | } |
|
22 | } | |
22 |
|
23 | |||
23 | isEmpty( SOCEXPLORER_SDK_BUILD ){ |
|
24 | isEmpty( SOCEXPLORER_SDK_BUILD ){ | |
24 | message( "building a plugin" ) |
|
25 | message( "building a plugin" ) | |
25 | QT += core gui xml |
|
26 | QT += core gui xml | |
26 | contains(QT_MAJOR_VERSION, 5) { |
|
27 | contains(QT_MAJOR_VERSION, 5) { | |
27 | QT += widgets |
|
28 | QT += widgets | |
28 | } |
|
29 | } | |
29 | CONFIG += pythonqt |
|
30 | CONFIG += pythonqt | |
30 | TEMPLATE = lib |
|
31 | TEMPLATE = lib | |
31 | win32:CONFIG += dll |
|
32 | win32:CONFIG += dll | |
32 | win32:CONFIG -= static |
|
33 | win32:CONFIG -= static | |
33 | OBJECTS_DIR = obj |
|
34 | OBJECTS_DIR = obj | |
34 | MOC_DIR = moc |
|
35 | MOC_DIR = moc | |
35 | DESTDIR = bin |
|
36 | DESTDIR = bin | |
36 | # CONFIG(debug, debug|release) { |
|
37 | # CONFIG(debug, debug|release) { | |
37 | # DEBUG_EXT = _d |
|
38 | # DEBUG_EXT = _d | |
38 | # } else { |
|
39 | # } else { | |
39 | # DEBUG_EXT = |
|
40 | # DEBUG_EXT = | |
40 | # } |
|
41 | # } | |
41 | unix{ |
|
42 | unix{ | |
42 | target.path = $${SOCEXPLORER_PLUGINS_INSTALL_PATH} |
|
43 | target.path = $${SOCEXPLORER_PLUGINS_INSTALL_PATH} | |
43 | INSTALLS += target |
|
44 | INSTALLS += target | |
44 | LIBS+= -lsocexplorerengine$${DEBUG_EXT} -lsocexplorercommon$${DEBUG_EXT} |
|
45 | LIBS+= -lsocexplorerengine$${DEBUG_EXT} -lsocexplorercommon$${DEBUG_EXT} | |
45 | } |
|
46 | } | |
46 | win32{ |
|
47 | win32{ | |
47 | INCLUDEPATH += $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf |
|
48 | INCLUDEPATH += $$[QT_INSTALL_HEADERS]/SocExplorer/common/libelf | |
48 | LIBS+=$$[QT_INSTALL_LIBS]/socexplorerengine$${DEBUG_EXT}.dll $$[QT_INSTALL_LIBS]/socexplorercommon$${DEBUG_EXT}.dll |
|
49 | LIBS+=$$[QT_INSTALL_LIBS]/socexplorerengine$${DEBUG_EXT}.dll $$[QT_INSTALL_LIBS]/socexplorercommon$${DEBUG_EXT}.dll | |
49 | } |
|
50 | } | |
50 | DEFINES += SOCEXPLORER_LIBRARY |
|
51 | DEFINES += SOCEXPLORER_LIBRARY | |
51 |
|
52 | |||
52 | SOURCES += \ |
|
53 | SOURCES += \ | |
53 | $$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface/socexplorerplugininterface.cpp |
|
54 | $$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface/socexplorerplugininterface.cpp | |
54 |
|
55 | |||
55 | HEADERS += \ |
|
56 | HEADERS += \ | |
56 | $$[QT_INSTALL_HEADERS]/SocExplorer/genericPySysdriver.h \ |
|
57 | $$[QT_INSTALL_HEADERS]/SocExplorer/genericPySysdriver.h \ | |
57 | $$[QT_INSTALL_HEADERS]/SocExplorer/socexplorerplugin.h |
|
58 | $$[QT_INSTALL_HEADERS]/SocExplorer/socexplorerplugin.h | |
58 |
|
59 | |||
59 | INCLUDEPATH += $$[QT_INSTALL_HEADERS]/SocExplorer/common \ |
|
60 | INCLUDEPATH += $$[QT_INSTALL_HEADERS]/SocExplorer/common \ | |
60 | $$[QT_INSTALL_HEADERS]/SocExplorer \ |
|
61 | $$[QT_INSTALL_HEADERS]/SocExplorer \ | |
61 | $$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface |
|
62 | $$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface | |
62 |
|
63 | |||
63 |
|
64 | |||
64 | }else{ |
|
65 | }else{ | |
65 | message( "building SocExplorer" ) |
|
66 | message( "building SocExplorer" ) | |
66 | HEADERS += \ |
|
67 | HEADERS += \ | |
67 | $$[QT_INSTALL_HEADERS]/SocExplorer/genericPySysdriver.h \ |
|
68 | $$[QT_INSTALL_HEADERS]/SocExplorer/genericPySysdriver.h \ | |
68 | $$[QT_INSTALL_HEADERS]/SocExplorer/socexplorerplugin.h |
|
69 | $$[QT_INSTALL_HEADERS]/SocExplorer/socexplorerplugin.h | |
69 | } |
|
70 | } | |
70 |
|
71 | |||
71 |
|
72 |
@@ -1,137 +1,138 | |||||
1 | #------------------------------------------------- |
|
1 | #------------------------------------------------- | |
2 | # |
|
2 | # | |
3 | # Project created by QtCreator 2011-09-19T22:52:10 |
|
3 | # Project created by QtCreator 2011-09-19T22:52:10 | |
4 | # |
|
4 | # | |
5 | #------------------------------------------------- |
|
5 | #------------------------------------------------- | |
6 | SOCEXPLORER_ROOT = $${PWD}/.. |
|
6 | SOCEXPLORER_ROOT = $${PWD}/.. | |
7 | include(../build_cfg/socexplorer.pri) |
|
7 | include(../build_cfg/socexplorer.pri) | |
8 |
|
8 | |||
9 | TARGET = socexplorer$${DEBUG_EXT} |
|
9 | TARGET = socexplorer$${DEBUG_EXT} | |
10 | TEMPLATE = app |
|
10 | TEMPLATE = app | |
11 | CONFIG += pythonqt |
|
11 | CONFIG += pythonqt | |
12 |
|
12 | |||
13 |
|
13 | |||
14 | QMAKE_LFLAGS_RELEASE += --enable-auto-import -mstackrealign |
|
14 | QMAKE_LFLAGS_RELEASE += --enable-auto-import -mstackrealign | |
15 | QMAKE_LFLAGS_DEBUG += --enable-auto-import -mstackrealign |
|
15 | QMAKE_LFLAGS_DEBUG += --enable-auto-import -mstackrealign | |
16 |
|
16 | |||
17 | include ( common/pythonQtOut/generated_cpp/PySocExplorer/PySocExplorer.pri ) |
|
17 | include ( common/pythonQtOut/generated_cpp/PySocExplorer/PySocExplorer.pri ) | |
18 | include ( SocExplorerEngine/pythonQtOut/generated_cpp/PySocExplorerEngine/PySocExplorerEngine.pri ) |
|
18 | include ( SocExplorerEngine/pythonQtOut/generated_cpp/PySocExplorerEngine/PySocExplorerEngine.pri ) | |
19 | include ( SocExplorerEngine/plugins/socexplorerplugin.prf ) |
|
19 | include ( SocExplorerEngine/plugins/socexplorerplugin.prf ) | |
20 |
|
20 | |||
21 | INCLUDEPATH+=$${PWD} \ |
|
21 | INCLUDEPATH+=$${PWD} \ | |
22 | $${PWD}/common \ |
|
22 | $${PWD}/common \ | |
23 | $${PWD}/common/qhexedit \ |
|
23 | $${PWD}/common/qhexedit \ | |
24 | $${PWD}/common/QCustomPlot \ |
|
24 | $${PWD}/common/QCustomPlot \ | |
25 | $${PWD}/common/genericBinaryFiles \ |
|
25 | $${PWD}/common/genericBinaryFiles \ | |
26 | $${PWD}/common/genericBinaryFiles/elf \ |
|
26 | $${PWD}/common/genericBinaryFiles/elf \ | |
27 | $${PWD}/common/genericBinaryFiles/srec \ |
|
27 | $${PWD}/common/genericBinaryFiles/srec \ | |
28 | $${PWD}/common/genericBinaryFiles/BinFile \ |
|
28 | $${PWD}/common/genericBinaryFiles/BinFile \ | |
29 | SocExplorerEngine/engine \ |
|
29 | SocExplorerEngine/engine \ | |
30 | SocExplorerEngine/pluginloader \ |
|
30 | SocExplorerEngine/pluginloader \ | |
31 | SocExplorerEngine/pluginsInterface \ |
|
31 | SocExplorerEngine/pluginsInterface \ | |
32 | SocExplorerEngine/proxy \ |
|
32 | SocExplorerEngine/proxy \ | |
33 | SocExplorerEngine/pluginManagerWdgt \ |
|
33 | SocExplorerEngine/pluginManagerWdgt \ | |
34 | SocExplorerEngine/plugins \ |
|
34 | SocExplorerEngine/plugins \ | |
35 | SocExplorerEngine/RegisterMVS \ |
|
35 | SocExplorerEngine/RegisterMVS \ | |
36 | SocExplorerEngine/XmlEngine \ |
|
36 | SocExplorerEngine/XmlEngine \ | |
37 | SocExplorerEngine/SOC \ |
|
37 | SocExplorerEngine/SOC \ | |
38 | SocExplorerEngine/PeripheralWidget/src |
|
38 | SocExplorerEngine/PeripheralWidget/src | |
39 |
|
39 | |||
40 | win32:INCLUDEPATH+= \ |
|
40 | win32:INCLUDEPATH+= \ | |
41 | $${PWD}/common/genericBinaryFiles/elf/libelfWin32/include \ |
|
41 | $${PWD}/common/genericBinaryFiles/elf/libelfWin32/include \ | |
42 | $${PWD}/common/genericBinaryFiles/elf/libelfWin32/include/libelf \ |
|
42 | $${PWD}/common/genericBinaryFiles/elf/libelfWin32/include/libelf \ | |
43 |
|
43 | |||
44 |
|
44 | |||
45 | RC_FILE = ../win32cfg/socexplorer.rc |
|
45 | RC_FILE = ../win32cfg/socexplorer.rc | |
46 |
|
46 | |||
47 |
|
47 | |||
48 | unix:LIBS+=-L$${SOCEXPLORER_ROOT}/bin/linux -lsocexplorercommon$${DEBUG_EXT} -L$${SOCEXPLORER_ROOT}/bin/linux -lsocexplorerengine$${DEBUG_EXT} |
|
48 | unix:LIBS+=-L$${SOCEXPLORER_ROOT}/bin/linux -lsocexplorercommon$${DEBUG_EXT} -L$${SOCEXPLORER_ROOT}/bin/linux -lsocexplorerengine$${DEBUG_EXT} | |
49 |
|
49 | |||
50 | win32-g++:LIBS += $${SOCEXPLORER_ROOT}/bin/win32/socexplorercommon$${DEBUG_EXT}.dll $${SOCEXPLORER_ROOT}/bin/win32/socexplorerengine$${DEBUG_EXT}.dll |
|
50 | win32-g++:LIBS += $${SOCEXPLORER_ROOT}/bin/win32/socexplorercommon$${DEBUG_EXT}.dll $${SOCEXPLORER_ROOT}/bin/win32/socexplorerengine$${DEBUG_EXT}.dll | |
51 |
|
51 | |||
52 |
|
52 | |||
53 | unix{ |
|
53 | unix{ | |
54 | translation.files = $${SOCEXPLORER_ROOT}/translations/socexplorer_fr.qm \ |
|
54 | translation.files = $${SOCEXPLORER_ROOT}/translations/socexplorer_fr.qm \ | |
55 | $${SOCEXPLORER_ROOT}/translations/socexplorer_en.qm |
|
55 | $${SOCEXPLORER_ROOT}/translations/socexplorer_en.qm | |
56 | translation.path = $${SOCEXPLORER_TRANSLATION_INSTALL_PATH} |
|
56 | translation.path = $${SOCEXPLORER_TRANSLATION_INSTALL_PATH} | |
57 | target.path = /usr/bin |
|
57 | target.path = /usr/bin | |
58 | INSTALLS += translation target |
|
58 | INSTALLS += translation target | |
59 | } |
|
59 | } | |
60 |
|
60 | |||
61 | header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common |
|
61 | header.path = $$[QT_INSTALL_HEADERS]/SocExplorer/common | |
62 | header.files = \ |
|
62 | header.files = \ | |
63 | socexplorer.h |
|
63 | socexplorer.h | |
64 | INSTALLS += header |
|
64 | INSTALLS += header | |
65 |
|
65 | |||
66 |
|
66 | |||
67 | SOURCES += main.cpp\ |
|
67 | SOURCES += main.cpp\ | |
68 | mainwindow.cpp \ |
|
68 | mainwindow.cpp \ | |
69 | PyWdgt/pythonconsole.cpp \ |
|
69 | PyWdgt/pythonconsole.cpp \ | |
70 | PyWdgt/pythonqtscriptingconsoledandd.cpp \ |
|
70 | PyWdgt/pythonqtscriptingconsoledandd.cpp \ | |
71 | dockablepluginmanager.cpp \ |
|
71 | dockablepluginmanager.cpp \ | |
72 | toolbar.cpp \ |
|
72 | toolbar.cpp \ | |
73 | toolbarcontainer.cpp \ |
|
73 | toolbarcontainer.cpp \ | |
74 | regsExplorer/regsexplorer.cpp \ |
|
74 | regsExplorer/regsexplorer.cpp \ | |
75 | regsExplorer/regsviewer.cpp \ |
|
75 | regsExplorer/regsviewer.cpp \ | |
76 | regsExplorer/regsexplorercfg.cpp \ |
|
76 | regsExplorer/regsexplorercfg.cpp \ | |
77 | aboutsocexplorer.cpp |
|
77 | aboutsocexplorer.cpp | |
78 |
|
78 | |||
79 | # regWidget/xmltagtextedit.cpp \ |
|
79 | # regWidget/xmltagtextedit.cpp \ | |
80 | # regWidget/xmltaglabeledit.cpp \ |
|
80 | # regWidget/xmltaglabeledit.cpp \ | |
81 | # regWidget/xmlelementslistwidget.cpp \ |
|
81 | # regWidget/xmlelementslistwidget.cpp \ | |
82 | # regWidget/xmlelementslistview.cpp \ |
|
82 | # regWidget/xmlelementslistview.cpp \ | |
83 | # regWidget/regpropeditor.cpp \ |
|
83 | # regWidget/regpropeditor.cpp \ | |
84 | # regWidget/registerwdgt.cpp \ |
|
84 | # regWidget/registerwdgt.cpp \ | |
85 | # regWidget/registereditor.cpp \ |
|
85 | # regWidget/registereditor.cpp \ | |
86 | # regWidget/registercel.cpp \ |
|
86 | # regWidget/registercel.cpp \ | |
87 | # regWidget/periphpropeditor.cpp \ |
|
87 | # regWidget/periphpropeditor.cpp \ | |
88 | # regWidget/peripherialregs.cpp \ |
|
88 | # regWidget/peripherialregs.cpp \ | |
89 | # regWidget/bitfieldpropeditor.cpp \ |
|
89 | # regWidget/bitfieldpropeditor.cpp \ | |
90 | # regWidget/bitfield.cpp |
|
90 | # regWidget/bitfield.cpp | |
91 |
|
91 | |||
92 |
|
92 | |||
93 | HEADERS += mainwindow.h \ |
|
93 | HEADERS += mainwindow.h \ | |
94 | PyWdgt/pythonconsole.h \ |
|
94 | PyWdgt/pythonconsole.h \ | |
95 | PyWdgt/pythonqtscriptingconsoledandd.h \ |
|
95 | PyWdgt/pythonqtscriptingconsoledandd.h \ | |
96 | dockablepluginmanager.h \ |
|
96 | dockablepluginmanager.h \ | |
97 | toolbar.h \ |
|
97 | toolbar.h \ | |
98 | toolbarcontainer.h \ |
|
98 | toolbarcontainer.h \ | |
99 | regsExplorer/regsexplorer.h \ |
|
99 | regsExplorer/regsexplorer.h \ | |
100 | regsExplorer/regsviewer.h \ |
|
100 | regsExplorer/regsviewer.h \ | |
101 | regsExplorer/regsexplorercfg.h \ |
|
101 | regsExplorer/regsexplorercfg.h \ | |
102 | socexplorer.h \ |
|
102 | socexplorer.h \ | |
103 | SocExplorerEngine/plugins/socexplorerplugin.h \ |
|
103 | SocExplorerEngine/plugins/socexplorerplugin.h \ | |
104 | aboutsocexplorer.h |
|
104 | aboutsocexplorer.h | |
105 | # regWidget/xmltagtextedit.h \ |
|
105 | # regWidget/xmltagtextedit.h \ | |
106 | # regWidget/xmltaglabeledit.h \ |
|
106 | # regWidget/xmltaglabeledit.h \ | |
107 | # regWidget/xmlelementslistwidget.h \ |
|
107 | # regWidget/xmlelementslistwidget.h \ | |
108 | # regWidget/xmlelementslistview.h \ |
|
108 | # regWidget/xmlelementslistview.h \ | |
109 | # regWidget/regpropeditor.h \ |
|
109 | # regWidget/regpropeditor.h \ | |
110 | # regWidget/registerwdgt.h \ |
|
110 | # regWidget/registerwdgt.h \ | |
111 | # regWidget/registereditor.h \ |
|
111 | # regWidget/registereditor.h \ | |
112 | # regWidget/registercel.h \ |
|
112 | # regWidget/registercel.h \ | |
113 | # regWidget/periphpropeditor.h \ |
|
113 | # regWidget/periphpropeditor.h \ | |
114 | # regWidget/peripherialregs.h \ |
|
114 | # regWidget/peripherialregs.h \ | |
115 | # regWidget/bitfieldpropeditor.h \ |
|
115 | # regWidget/bitfieldpropeditor.h \ | |
116 | # regWidget/bitfield.h |
|
116 | # regWidget/bitfield.h | |
117 |
|
117 | |||
118 |
|
118 | |||
119 | include ( NicePyConsole/NicePyConsole.pri) |
|
119 | include ( NicePyConsole/NicePyConsole.pri) | |
120 |
|
120 | |||
121 | win32{ |
|
121 | win32{ | |
122 | RESOURCES = ../ressources/SocExplorer.qrc |
|
122 | RESOURCES = ../ressources/SocExplorer.qrc | |
123 | } |
|
123 | } | |
124 |
|
124 | |||
125 | unix{ |
|
125 | unix{ | |
126 | RESOURCES = ../ressources/SocExplorer.qrc |
|
126 | RESOURCES = ../ressources/SocExplorer.qrc | |
127 | } |
|
127 | } | |
128 |
|
128 | |||
129 | TRANSLATIONS = ../translations/socexplorer_fr.ts \ |
|
129 | TRANSLATIONS = ../translations/socexplorer_fr.ts \ | |
130 | ../translations/socexplorer_en.ts |
|
130 | ../translations/socexplorer_en.ts | |
131 |
|
131 | |||
132 |
|
132 | |||
133 |
|
133 | |||
134 |
|
134 | |||
135 |
|
135 | |||
136 |
|
136 | |||
137 |
|
137 | |||
|
138 |
General Comments 0
You need to be logged in to leave comments.
Login now