Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kevin-home
committed
Sep 20, 2017
1 parent
fb2f15a
commit 2b30e2f
Showing
121 changed files
with
13,480 additions
and
1 deletion.
There are no files selected for viewing
Submodule LQFramKit
updated
from c2824b to fac9f1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
QMAKE_DEFAULT_INCDIRS = \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0/include-fixed \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/c++ \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32 \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/include/c++/backward | ||
QMAKE_DEFAULT_LIBDIRS = \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/lib/gcc/i686-w64-mingw32/5.3.0 \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/lib/gcc \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/i686-w64-mingw32/lib \ | ||
C:/Qt/Qt5.7.0/Tools/mingw530_32/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2017-09-16T19:30:55 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += core gui | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = LQSystemPathOP | ||
TEMPLATE = app | ||
|
||
DEFINES +=DEBUG_OUT | ||
|
||
win32{ | ||
CONFIG += debug_and_release | ||
CONFIG(release, debug|release) { | ||
target_path = build_/release | ||
TARGET = release/LQSystemPathOP | ||
} else { | ||
target_path = build_/debug | ||
TARGET = debug/LQSystemPathOP | ||
} | ||
DESTDIR = bin | ||
MOC_DIR = $$target_path/moc | ||
RCC_DIR = $$target_path/rcc | ||
UI_DIR = $$target_path/ui | ||
OBJECTS_DIR = $$target_path/obj | ||
} | ||
|
||
DEPENDPATH += bin | ||
|
||
SOURCES += main.cpp\ | ||
widget.cpp | ||
|
||
HEADERS += widget.h | ||
|
||
FORMS += widget.ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include "widget.h" | ||
#include <QApplication> | ||
|
||
int main(int argc, char *argv[]) | ||
{ | ||
QApplication a(argc, argv); | ||
Widget w; | ||
w.show(); | ||
|
||
return a.exec(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#include "widget.h" | ||
#include "ui_widget.h" | ||
|
||
#include <QProcess> | ||
|
||
#include <QDebug> | ||
|
||
Widget::Widget(QWidget *parent) : | ||
QWidget(parent), | ||
ui(new Ui::Widget) | ||
{ | ||
ui->setupUi(this); | ||
|
||
QStringList environment = QProcess::systemEnvironment (); | ||
QString str; | ||
foreach (str, environment) { | ||
//if (str.startsWith ("PATH=")) | ||
{ | ||
qDebug()<<str<<endl; | ||
//break; | ||
} | ||
} | ||
} | ||
|
||
Widget::~Widget() | ||
{ | ||
delete ui; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef WIDGET_H | ||
#define WIDGET_H | ||
|
||
#include <QWidget> | ||
|
||
namespace Ui { | ||
class Widget; | ||
} | ||
|
||
class Widget : public QWidget | ||
{ | ||
Q_OBJECT | ||
|
||
public: | ||
explicit Widget(QWidget *parent = 0); | ||
~Widget(); | ||
|
||
private: | ||
Ui::Widget *ui; | ||
}; | ||
|
||
#endif // WIDGET_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<ui version="4.0"> | ||
<class>Widget</class> | ||
<widget class="QWidget" name="Widget" > | ||
<property name="geometry" > | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>400</width> | ||
<height>300</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle" > | ||
<string>Widget</string> | ||
</property> | ||
</widget> | ||
<layoutDefault spacing="6" margin="11" /> | ||
<pixmapfunction></pixmapfunction> | ||
<resources/> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2017-09-20T19:40:30 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += core | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = PythonQtDemo | ||
TEMPLATE = app | ||
|
||
CONFIG += console | ||
CONFIG -=app_bundle | ||
|
||
win32{ | ||
CONFIG += debug_and_release | ||
CONFIG(release, debug|release) { | ||
target_path = build_/release | ||
TARGET = /release/PythonQtDemo | ||
} else { | ||
target_path = build_/debug | ||
TARGET = /debug/PythonQtDemo | ||
} | ||
DESTDIR = bin | ||
MOC_DIR = $$target_path/moc | ||
RCC_DIR = $$target_path/rcc | ||
UI_DIR = $$target_path/ui | ||
OBJECTS_DIR = $$target_path/obj | ||
} | ||
|
||
DEPENDPATH += bin | ||
|
||
|
||
INCLUDEPATH += $$PWD/include | ||
|
||
LIBS += -L$$PWD/libs/ -lpython27 | ||
|
||
SOURCES += main.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
def helloworld(): | ||
print("hello world!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
def helloworld(): | ||
print("hello world!") |
Oops, something went wrong.