init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
18
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/Makefile
vendored
Normal file
18
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/Makefile
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
include ../../../config.mak
|
||||
|
||||
ECHO = $(shell whereis -b echo | awk '{print $$2}')
|
||||
|
||||
.PHONY: all
|
||||
all: ed5.cpp ed5.h ed5.pro ed5a.cpp
|
||||
@ $(ECHO) -e "\x1b[1;33m** Compiling ed5...\x1b[0m"
|
||||
@ $(QT5_QMAKE_PATH) ed5.pro -o ed5.makefile && $(MAKE) -f ed5.makefile
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
-@ for FileName in ed5.makefile ed5a.o ed5.o ed5; \
|
||||
do \
|
||||
if [ -f "$$FileName" ]; then \
|
||||
$(ECHO) -e "\x1b[1;31m** "deleting $$FileName..."\x1b[0m"; \
|
||||
rm "$$FileName" ; \
|
||||
fi; \
|
||||
done
|
||||
10
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/ed5.cpp
vendored
Normal file
10
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/ed5.cpp
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <QApplication>
|
||||
#include "ed5.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
Window l;
|
||||
l.show();
|
||||
return a.exec();
|
||||
}
|
||||
9
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/ed5.h
vendored
Normal file
9
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/ed5.h
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <QWidget>
|
||||
|
||||
class QLineEdit;
|
||||
|
||||
class Window : public QWidget {
|
||||
public:
|
||||
Window();
|
||||
QLineEdit *edit2;
|
||||
};
|
||||
3
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/ed5.pro
vendored
Normal file
3
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/ed5.pro
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
HEADERS += ed5.h
|
||||
SOURCES += ed5.cpp ed5a.cpp
|
||||
QT += widgets
|
||||
10
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/ed5a.cpp
vendored
Normal file
10
Telegram/ThirdParty/hime/distro/dev-tools/qt5-test/ed5a.cpp
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <QtWidgets>
|
||||
#include "ed5.h"
|
||||
|
||||
Window::Window()
|
||||
{
|
||||
edit2 = new QLineEdit;
|
||||
QGridLayout *echoLayout = new QGridLayout;
|
||||
echoLayout->addWidget(edit2, 1, 0, 1, 2);
|
||||
setLayout(echoLayout);
|
||||
}
|
||||
Reference in New Issue
Block a user