mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-19 18:45:57 +00:00
parent
0310c733d5
commit
5af4552511
@ -5,15 +5,6 @@ content: $(MIRROR_FROM_REP_DIR) LICENSE
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
MIRROR_FROM_LIBPORTS := src/app/qt5/tmpl/target_defaults.inc \
|
||||
src/app/qt5/tmpl/target_final.inc
|
||||
|
||||
content: $(MIRROR_FROM_LIBPORTS)
|
||||
|
||||
$(MIRROR_FROM_LIBPORTS):
|
||||
mkdir -p $(dir $@)
|
||||
cp -r $(GENODE_DIR)/repos/libports/$@ $(dir $@)
|
||||
|
||||
MIRROR_FROM_OS := include/mixer
|
||||
|
||||
content: $(MIRROR_FROM_OS)
|
||||
|
@ -1,12 +1,10 @@
|
||||
base
|
||||
libc
|
||||
mesa
|
||||
os
|
||||
qoost
|
||||
qt5_core
|
||||
qt5_gui
|
||||
qt5_qjpeg
|
||||
qt5_qpa_genode
|
||||
qt5_widgets
|
||||
qt5
|
||||
qt5_component
|
||||
report_session
|
||||
stdcxx
|
||||
vfs
|
||||
|
@ -5,14 +5,5 @@ content: $(MIRROR_FROM_REP_DIR) LICENSE
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
MIRROR_FROM_LIBPORTS := src/app/qt5/tmpl/target_defaults.inc \
|
||||
src/app/qt5/tmpl/target_final.inc
|
||||
|
||||
content: $(MIRROR_FROM_LIBPORTS)
|
||||
|
||||
$(MIRROR_FROM_LIBPORTS):
|
||||
mkdir -p $(dir $@)
|
||||
cp -r $(GENODE_DIR)/repos/libports/$@ $(dir $@)
|
||||
|
||||
LICENSE:
|
||||
cp $(GENODE_DIR)/LICENSE $@
|
||||
|
@ -1,12 +1,10 @@
|
||||
base
|
||||
libc
|
||||
mesa
|
||||
os
|
||||
qoost
|
||||
qt5_core
|
||||
qt5_gui
|
||||
qt5_qjpeg
|
||||
qt5_qpa_genode
|
||||
qt5_widgets
|
||||
qt5
|
||||
qt5_component
|
||||
report_session
|
||||
stdcxx
|
||||
timer_session
|
||||
|
@ -1,16 +1,7 @@
|
||||
source ${genode_dir}/repos/libports/run/qt5_common.inc
|
||||
|
||||
import_from_depot [depot_user]/src/dynamic_rom \
|
||||
[depot_user]/src/mixer_gui_qt \
|
||||
[depot_user]/src/qt5_widgets
|
||||
|
||||
#
|
||||
# Build
|
||||
#
|
||||
|
||||
append build_components [qt5_build_components feature]
|
||||
|
||||
build $build_components
|
||||
[depot_user]/src/mixer_gui_qt
|
||||
|
||||
#
|
||||
# Generate config
|
||||
@ -19,7 +10,7 @@ build $build_components
|
||||
append config {
|
||||
<config>
|
||||
<parent-provides>}
|
||||
append config [qt5_parent_provides feature]
|
||||
append config [qt5_parent_provides]
|
||||
append config {
|
||||
</parent-provides>
|
||||
<default caps="100"/>
|
||||
@ -27,7 +18,7 @@ append config {
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
</default-route>}
|
||||
|
||||
append config [qt5_start_nodes feature]
|
||||
append config [qt5_start_nodes]
|
||||
|
||||
append config {
|
||||
<start name="dynamic_rom">
|
||||
@ -75,6 +66,7 @@ append config {
|
||||
<inline name="rtc">2018-01-01 00:01</inline>
|
||||
</dir>
|
||||
<tar name="qt5_dejavusans.tar"/>
|
||||
<tar name="qt5_libqgenode.tar"/>
|
||||
</vfs>
|
||||
<libc stdout="/dev/log" stderr="/dev/log" pipe="/dev/pipe" rtc="/dev/rtc"/>
|
||||
</config>
|
||||
@ -94,7 +86,7 @@ install_config $config
|
||||
# Boot modules
|
||||
#
|
||||
|
||||
append boot_modules [qt5_boot_modules feature]
|
||||
append boot_modules [qt5_boot_modules]
|
||||
|
||||
build_boot_image $boot_modules
|
||||
|
||||
|
@ -1,9 +1,7 @@
|
||||
source ${genode_dir}/repos/libports/run/qt5_common.inc
|
||||
|
||||
import_from_depot [depot_user]/src/qt5_component \
|
||||
[depot_user]/src/qt5_printsupport \
|
||||
[depot_user]/src/qt5_textedit \
|
||||
[depot_user]/src/qt5_widgets \
|
||||
[depot_user]/src/dynamic_rom \
|
||||
[depot_user]/src/test-tiled_wm
|
||||
|
||||
@ -43,12 +41,12 @@ proc qt5_decorator_config { } {
|
||||
|
||||
append config {
|
||||
<config>
|
||||
<parent-provides>} [qt5_parent_provides feature] {
|
||||
<parent-provides>} [qt5_parent_provides] {
|
||||
</parent-provides>
|
||||
<default caps="100"/>
|
||||
<default-route>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
</default-route>} [qt5_start_nodes feature] {
|
||||
</default-route>} [qt5_start_nodes] {
|
||||
|
||||
<start name="test_reports">
|
||||
<binary name="report_rom"/>
|
||||
@ -120,6 +118,7 @@ append config {
|
||||
</dir>
|
||||
<dir name="fs"> <ram/> </dir>
|
||||
<tar name="qt5_dejavusans.tar"/>
|
||||
<tar name="qt5_libqgenode.tar"/>
|
||||
</vfs>
|
||||
</config>
|
||||
<route>
|
||||
@ -145,6 +144,7 @@ append config {
|
||||
</dir>
|
||||
<dir name="fs"> <ram/> </dir>
|
||||
<tar name="qt5_dejavusans.tar"/>
|
||||
<tar name="qt5_libqgenode.tar"/>
|
||||
</vfs>
|
||||
</config>
|
||||
<route>
|
||||
@ -167,6 +167,7 @@ append config {
|
||||
</dir>
|
||||
<dir name="fs"> <ram/> </dir>
|
||||
<tar name="qt5_dejavusans.tar"/>
|
||||
<tar name="qt5_libqgenode.tar"/>
|
||||
</vfs>
|
||||
</config>
|
||||
<route>
|
||||
@ -189,6 +190,7 @@ append config {
|
||||
</dir>
|
||||
<dir name="fs"> <ram/> </dir>
|
||||
<tar name="qt5_dejavusans.tar"/>
|
||||
<tar name="qt5_libqgenode.tar"/>
|
||||
</vfs>
|
||||
</config>
|
||||
<route>
|
||||
@ -210,6 +212,7 @@ append config {
|
||||
</dir>
|
||||
<dir name="fs"> <ram/> </dir>
|
||||
<tar name="qt5_dejavusans.tar"/>
|
||||
<tar name="qt5_libqgenode.tar"/>
|
||||
</vfs>
|
||||
</config>
|
||||
<route>
|
||||
@ -224,14 +227,11 @@ append config {
|
||||
|
||||
install_config $config
|
||||
|
||||
append build_components [qt5_build_components feature]
|
||||
|
||||
# for debugging only
|
||||
#append build_components { app/window_layouter app/themed_decorator }
|
||||
#build $build_components
|
||||
|
||||
build $build_components
|
||||
|
||||
append boot_modules [qt5_boot_modules feature]
|
||||
append boot_modules [qt5_boot_modules]
|
||||
|
||||
# for debugging only
|
||||
#append boot_modules { window_layouter themed_decorator }
|
||||
|
@ -4,6 +4,13 @@
|
||||
* \date 2015-10-15
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2015-2020 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU Affero General Public License version 3.
|
||||
*/
|
||||
|
||||
/* Genode includes */
|
||||
#include <base/log.h>
|
||||
#include <base/thread.h>
|
||||
@ -15,6 +22,9 @@
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
|
||||
/* qt5_component includes */
|
||||
#include <qt5_component/qpa_init.h>
|
||||
|
||||
/* application includes */
|
||||
#include "main_window.h"
|
||||
|
||||
@ -89,13 +99,11 @@ static inline void load_stylesheet()
|
||||
}
|
||||
|
||||
|
||||
extern void initialize_qt_gui(Genode::Env &);
|
||||
|
||||
void Libc::Component::construct(Libc::Env &env)
|
||||
{
|
||||
Libc::with_libc([&] {
|
||||
|
||||
initialize_qt_gui(env);
|
||||
qpa_init(env);
|
||||
|
||||
int argc = 1;
|
||||
char const *argv[] = { "mixer_gui_qt", 0 };
|
||||
|
@ -1,9 +1,14 @@
|
||||
include $(call select_from_repositories,src/app/qt5/tmpl/target_defaults.inc)
|
||||
QMAKE_PROJECT_FILE = $(PRG_DIR)/mixer_gui_qt.pro
|
||||
|
||||
include $(call select_from_repositories,src/app/qt5/tmpl/target_final.inc)
|
||||
QMAKE_TARGET_BINARIES = mixer_gui_qt
|
||||
|
||||
main_window.o: main_window.moc
|
||||
QT5_PORT_LIBS = libQt5Core libQt5Gui libQt5Widgets
|
||||
|
||||
LIBS += qoost qt5_gui qt5_widgets qt5_core libc base
|
||||
LIBS = base libc libm mesa stdcxx qoost $(QT5_PORT_LIBS)
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qmake.mk)
|
||||
|
||||
QT5_GENODE_LIBS_APP += ld.lib.so
|
||||
QT5_GENODE_LIBS_APP := $(filter-out qt5_component.lib.so,$(QT5_GENODE_LIBS_APP))
|
||||
|
||||
qmake_prepared.tag: qmake_root/lib/ld.lib.so
|
||||
|
@ -1,3 +1,4 @@
|
||||
include $(PRG_DIR)/../target.inc
|
||||
QMAKE_PROJECT_FILE = $(PRG_DIR)/app.pro
|
||||
QMAKE_TARGET_BINARIES = test-tiled_wm-app
|
||||
|
||||
LIBS += base
|
||||
include $(PRG_DIR)/../target.inc
|
||||
|
@ -1,3 +1,4 @@
|
||||
include $(PRG_DIR)/../target.inc
|
||||
QMAKE_PROJECT_FILE = $(PRG_DIR)/overlay.pro
|
||||
QMAKE_TARGET_BINARIES = test-tiled_wm-overlay
|
||||
|
||||
LIBS += base
|
||||
include $(PRG_DIR)/../target.inc
|
||||
|
@ -1,5 +1,6 @@
|
||||
QMAKE_PROJECT_FILE = $(PRG_DIR)/panel.pro
|
||||
QMAKE_TARGET_BINARIES = test-tiled_wm-panel
|
||||
|
||||
qmake_prepared.tag: icon.h
|
||||
|
||||
include $(PRG_DIR)/../target.inc
|
||||
|
||||
LIBS += base
|
||||
|
||||
panel.o main.o: icon.h
|
||||
|
@ -1,13 +1,16 @@
|
||||
include $(call select_from_repositories,src/app/qt5/tmpl/target_defaults.inc)
|
||||
QT5_PORT_LIBS = libQt5Core libQt5Gui libQt5Widgets
|
||||
|
||||
include $(call select_from_repositories,src/app/qt5/tmpl/target_final.inc)
|
||||
LIBS = base libc libm mesa stdcxx qoost $(QT5_PORT_LIBS)
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qmake.mk)
|
||||
|
||||
QT5_GENODE_LIBS_APP += ld.lib.so
|
||||
QT5_GENODE_LIBS_APP := $(filter-out qt5_component.lib.so,$(QT5_GENODE_LIBS_APP))
|
||||
|
||||
qmake_prepared.tag: qmake_root/lib/ld.lib.so
|
||||
|
||||
INC_DIR += $(PRG_DIR)/..
|
||||
|
||||
LIBS += qoost
|
||||
|
||||
#
|
||||
# We need Qt headers in a local directory for MOC to work correctly
|
||||
#
|
||||
@ -22,4 +25,3 @@ endif
|
||||
|
||||
icon.h: $(ICON_H)
|
||||
$(VERBOSE)cp $(ICON_H) .
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2018 Genode Labs GmbH
|
||||
* Copyright (C) 2018-2020 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU Affero General Public License version 3.
|
||||
@ -33,6 +33,8 @@
|
||||
/* Libc includes */
|
||||
#include <libc/component.h>
|
||||
|
||||
/* qt5_component includes */
|
||||
#include <qt5_component/qpa_init.h>
|
||||
|
||||
typedef Genode::String<32> Name;
|
||||
|
||||
@ -75,11 +77,9 @@ class Genode_signal_proxy : public QObject,
|
||||
* Qt initialization
|
||||
*/
|
||||
|
||||
extern void initialize_qt_gui(Genode::Env &);
|
||||
|
||||
static inline QApplication & qt5_initialization(Libc::Env &env)
|
||||
{
|
||||
initialize_qt_gui(env);
|
||||
qpa_init(env);
|
||||
|
||||
char const *argv[] = { "qt5_app", 0 };
|
||||
int argc = sizeof(argv)/sizeof(*argv);
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2010-2017 Genode Labs GmbH
|
||||
* Copyright (C) 2010-2020 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU Affero General Public License version 3.
|
||||
@ -15,9 +15,6 @@
|
||||
#define QGENODEVIEWWIDGET_H
|
||||
|
||||
#include <QtWidgets>
|
||||
#if 0
|
||||
#include <qwindowsystem_qws.h>
|
||||
#endif
|
||||
|
||||
#include <gui_session/client.h>
|
||||
|
||||
@ -86,4 +83,31 @@ public:
|
||||
int buf_x, int buf_y, int w, int h);
|
||||
};
|
||||
|
||||
class QGenodeViewWidgetInterface
|
||||
{
|
||||
public:
|
||||
virtual QWidget *createWidget(QWidget *parent = 0) = 0;
|
||||
};
|
||||
|
||||
|
||||
Q_DECLARE_INTERFACE(QGenodeViewWidgetInterface, "org.genode.QGenodeViewWidgetInterface")
|
||||
|
||||
|
||||
class QGenodeViewWidgetPlugin : public QObject, public QGenodeViewWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.genode.QGenodeViewWidgetInterface" FILE "qgenodeviewwidget.json")
|
||||
Q_INTERFACES(QGenodeViewWidgetInterface)
|
||||
|
||||
public:
|
||||
|
||||
explicit QGenodeViewWidgetPlugin(QObject *parent = 0) : QObject(parent) { }
|
||||
|
||||
QWidget *createWidget(QWidget *parent = 0)
|
||||
{
|
||||
return new QGenodeViewWidget(parent);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // QGENODEVIEWWIDGET_H
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2010-2017 Genode Labs GmbH
|
||||
* Copyright (C) 2010-2020 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU Affero General Public License version 3.
|
||||
@ -133,4 +133,37 @@ class QPluginWidget : public QEmbeddedViewWidget
|
||||
static void env(Libc::Env &env) { _env = &env; }
|
||||
};
|
||||
|
||||
|
||||
class QPluginWidgetInterface
|
||||
{
|
||||
public:
|
||||
virtual void env(Libc::Env &env) = 0;
|
||||
virtual QWidget *createWidget(QWidget *parent, QUrl plugin_url, QString &args,
|
||||
int max_width = -1, int max_height = -1) = 0;
|
||||
};
|
||||
|
||||
|
||||
Q_DECLARE_INTERFACE(QPluginWidgetInterface, "org.genode.QPluginWidgetInterface")
|
||||
|
||||
|
||||
class QPluginWidgetPlugin : public QObject, public QPluginWidgetInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.genode.QPluginWidgetInterface" FILE "qpluginwidget.json")
|
||||
Q_INTERFACES(QPluginWidgetInterface)
|
||||
|
||||
public:
|
||||
|
||||
explicit QPluginWidgetPlugin(QObject *parent = 0) : QObject(parent) { }
|
||||
|
||||
void env(Libc::Env &env) { QPluginWidget::env(env); }
|
||||
|
||||
QWidget *createWidget(QWidget *parent, QUrl plugin_url, QString &args,
|
||||
int max_width = -1, int max_height = -1)
|
||||
{
|
||||
return new QPluginWidget(parent, plugin_url, args, max_width, max_height);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // QPLUGINWIDGET_H
|
@ -1,214 +0,0 @@
|
||||
/*
|
||||
* \brief QGenodePlatformWindow
|
||||
* \author Christian Prochaska
|
||||
* \author Christian Helmuth
|
||||
* \date 2013-05-08
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2013-2019 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU Affero General Public License version 3.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _QGENODEPLATFORMWINDOW_H_
|
||||
#define _QGENODEPLATFORMWINDOW_H_
|
||||
|
||||
/* Genode includes */
|
||||
#include <input/event.h>
|
||||
#include <gui_session/connection.h>
|
||||
|
||||
/* EGL includes */
|
||||
#include <EGL/egl.h>
|
||||
|
||||
/* Qt includes */
|
||||
#include <qpa/qplatformwindow.h>
|
||||
#include <qpa/qwindowsysteminterface.h>
|
||||
#include <qtouchdevice.h>
|
||||
|
||||
/* Qoost includes */
|
||||
#include <qoost/qmember.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QGenodePlatformWindow : public QObject, public QPlatformWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
|
||||
Genode::Env &_env;
|
||||
QString _gui_session_label;
|
||||
static QStringList _gui_session_label_list;
|
||||
Gui::Connection _gui_session;
|
||||
Framebuffer::Session_client _framebuffer_session;
|
||||
unsigned char *_framebuffer;
|
||||
bool _framebuffer_changed;
|
||||
bool _geometry_changed;
|
||||
Framebuffer::Mode _current_mode;
|
||||
Gui::Session::View_handle _view_handle;
|
||||
Input::Session_client _input_session;
|
||||
Genode::Attached_dataspace _ev_buf;
|
||||
QPoint _mouse_position;
|
||||
Qt::KeyboardModifiers _keyboard_modifiers;
|
||||
Qt::MouseButtons _mouse_button_state;
|
||||
QByteArray _title;
|
||||
bool _resize_handle;
|
||||
bool _decoration;
|
||||
EGLSurface _egl_surface;
|
||||
|
||||
QPoint _local_position() const
|
||||
{
|
||||
return QPoint(_mouse_position.x() - geometry().x(),
|
||||
_mouse_position.y() - geometry().y());
|
||||
}
|
||||
|
||||
|
||||
typedef Genode::Codepoint Codepoint;
|
||||
|
||||
struct Mapped_key
|
||||
{
|
||||
enum Event { PRESSED, RELEASED, REPEAT };
|
||||
|
||||
Qt::Key key { Qt::Key_unknown };
|
||||
Codepoint codepoint { Codepoint::INVALID };
|
||||
};
|
||||
|
||||
QHash<Input::Keycode, Qt::Key> _pressed;
|
||||
|
||||
Mapped_key _map_key(Input::Keycode, Codepoint, Mapped_key::Event);
|
||||
void _key_event(Input::Keycode, Codepoint, Mapped_key::Event);
|
||||
void _mouse_button_event(Input::Keycode, bool press);
|
||||
|
||||
Genode::Io_signal_handler<QGenodePlatformWindow> _input_signal_handler;
|
||||
Genode::Io_signal_handler<QGenodePlatformWindow> _mode_changed_signal_handler;
|
||||
|
||||
QVector<QWindowSystemInterface::TouchPoint> _touch_points { 16 };
|
||||
QTouchDevice *_touch_device;
|
||||
QTouchDevice * _init_touch_device();
|
||||
|
||||
void _process_touch_events(QList<Input::Event> const &events);
|
||||
|
||||
Gui::Session::View_handle _create_view();
|
||||
void _adjust_and_set_geometry(const QRect &rect);
|
||||
|
||||
QString _sanitize_label(QString label);
|
||||
|
||||
/*
|
||||
* Genode signals are handled as Qt signals to avoid blocking in the
|
||||
* Genode signal handler, which could cause nested signal handler
|
||||
* execution.
|
||||
*/
|
||||
|
||||
private Q_SLOTS:
|
||||
|
||||
void _handle_input();
|
||||
void _handle_mode_changed();
|
||||
|
||||
Q_SIGNALS:
|
||||
|
||||
void _input();
|
||||
void _mode_changed();
|
||||
|
||||
public:
|
||||
|
||||
QGenodePlatformWindow(Genode::Env &env, QWindow *window,
|
||||
int screen_width, int screen_height);
|
||||
|
||||
~QGenodePlatformWindow();
|
||||
|
||||
QSurfaceFormat format() const override;
|
||||
|
||||
void setGeometry(const QRect &rect) override;
|
||||
|
||||
QRect geometry() const override;
|
||||
|
||||
QMargins frameMargins() const override;
|
||||
|
||||
void setVisible(bool visible) override;
|
||||
|
||||
void setWindowFlags(Qt::WindowFlags flags) override;
|
||||
|
||||
void setWindowState(Qt::WindowStates state) override;
|
||||
|
||||
WId winId() const override;
|
||||
|
||||
void setParent(const QPlatformWindow *window) override;
|
||||
|
||||
void setWindowTitle(const QString &title) override;
|
||||
|
||||
void setWindowFilePath(const QString &title) override;
|
||||
|
||||
void setWindowIcon(const QIcon &icon) override;
|
||||
|
||||
void raise() override;
|
||||
|
||||
void lower() override;
|
||||
|
||||
bool isExposed() const override;
|
||||
|
||||
bool isActive() const override;
|
||||
|
||||
bool isEmbedded() const override;
|
||||
|
||||
QPoint mapToGlobal(const QPoint &pos) const override;
|
||||
|
||||
QPoint mapFromGlobal(const QPoint &pos) const override;
|
||||
|
||||
void propagateSizeHints() override;
|
||||
|
||||
void setOpacity(qreal level) override;
|
||||
|
||||
void setMask(const QRegion ®ion) override;
|
||||
|
||||
void requestActivateWindow() override;
|
||||
|
||||
void handleContentOrientationChange(Qt::ScreenOrientation orientation) override;
|
||||
|
||||
qreal devicePixelRatio() const override;
|
||||
|
||||
bool setKeyboardGrabEnabled(bool grab) override;
|
||||
|
||||
bool setMouseGrabEnabled(bool grab) override;
|
||||
|
||||
bool setWindowModified(bool modified) override;
|
||||
|
||||
bool windowEvent(QEvent *event) override;
|
||||
|
||||
bool startSystemResize(const QPoint &pos, Qt::Corner corner) override;
|
||||
|
||||
void setFrameStrutEventsEnabled(bool enabled) override;
|
||||
|
||||
bool frameStrutEventsEnabled() const override;
|
||||
|
||||
|
||||
/* for QGenodeWindowSurface */
|
||||
|
||||
unsigned char *framebuffer();
|
||||
|
||||
void refresh(int x, int y, int w, int h);
|
||||
|
||||
|
||||
/* for QGenodeGLContext */
|
||||
|
||||
EGLSurface egl_surface() const;
|
||||
|
||||
void egl_surface(EGLSurface egl_surface);
|
||||
|
||||
|
||||
/* for QGenodeViewWidget */
|
||||
|
||||
Gui::Session_client &gui_session();
|
||||
Gui::View_capability view_cap() const;
|
||||
|
||||
signals:
|
||||
|
||||
void framebuffer_changed();
|
||||
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif /* _QGENODEPLATFORMWINDOW_H_ */
|
59
repos/libports/include/qt5_component/qpa_init.h
Normal file
59
repos/libports/include/qt5_component/qpa_init.h
Normal file
@ -0,0 +1,59 @@
|
||||
/*
|
||||
* \brief QPA plugin initialization
|
||||
* \author Christian Prochaska
|
||||
* \date 2020-06-28
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2020 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU Affero General Public License version 3.
|
||||
*/
|
||||
|
||||
#ifndef _INCLUDE__QPA_INIT_H_
|
||||
#define _INCLUDE__QPA_INIT_H_
|
||||
|
||||
/* Genode includes */
|
||||
#include <base/env.h>
|
||||
|
||||
/* libc includes */
|
||||
#include <dlfcn.h> /* 'dlopen' */
|
||||
#include <stdio.h> /* 'fprintf' */
|
||||
#include <unistd.h> /* 'access' */
|
||||
|
||||
/**
|
||||
* Initialize the QPA plugin
|
||||
*
|
||||
* When Qt loads the plugin again, it will get the same handle.
|
||||
*/
|
||||
static inline void qpa_init(Genode::Env &env)
|
||||
{
|
||||
char const *qpa_plugin = "/qt/plugins/platforms/libqgenode.lib.so";
|
||||
|
||||
void *qpa_plugin_handle = nullptr;
|
||||
|
||||
/* check existence with 'access()' first to avoid ld error messages */
|
||||
if (access(qpa_plugin, F_OK) == 0)
|
||||
qpa_plugin_handle = dlopen(qpa_plugin, RTLD_LAZY);
|
||||
|
||||
if (qpa_plugin_handle) {
|
||||
|
||||
typedef void (*initialize_qpa_plugin_t)(Genode::Env &);
|
||||
|
||||
initialize_qpa_plugin_t initialize_qpa_plugin =
|
||||
(initialize_qpa_plugin_t) dlsym(qpa_plugin_handle,
|
||||
"initialize_qpa_plugin");
|
||||
|
||||
if (!initialize_qpa_plugin) {
|
||||
fprintf(stderr, "Could not find 'initialize_qpa_plugin' \
|
||||
function in QPA plugin\n");
|
||||
dlclose(qpa_plugin_handle);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
initialize_qpa_plugin(env);
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* _INCLUDE__QPA_INIT_H_ */
|
@ -1,94 +0,0 @@
|
||||
# prevent import file to be included twice, for example via import-qt5_gui.mk
|
||||
# and import-qt5_core.mk
|
||||
|
||||
ifeq ($(QT5_IMPORTED),)
|
||||
QT5_IMPORTED = true
|
||||
|
||||
# hook for selectively skipping qt5 builds by the buildbot
|
||||
ifneq ($(INHIBIT_QT5),)
|
||||
REQUIRES += removal_of_INHIBIT_QT5_env_var
|
||||
endif
|
||||
|
||||
QT_VERSION := 5.13.0
|
||||
|
||||
# identify the qt5 repository by searching for a file that is unique for qt5
|
||||
QT5_REP_DIR := $(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
QT5_REP_DIR := $(realpath $(dir $(QT5_REP_DIR))../..)
|
||||
|
||||
QT5_PORT_DIR := $(call select_from_ports,qt5)
|
||||
QT5_CONTRIB_DIR := $(QT5_PORT_DIR)/src/lib/qt5/qt5
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_INC_DIR += $(call select_from_repositories,src/lib/qt5/qt5/qtbase/mkspecs/genode-g++)
|
||||
else
|
||||
QT5_INC_DIR += $(QT5_PORT_DIR)/include \
|
||||
$(QT5_CONTRIB_DIR)/qtbase/mkspecs/genode-g++ \
|
||||
$(QT5_REP_DIR)/include/qt5
|
||||
endif
|
||||
|
||||
INC_DIR += $(QT5_INC_DIR)
|
||||
|
||||
# extracted from qt.prf
|
||||
QT_DEFINES += -DQT_STATICPLUGIN
|
||||
|
||||
QT_DEFINES += -D__GENODE__
|
||||
|
||||
CC_OPT += $(QT_DEFINES)
|
||||
|
||||
# handle moc-headers, resources and ui descriptions
|
||||
|
||||
#
|
||||
# Locations of moc, rcc, and uic binaries
|
||||
#
|
||||
QT5_HOST_TOOL_INSTALL_LOCATION ?= /usr/local/genode/qt5/19.08
|
||||
MOC = $(QT5_HOST_TOOL_INSTALL_LOCATION)/bin/moc
|
||||
RCC = $(QT5_HOST_TOOL_INSTALL_LOCATION)/bin/rcc
|
||||
UIC = $(QT5_HOST_TOOL_INSTALL_LOCATION)/bin/uic
|
||||
|
||||
$(MOC) $(RCC) $(UIC):
|
||||
$(error Error: could not find '$@'. The Qt5 host tools can be installed with the '<GENODE_DIR>/tool/tool_chain_qt5' script)
|
||||
|
||||
# moc rules
|
||||
moc_%.cpp: %.h $(MOC)
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE) $(MOC) $(QT_DEFINES) $(addprefix -I,$(QT5_INC_DIR)) $< -o $@
|
||||
|
||||
%.moc: %.cpp $(MOC)
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE) $(MOC) $(QT_DEFINES) $(addprefix -I,$(QT5_INC_DIR)) $< -o $@
|
||||
|
||||
# rcc rule
|
||||
qrc_%.cpp: %.qrc $(RCC)
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE) $(RCC) -name $(basename $(notdir $<)) $< -o $@
|
||||
|
||||
# uic rule
|
||||
ui_%.h: %.ui $(UIC)
|
||||
$(MSG_CONVERT)$@
|
||||
$(VERBOSE) $(UIC) $< -o $@
|
||||
|
||||
# add include dirs for QT5-specific genode addons
|
||||
INC_DIR += $(QT5_REP_DIR)/include/qt5/genode
|
||||
|
||||
#
|
||||
# add C++ include dirs and libs
|
||||
#
|
||||
# We cannot just extend the 'LIBS' variable here because 'import-*.mk' are
|
||||
# included (in 'base/mk/lib.mk') by iterating through the elements of the
|
||||
# 'LIBS' variable. Hence, we also need to manually import the stdcxx snippet.
|
||||
#
|
||||
LIBS += stdcxx
|
||||
include $(call select_from_repositories,lib/import/import-stdcxx.mk)
|
||||
|
||||
# set QT_ARCH definition according to the SPECS variable
|
||||
ifneq ($(filter x86_32,$(SPECS)),)
|
||||
QT_DEFINES += -DQT_ARCH_I386
|
||||
endif
|
||||
ifneq ($(filter x86_64,$(SPECS)),)
|
||||
QT_DEFINES += -DQT_ARCH_X86_64
|
||||
endif
|
||||
ifneq ($(filter arm,$(SPECS)),)
|
||||
QT_DEFINES += -DQT_ARCH_ARMV6
|
||||
endif
|
||||
|
||||
endif
|
@ -1,3 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_CORE_INC_DIR := $(realpath $(call select_from_repositories,include/QtCore)/..)
|
||||
else
|
||||
QT5_CORE_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_CORE_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_CORE_INC_DIR)/QtCore
|
||||
QT5_INC_DIR += $(QT5_CORE_INC_DIR)/QtCore/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_CORE_INC_DIR)/QtCore/$(QT_VERSION)/QtCore
|
||||
QT5_INC_DIR += $(QT5_CORE_INC_DIR)/QtCore/$(QT_VERSION)/QtCore/private
|
@ -1,24 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
#
|
||||
# Public QtGui headers include OpenGL headers
|
||||
#
|
||||
# We cannot just extend the 'LIBS' variable here because 'import-*.mk' are
|
||||
# included (in 'base/mk/lib.mk') by iterating through the elements of the
|
||||
# 'LIBS' variable. Hence, we need to manually import the mesa snippet.
|
||||
#
|
||||
include $(call select_from_repositories,lib/import/import-mesa_api.mk)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_GUI_INC_DIR := $(realpath $(call select_from_repositories,include/QtGui)/..)
|
||||
else
|
||||
QT5_GUI_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_GUI_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_GUI_INC_DIR)/QtGui
|
||||
QT5_INC_DIR += $(QT5_GUI_INC_DIR)/QtGui/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_GUI_INC_DIR)/QtGui/$(QT_VERSION)/QtGui
|
||||
QT5_INC_DIR += $(QT5_GUI_INC_DIR)/QtGui/$(QT_VERSION)/QtGui/private
|
@ -1,3 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_NETWORK_INC_DIR := $(realpath $(call select_from_repositories,include/QtNetwork)/..)
|
||||
else
|
||||
QT5_NETWORK_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_NETWORK_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_NETWORK_INC_DIR)/QtNetwork
|
||||
QT5_INC_DIR += $(QT5_NETWORK_INC_DIR)/QtNetwork/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_NETWORK_INC_DIR)/QtNetwork/$(QT_VERSION)/QtNetwork
|
||||
QT5_INC_DIR += $(QT5_NETWORK_INC_DIR)/QtNetwork/$(QT_VERSION)/QtNetwork/private
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_OPENGL_INC_DIR := $(realpath $(call select_from_repositories,include/QtOpenGL)/..)
|
||||
else
|
||||
QT5_OPENGL_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_OPENGL_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_OPENGL_INC_DIR)/QtOpenGL
|
||||
QT5_INC_DIR += $(QT5_OPENGL_INC_DIR)/QtOpenGL/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_OPENGL_INC_DIR)/QtOpenGL/$(QT_VERSION)/QtOpenGL
|
||||
QT5_INC_DIR += $(QT5_OPENGL_INC_DIR)/QtOpenGL/$(QT_VERSION)/QtOpenGL/private
|
@ -1,3 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
@ -1,17 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_PRINTSUPPORT_INC_DIR := $(realpath $(call select_from_repositories,include/QtPrintSupport)/..)
|
||||
else
|
||||
QT5_PRINTSUPPORT_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_PRINTSUPPORT_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_PRINTSUPPORT_INC_DIR)/QtPrintSupport
|
||||
QT5_INC_DIR += $(QT5_PRINTSUPPORT_INC_DIR)/QtPrintSupport/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_PRINTSUPPORT_INC_DIR)/QtPrintSupport/$(QT_VERSION)/QtPrintSupport
|
||||
QT5_INC_DIR += $(QT5_PRINTSUPPORT_INC_DIR)/QtPrintSupport/$(QT_VERSION)/QtPrintSupport/private
|
||||
|
||||
CC_CXX_OPT += -DQT_PRINTSUPPORT_LIB
|
@ -1 +0,0 @@
|
||||
QT5_INC_DIR += $(realpath $(call select_from_repositories,include/qt5/qgenodeviewwidget)/..)
|
@ -1,3 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
212
repos/libports/lib/import/import-qt5_qmake.mk
Normal file
212
repos/libports/lib/import/import-qt5_qmake.mk
Normal file
@ -0,0 +1,212 @@
|
||||
#
|
||||
# The following externally defined variables are evaluated:
|
||||
#
|
||||
# QMAKE_PROJECT_FILE: path to the qmake project file (for applications with target.mk)
|
||||
# QMAKE_TARGET_BINARIES binaries to be stripped and linked into 'bin' and 'debug' directories
|
||||
# QT5_PORT_LIBS: Qt5 libraries used from port (for example libQt5Core)
|
||||
#
|
||||
|
||||
QT_TOOLS_DIR = /usr/local/genode/qt5/20.08
|
||||
QMAKE = $(QT_TOOLS_DIR)/bin/qmake
|
||||
|
||||
ifeq ($(filter-out $(SPECS),arm),)
|
||||
QMAKE_PLATFORM = genode-arm-g++
|
||||
else ifeq ($(filter-out $(SPECS),arm_64),)
|
||||
QMAKE_PLATFORM = genode-aarch64-g++
|
||||
else ifeq ($(filter-out $(SPECS),x86_32),)
|
||||
QMAKE_PLATFORM = genode-x86_32-g++
|
||||
else ifeq ($(filter-out $(SPECS),x86_64),)
|
||||
QMAKE_PLATFORM = genode-x86_64-g++
|
||||
else
|
||||
$(error Error: unsupported platform)
|
||||
endif
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT_DIR = $(call select_from_repositories,src/lib/qt5)
|
||||
QT_API_DIR = $(call select_from_repositories,mkspecs)/..
|
||||
else
|
||||
QT_PORT_DIR = $(call select_from_ports,qt5)
|
||||
QT_DIR = $(QT_PORT_DIR)/src/lib/qt5
|
||||
QT_API_DIR = $(QT_DIR)/genode/api
|
||||
endif
|
||||
|
||||
ifneq ($(VERBOSE),)
|
||||
QT5_OUTPUT_FILTER = > /dev/null
|
||||
endif
|
||||
|
||||
#
|
||||
# Genode libraries to be linked to Qt applications and libraries
|
||||
#
|
||||
|
||||
QT5_GENODE_LIBS_APP = libc.lib.so libm.lib.so stdcxx.lib.so qt5_component.lib.so
|
||||
QT5_GENODE_LIBS_SHLIB = libc.lib.so libm.lib.so stdcxx.lib.so
|
||||
|
||||
#
|
||||
# flags to be passed to qmake via env.sh and mkspecs/common/genode.conf
|
||||
#
|
||||
|
||||
GENODE_QMAKE_CFLAGS = \
|
||||
-D__FreeBSD__=12 \
|
||||
-D__GENODE__ \
|
||||
-ffunction-sections \
|
||||
-fno-strict-aliasing \
|
||||
$(CC_OPT_NOSTDINC) \
|
||||
$(CC_MARCH) \
|
||||
$(CC_OPT_PIC) \
|
||||
$(filter-out -I.,$(INCLUDES)) \
|
||||
-I$(CURDIR)/qmake_root/include/QtCore/spec/$(QMAKE_PLATFORM)
|
||||
|
||||
GENODE_QMAKE_LFLAGS_APP = \
|
||||
$(addprefix $(LD_OPT_PREFIX),$(LD_MARCH)) \
|
||||
$(addprefix $(LD_OPT_PREFIX),$(LD_OPT_GC_SECTIONS)) \
|
||||
$(addprefix $(LD_OPT_PREFIX),$(LD_OPT_ALIGN_SANE)) \
|
||||
$(addprefix $(LD_OPT_PREFIX),--dynamic-list=$(BASE_DIR)/src/ld/genode_dyn.dl) \
|
||||
$(LD_OPT_NOSTDLIB) \
|
||||
-Wl,-Ttext=0x01000000 \
|
||||
$(CC_MARCH) \
|
||||
-Wl,--dynamic-linker=$(DYNAMIC_LINKER).lib.so \
|
||||
-Wl,--eh-frame-hdr \
|
||||
-Wl,-rpath-link=. \
|
||||
-Wl,-T -Wl,$(LD_SCRIPT_DYN) \
|
||||
-L$(CURDIR)/qmake_root/lib \
|
||||
-Wl,--whole-archive \
|
||||
-Wl,--start-group \
|
||||
$(addprefix -l:,$(QT5_GENODE_LIBS_APP)) \
|
||||
-Wl,--end-group \
|
||||
-Wl,--no-whole-archive
|
||||
|
||||
GENODE_QMAKE_LFLAGS_SHLIB = \
|
||||
$(LD_OPT_NOSTDLIB) \
|
||||
-Wl,-shared \
|
||||
-Wl,--eh-frame-hdr \
|
||||
$(addprefix $(LD_OPT_PREFIX),$(LD_MARCH)) \
|
||||
$(addprefix $(LD_OPT_PREFIX),$(LD_OPT_GC_SECTIONS)) \
|
||||
$(addprefix $(LD_OPT_PREFIX),$(LD_OPT_ALIGN_SANE)) \
|
||||
-Wl,-T -Wl,$(LD_SCRIPT_SO) \
|
||||
$(addprefix $(LD_OPT_PREFIX),--entry=0x0) \
|
||||
-L$(CURDIR)/qmake_root/lib \
|
||||
-Wl,--whole-archive \
|
||||
-Wl,--start-group \
|
||||
$(addprefix -l:,$(QT5_GENODE_LIBS_SHLIB)) \
|
||||
-l:ldso_so_support.lib.a \
|
||||
-Wl,--end-group \
|
||||
-Wl,--no-whole-archive
|
||||
|
||||
#
|
||||
# libgcc must appear on the command line after all other libs
|
||||
# (including those added by qmake) and using the QMAKE_LIBS
|
||||
# variable achieves this, fortunately
|
||||
#
|
||||
GENODE_QMAKE_LIBS = \
|
||||
$(shell $(CC) $(CC_MARCH) -print-libgcc-file-name)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
GENODE_QMAKE_INCDIR_OPENGL = $(call select_from_repositories,include/GL)/..
|
||||
GENODE_QMAKE_INCDIR_EGL = $(call select_from_repositories,include/EGL)/..
|
||||
else
|
||||
GENODE_QMAKE_INCDIR_OPENGL = $(call select_from_ports,mesa)/include
|
||||
GENODE_QMAKE_INCDIR_EGL = $(call select_from_ports,mesa)/include
|
||||
endif
|
||||
|
||||
GENODE_QMAKE_LIBS_OPENGL = $(CURDIR)/qmake_root/lib/mesa.lib.so
|
||||
GENODE_QMAKE_LIBS_EGL = $(CURDIR)/qmake_root/lib/egl.lib.so
|
||||
|
||||
#
|
||||
# export variables for qmake.conf
|
||||
#
|
||||
|
||||
env.sh:
|
||||
$(VERBOSE)rm -f $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_CC='$(CC)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_CXX='$(CXX)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_LINK='$(CXX)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_AR='$(AR)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_OBJCOPY='$(OBJCOPY)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_NM='$(NM)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_STRIP='$(STRIP)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_CFLAGS='$(GENODE_QMAKE_CFLAGS)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_LFLAGS_APP='$(GENODE_QMAKE_LFLAGS_APP)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_LFLAGS_SHLIB='$(GENODE_QMAKE_LFLAGS_SHLIB)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_LIBS='$(GENODE_QMAKE_LIBS)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_INCDIR_OPENGL='$(GENODE_QMAKE_INCDIR_OPENGL)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_LIBS_OPENGL='$(GENODE_QMAKE_LIBS_OPENGL)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_INCDIR_EGL='$(GENODE_QMAKE_INCDIR_EGL)'" >> $@
|
||||
$(VERBOSE)echo "export GENODE_QMAKE_LIBS_EGL='$(GENODE_QMAKE_LIBS_EGL)'" >> $@
|
||||
|
||||
|
||||
#
|
||||
# prepare a directory named 'qmake_root' where qmake can find needed files
|
||||
#
|
||||
|
||||
qmake_root:
|
||||
$(VERBOSE)mkdir -p $@
|
||||
|
||||
qmake_root/bin: qmake_root
|
||||
$(VERBOSE)mkdir -p $@
|
||||
$(VERBOSE)ln -sf $(QT_TOOLS_DIR)/bin/* $@/
|
||||
|
||||
qmake_root/include: qmake_root
|
||||
$(VERBOSE)mkdir -p $@
|
||||
$(VERBOSE)ln -snf $(QT_API_DIR)/include/* $@/
|
||||
|
||||
qmake_root/lib: qmake_root
|
||||
$(VERBOSE)mkdir -p $@
|
||||
|
||||
qmake_root/lib/%.lib.so: qmake_root/lib
|
||||
$(VERBOSE)ln -sf $(BUILD_BASE_DIR)/var/libcache/$*/$*.abi.so $@
|
||||
|
||||
qmake_root/lib/%.lib.a: qmake_root/lib
|
||||
$(VERBOSE)ln -sf $(BUILD_BASE_DIR)/var/libcache/$*/$*.lib.a $@
|
||||
|
||||
qmake_root/mkspecs: qmake_root
|
||||
$(VERBOSE)mkdir -p $@
|
||||
$(VERBOSE)ln -sf $(QT_API_DIR)/mkspecs/* $@/
|
||||
$(VERBOSE)ln -sf $(QMAKE_PLATFORM)/qconfig.pri $@/
|
||||
$(VERBOSE)ln -sf $(QMAKE_PLATFORM)/qmodule.pri $@/
|
||||
|
||||
qmake_prepared.tag: env.sh \
|
||||
qmake_root/bin \
|
||||
qmake_root/include \
|
||||
qmake_root/lib/libc.lib.so \
|
||||
qmake_root/lib/libm.lib.so \
|
||||
qmake_root/lib/egl.lib.so \
|
||||
qmake_root/lib/mesa.lib.so \
|
||||
qmake_root/lib/qt5_component.lib.so \
|
||||
qmake_root/lib/stdcxx.lib.so \
|
||||
qmake_root/lib/ldso_so_support.lib.a \
|
||||
qmake_root/mkspecs
|
||||
# add symlinks for Qt5 libraries listed in the 'QT5_PORT_LIBS' variable
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
$(VERBOSE)for qt5_lib in $(QT5_PORT_LIBS); do \
|
||||
ln -sf $(BUILD_BASE_DIR)/var/libcache/$${qt5_lib}/$${qt5_lib}.abi.so qmake_root/lib/$${qt5_lib}.lib.so; \
|
||||
done
|
||||
else
|
||||
$(VERBOSE)for qt5_lib in $(QT5_PORT_LIBS); do \
|
||||
ln -sf $(BUILD_BASE_DIR)/bin/$${qt5_lib}.lib.so qmake_root/lib/; \
|
||||
done
|
||||
endif
|
||||
$(VERBOSE)touch $@
|
||||
|
||||
.PHONY: build_with_qmake
|
||||
|
||||
build_with_qmake: qmake_prepared.tag
|
||||
|
||||
$(VERBOSE)source env.sh && $(QMAKE) \
|
||||
-qtconf qmake_root/mkspecs/$(QMAKE_PLATFORM)/qt.conf \
|
||||
$(QMAKE_PROJECT_FILE) \
|
||||
$(QT5_OUTPUT_FILTER)
|
||||
|
||||
$(VERBOSE)source env.sh && $(MAKE) $(QT5_OUTPUT_FILTER)
|
||||
|
||||
$(VERBOSE)for qmake_target_binary in $(QMAKE_TARGET_BINARIES); do \
|
||||
$(STRIP) $${qmake_target_binary} -o $${qmake_target_binary}.stripped; \
|
||||
ln -sf $(CURDIR)/$${qmake_target_binary}.stripped $(PWD)/bin/$${qmake_target_binary}; \
|
||||
ln -sf $(CURDIR)/$${qmake_target_binary} $(PWD)/debug/; \
|
||||
done
|
||||
|
||||
#
|
||||
# build applications with qmake
|
||||
#
|
||||
TARGET ?= $(notdir $(QMAKE_PROJECT_FILE)).qmake_target
|
||||
.PHONY: $(TARGET)
|
||||
$(TARGET): build_with_qmake
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_QML_INC_DIR := $(realpath $(call select_from_repositories,include/QtQml)/..)
|
||||
else
|
||||
QT5_QML_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_QML_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_QML_INC_DIR)/QtQml
|
||||
QT5_INC_DIR += $(QT5_QML_INC_DIR)/QtQml/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_QML_INC_DIR)/QtQml/$(QT_VERSION)/QtQml
|
||||
QT5_INC_DIR += $(QT5_QML_INC_DIR)/QtQml/$(QT_VERSION)/QtQml/private
|
@ -1,11 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
INC_DIR += $(call select_from_repositories,include/qt5/qpa_genode) \
|
||||
$(call select_from_repositories,include/QtInputSupport/$(QT_VERSION))
|
||||
else
|
||||
INC_DIR += $(REP_DIR)/include/qt5/qpa_genode \
|
||||
$(QT5_PORT_DIR)/include/QtInputSupport/$(QT_VERSION)
|
||||
endif
|
@ -1,4 +0,0 @@
|
||||
QT5_INC_DIR += $(realpath $(call select_from_repositories,include/qt5/qpluginwidget)/..)
|
||||
|
||||
# 'qpluginwidget.h' includes 'qgenodeviewwidget.h'
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qgenodeviewwidget.mk)
|
@ -1,3 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_QUICK_INC_DIR := $(realpath $(call select_from_repositories,include/QtQuick)/..)
|
||||
else
|
||||
QT5_QUICK_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_QUICK_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_QUICK_INC_DIR)/QtQuick
|
||||
QT5_INC_DIR += $(QT5_QUICK_INC_DIR)/QtQuick/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_QUICK_INC_DIR)/QtQuick/$(QT_VERSION)/QtQuick
|
||||
QT5_INC_DIR += $(QT5_QUICK_INC_DIR)/QtQuick/$(QT_VERSION)/QtQuick/private
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_QUICKCONTROLS2_INC_DIR := $(realpath $(call select_from_repositories,include/QtQuickControls2)/..)
|
||||
else
|
||||
QT5_QUICKCONTROLS2_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_QUICKCONTROLS2_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_QUICKCONTROLS2_INC_DIR)/QtQuickControls2
|
||||
QT5_INC_DIR += $(QT5_QUICKCONTROLS2_INC_DIR)/QtQuickControls2/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_QUICKCONTROLS2_INC_DIR)/QtQuickControls2/$(QT_VERSION)/QtQuickControls2
|
||||
QT5_INC_DIR += $(QT5_QUICKCONTROLS2_INC_DIR)/QtQuickControls2/$(QT_VERSION)/QtQuickControls2/private
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_QUICKTEMPLATES2_INC_DIR := $(realpath $(call select_from_repositories,include/QtQuickTemplates2)/..)
|
||||
else
|
||||
QT5_QUICKTEMPLATES2_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_QUICKTEMPLATES2_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_QUICKTEMPLATES2_INC_DIR)/QtQuickTemplates2
|
||||
QT5_INC_DIR += $(QT5_QUICKTEMPLATES2_INC_DIR)/QtQuickTemplates2/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_QUICKTEMPLATES2_INC_DIR)/QtQuickTemplates2/$(QT_VERSION)/QtQuickTemplates2
|
||||
QT5_INC_DIR += $(QT5_QUICKTEMPLATES2_INC_DIR)/QtQuickTemplates2/$(QT_VERSION)/QtQuickTemplates2/private
|
@ -1,14 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_SCRIPTCLASSIC_INC_DIR := $(realpath $(call select_from_repositories,include/QtScript)/..)
|
||||
else
|
||||
QT5_SCRIPTCLASSIC_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_SCRIPTCLASSIC_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_SCRIPTCLASSIC_INC_DIR)/QtScript
|
||||
|
||||
QT_DEFINES += -DQ_SCRIPT_EXPORT=
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_SQL_INC_DIR := $(realpath $(call select_from_repositories,include/QtSql)/..)
|
||||
else
|
||||
QT5_SQL_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_SQL_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_SQL_INC_DIR)/QtSql
|
||||
QT5_INC_DIR += $(QT5_SQL_INC_DIR)/QtSql/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_SQL_INC_DIR)/QtSql/$(QT_VERSION)/QtSql
|
||||
QT5_INC_DIR += $(QT5_SQL_INC_DIR)/QtSql/$(QT_VERSION)/QtSql/private
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_SVG_INC_DIR := $(realpath $(call select_from_repositories,include/QtSvg)/..)
|
||||
else
|
||||
QT5_SVG_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_SVG_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_SVG_INC_DIR)/QtSvg
|
||||
QT5_INC_DIR += $(QT5_SVG_INC_DIR)/QtSvg/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_SVG_INC_DIR)/QtSvg/$(QT_VERSION)/QtSvg
|
||||
QT5_INC_DIR += $(QT5_SVG_INC_DIR)/QtSvg/$(QT_VERSION)/QtSvg/private
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_TEST_INC_DIR := $(realpath $(call select_from_repositories,include/QtTest)/..)
|
||||
else
|
||||
QT5_TEST_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_TEST_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_TEST_INC_DIR)/QtTest
|
||||
QT5_INC_DIR += $(QT5_TEST_INC_DIR)/QtTest/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_TEST_INC_DIR)/QtTest/$(QT_VERSION)/QtTest
|
||||
QT5_INC_DIR += $(QT5_TEST_INC_DIR)/QtTest/$(QT_VERSION)/QtTest/private
|
@ -1,27 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_DESIGNER_INC_DIR := $(realpath $(call select_from_repositories,include/QtDesigner)/..)
|
||||
else
|
||||
QT5_DESIGNER_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_DESIGNER_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_DESIGNER_INC_DIR)/QtDesigner
|
||||
QT5_INC_DIR += $(QT5_DESIGNER_INC_DIR)/QtDesigner/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_DESIGNER_INC_DIR)/QtDesigner/$(QT_VERSION)/QtDesigner
|
||||
QT5_INC_DIR += $(QT5_DESIGNER_INC_DIR)/QtDesigner/$(QT_VERSION)/QtDesigner/private
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_UI_TOOLS_INC_DIR := $(realpath $(call select_from_repositories,include/QtUiTools)/..)
|
||||
else
|
||||
QT5_UI_TOOLS_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_UI_TOOLS_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_UI_TOOLS_INC_DIR)/QtUiTools
|
||||
QT5_INC_DIR += $(QT5_UI_TOOLS_INC_DIR)/QtUiTools/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_UI_TOOLS_INC_DIR)/QtUiTools/$(QT_VERSION)/QtUiTools
|
||||
QT5_INC_DIR += $(QT5_UI_TOOLS_INC_DIR)/QtUiTools/$(QT_VERSION)/QtUiTools/private
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_VIRTUALKEYBOARD_INC_DIR := $(realpath $(call select_from_repositories,include/QtVirtualKeyboard)/..)
|
||||
else
|
||||
QT5_VIRTUALKEYBOARD_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_VIRTUALKEYBOARD_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_VIRTUALKEYBOARD_INC_DIR)/QtVirtualKeyboard
|
||||
QT5_INC_DIR += $(QT5_VIRTUALKEYBOARD_INC_DIR)/QtVirtualKeyboard/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_VIRTUALKEYBOARD_INC_DIR)/QtVirtualKeyboard/$(QT_VERSION)/QtVirtualKeyboard
|
||||
QT5_INC_DIR += $(QT5_VIRTUALKEYBOARD_INC_DIR)/QtVirtualKeyboard/$(QT_VERSION)/QtVirtualKeyboard/private
|
@ -1,3 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_WEBKIT_INC_DIR := $(realpath $(call select_from_repositories,include/QtWebKit)/..)
|
||||
else
|
||||
QT5_WEBKIT_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_WEBKIT_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_WEBKIT_INC_DIR)/QtWebKit
|
||||
QT5_INC_DIR += $(QT5_WEBKIT_INC_DIR)/QtWebKit/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_WEBKIT_INC_DIR)/QtWebKit/$(QT_VERSION)/QtWebKit
|
||||
QT5_INC_DIR += $(QT5_WEBKIT_INC_DIR)/QtWebKit/$(QT_VERSION)/QtWebKit/private
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_WEBKITWIDGETS_INC_DIR := $(realpath $(call select_from_repositories,include/QtWebKitWidgets)/..)
|
||||
else
|
||||
QT5_WEBKITWIDGETS_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_WEBKITWIDGETS_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_WEBKITWIDGETS_INC_DIR)/QtWebKitWidgets
|
||||
QT5_INC_DIR += $(QT5_WEBKITWIDGETS_INC_DIR)/QtWebKitWidgets/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_WEBKITWIDGETS_INC_DIR)/QtWebKitWidgets/$(QT_VERSION)/QtWebKitWidgets
|
||||
QT5_INC_DIR += $(QT5_WEBKITWIDGETS_INC_DIR)/QtWebKitWidgets/$(QT_VERSION)/QtWebKitWidgets/private
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_WIDGETS_INC_DIR := $(realpath $(call select_from_repositories,include/QtWidgets)/..)
|
||||
else
|
||||
QT5_WIDGETS_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_WIDGETS_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_WIDGETS_INC_DIR)/QtWidgets
|
||||
QT5_INC_DIR += $(QT5_WIDGETS_INC_DIR)/QtWidgets/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_WIDGETS_INC_DIR)/QtWidgets/$(QT_VERSION)/QtWidgets
|
||||
QT5_INC_DIR += $(QT5_WIDGETS_INC_DIR)/QtWidgets/$(QT_VERSION)/QtWidgets/private
|
@ -1,3 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
@ -1,15 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
QT5_XML_INC_DIR := $(realpath $(call select_from_repositories,include/QtXml)/..)
|
||||
else
|
||||
QT5_XML_INC_DIR := $(QT5_PORT_DIR)/include
|
||||
endif
|
||||
|
||||
QT5_INC_DIR += $(QT5_XML_INC_DIR)
|
||||
QT5_INC_DIR += $(QT5_XML_INC_DIR)/QtXml
|
||||
QT5_INC_DIR += $(QT5_XML_INC_DIR)/QtXml/$(QT_VERSION)
|
||||
QT5_INC_DIR += $(QT5_XML_INC_DIR)/QtXml/$(QT_VERSION)/QtXml
|
||||
QT5_INC_DIR += $(QT5_XML_INC_DIR)/QtXml/$(QT_VERSION)/QtXml/private
|
6
repos/libports/lib/mk/libQt5Core.mk
Normal file
6
repos/libports/lib/mk/libQt5Core.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_base
|
6
repos/libports/lib/mk/libQt5Gui.mk
Normal file
6
repos/libports/lib/mk/libQt5Gui.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_base
|
6
repos/libports/lib/mk/libQt5Network.mk
Normal file
6
repos/libports/lib/mk/libQt5Network.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_base
|
6
repos/libports/lib/mk/libQt5PrintSupport.mk
Normal file
6
repos/libports/lib/mk/libQt5PrintSupport.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_base
|
6
repos/libports/lib/mk/libQt5Qml.mk
Normal file
6
repos/libports/lib/mk/libQt5Qml.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_declarative
|
6
repos/libports/lib/mk/libQt5Quick.mk
Normal file
6
repos/libports/lib/mk/libQt5Quick.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_declarative
|
6
repos/libports/lib/mk/libQt5QuickWidgets.mk
Normal file
6
repos/libports/lib/mk/libQt5QuickWidgets.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_declarative
|
6
repos/libports/lib/mk/libQt5Sql.mk
Normal file
6
repos/libports/lib/mk/libQt5Sql.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_base
|
6
repos/libports/lib/mk/libQt5Svg.mk
Normal file
6
repos/libports/lib/mk/libQt5Svg.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_svg
|
6
repos/libports/lib/mk/libQt5Test.mk
Normal file
6
repos/libports/lib/mk/libQt5Test.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_base
|
6
repos/libports/lib/mk/libQt5VirtualKeyboard.mk
Normal file
6
repos/libports/lib/mk/libQt5VirtualKeyboard.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_virtualkeyboard
|
6
repos/libports/lib/mk/libQt5Widgets.mk
Normal file
6
repos/libports/lib/mk/libQt5Widgets.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_base
|
6
repos/libports/lib/mk/libqgenode.mk
Normal file
6
repos/libports/lib/mk/libqgenode.mk
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# This individual library description file is needed to get the abi
|
||||
# library generated when building Qt5 packages.
|
||||
#
|
||||
|
||||
LIBS = qt5_base
|
18
repos/libports/lib/mk/libqgenodeviewwidget.mk
Normal file
18
repos/libports/lib/mk/libqgenodeviewwidget.mk
Normal file
@ -0,0 +1,18 @@
|
||||
QMAKE_PROJECT_FILE = $(REP_DIR)/src/lib/qgenodeviewwidget/qgenodeviewwidget.pro
|
||||
|
||||
QMAKE_TARGET_BINARIES = libqgenodeviewwidget.lib.so
|
||||
|
||||
QT5_PORT_LIBS = libQt5Core libQt5Gui libQt5Widgets
|
||||
|
||||
LIBS = libc libm mesa qoost stdcxx $(QT5_PORT_LIBS)
|
||||
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qmake.mk)
|
||||
|
||||
qmake_root/include/qgenodeviewwidget: qmake_root/include
|
||||
ln -snf $(call select_from_repositories,include/qgenodeviewwidget) $@
|
||||
|
||||
qmake_prepared.tag: qmake_root/include/qgenodeviewwidget
|
||||
|
||||
ifeq ($(called_from_lib_mk),yes)
|
||||
all: build_with_qmake
|
||||
endif
|
22
repos/libports/lib/mk/libqpluginwidget.mk
Normal file
22
repos/libports/lib/mk/libqpluginwidget.mk
Normal file
@ -0,0 +1,22 @@
|
||||
QMAKE_PROJECT_FILE = $(REP_DIR)/src/lib/qpluginwidget/qpluginwidget.pro
|
||||
|
||||
QMAKE_TARGET_BINARIES = libqpluginwidget.lib.so
|
||||
|
||||
QT5_PORT_LIBS = libQt5Core libQt5Gui libQt5Network libQt5Widgets libqgenode
|
||||
|
||||
LIBS = libc libm libqgenodeviewwidget mesa qoost stdcxx zlib $(QT5_PORT_LIBS)
|
||||
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qmake.mk)
|
||||
|
||||
QT5_GENODE_LIBS_SHLIB += libqgenodeviewwidget.lib.so libqgenode.lib.so
|
||||
|
||||
qmake_root/include/qpluginwidget: qmake_root/include
|
||||
ln -snf $(call select_from_repositories,include/qpluginwidget) $@
|
||||
|
||||
qmake_prepared.tag: qmake_root/include/qpluginwidget \
|
||||
qmake_root/lib/libqgenodeviewwidget.lib.so \
|
||||
qmake_root/lib/libqgenode.lib.so
|
||||
|
||||
ifeq ($(called_from_lib_mk),yes)
|
||||
all: build_with_qmake
|
||||
endif
|
@ -1,22 +0,0 @@
|
||||
QT_SOURCES_FILTER_OUT += $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT)
|
||||
QT_SOURCES_FILTERED = $(filter-out $(QT_SOURCES_FILTER_OUT), $(QT_SOURCES))
|
||||
|
||||
SRC_CC += $(filter %.cpp, $(QT_SOURCES_FILTERED))
|
||||
SRC_CC += $(filter %.cc, $(QT_SOURCES_FILTERED))
|
||||
SRC_C += $(filter %.c, $(QT_SOURCES_FILTERED))
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTERED = $(filter-out $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT), $(COMPILER_MOC_HEADER_MAKE_ALL_FILES))
|
||||
$(addsuffix .o,$(basename $(SRC_CC))): $(COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTERED)
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTERED = $(filter-out $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT), $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES))
|
||||
$(addsuffix .o,$(basename $(SRC_CC))): $(COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTERED)
|
||||
|
||||
QT5_INC_DIR += $(REP_DIR)/src/lib/qt5/qtbase/src/corelib/global
|
||||
|
||||
QT5_INC_DIR += $(addprefix $(REP_DIR)/src/lib/qt5/, $(QT_INCPATH))
|
||||
QT5_INC_DIR += $(addprefix $(QT5_PORT_DIR)/src/lib/qt5/, $(QT_INCPATH))
|
||||
QT5_INC_DIR += $(addprefix $(QT5_CONTRIB_DIR)/, $(QT_INCPATH))
|
||||
|
||||
vpath % $(addprefix $(REP_DIR)/src/lib/qt5/, $(QT_VPATH))
|
||||
vpath % $(addprefix $(QT5_PORT_DIR)/src/lib/qt5/, $(QT_VPATH))
|
||||
vpath % $(addprefix $(QT5_CONTRIB_DIR)/, $(QT_VPATH))
|
@ -1,15 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_angle.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_angle_generated.inc
|
||||
|
||||
QT_INCPATH += qtwebkit/Source/ThirdParty/ANGLE/generated
|
||||
|
||||
QT_VPATH += qtwebkit/Source/ThirdParty/ANGLE/generated
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_opengl
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,97 +0,0 @@
|
||||
QT_DEFINES += -DBUILDING_QT__=1 -DNDEBUG -DENABLE_3D_RENDERING=1 -DENABLE_ACCELERATED_2D_CANVAS=1 -DENABLE_BLOB=1 -DENABLE_CANVAS_PATH=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_SET=1 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_SHAPES=1 -DENABLE_CSS_STICKY_POSITION=1 -DENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED=1 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_DOWNLOAD_ATTRIBUTE=1 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_FULLSCREEN_API=1 -DENABLE_GESTURE_EVENTS=1 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INPUT_TYPE_COLOR=1 -DENABLE_INSPECTOR=1 -DENABLE_INSPECTOR_SERVER=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_NOTIFICATIONS=1 -DENABLE_LEGACY_VIEWPORT_ADAPTION=1 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LEGACY_WEB_AUDIO=1 -DENABLE_LINK_PREFETCH=1 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_PAGE_VISIBILITY_API=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_RESOLUTION_MEDIA_QUERY=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SQL_DATABASE=1 -DENABLE_SUBPIXEL_LAYOUT=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_TOUCH_ADJUSTMENT=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_TOUCH_SLIDER=1 -DENABLE_VIEW_MODE_CSS_MEDIA=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DWTF_USE_TILED_BACKING_STORE=1 -DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1 -DHAVE_QTPRINTSUPPORT=1 -DHAVE_QSTYLE=1 -DHAVE_QTTESTLIB=1 -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1 -DHAVE_FONTCONFIG=1 -DPLUGIN_ARCHITECTURE_UNSUPPORTED=1 -DWTF_USE_3D_GRAPHICS=1 -DENABLE_WEBGL=1 -DENABLE_BATTERY_STATUS=0 -DENABLE_CANVAS_PROXY=0 -DENABLE_CSP_NEXT=0 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_HIERARCHIES=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CSS3_TEXT=0 -DENABLE_CSS3_TEXT_LINE_BREAK=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FONT_LOAD_EVENTS=0 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATION=0 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_INDEXED_DATABASE=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME_INCOMPLETE=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_MATHML=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_MICRODATA=0 -DENABLE_MOUSE_CURSOR_SCALE=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETSCAPE_PLUGIN_API=0 -DENABLE_NETWORK_INFO=0 -DENABLE_NOSNIFF=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_RESOURCE_TIMING=0 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SECCOMP_FILTERS=0 -DENABLE_SHADOW_DOM=0 -DENABLE_STYLE_SCOPED=0 -DENABLE_TEMPLATE_ELEMENT=0 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_THREADED_HTML_PARSER=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_USER_TIMING=0 -DENABLE_VIBRATION=0 -DENABLE_VIDEO=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_WEB_AUDIO=0 -DENABLE_XSLT=0 -DBUILDING_ANGLE -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
|
||||
|
||||
QT_INCPATH += \
|
||||
qtwebkit/Source/ThirdParty/ANGLE \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/include/GLSLANG \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/include/KHR \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/include \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/include \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/include/GLSLANG \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/include/KHR \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor \
|
||||
qtwebkit/Source \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
BuiltInFunctionEmulator.cpp \
|
||||
CodeGenGLSL.cpp \
|
||||
Compiler.cpp \
|
||||
debug.cpp \
|
||||
DependencyGraph.cpp \
|
||||
DependencyGraphBuilder.cpp \
|
||||
DependencyGraphOutput.cpp \
|
||||
DependencyGraphTraverse.cpp \
|
||||
DetectCallDepth.cpp \
|
||||
DetectDiscontinuity.cpp \
|
||||
Diagnostics.cpp \
|
||||
DirectiveHandler.cpp \
|
||||
ForLoopUnroll.cpp \
|
||||
InfoSink.cpp \
|
||||
Initialize.cpp \
|
||||
InitializeDll.cpp \
|
||||
InitializeParseContext.cpp \
|
||||
Intermediate.cpp \
|
||||
intermOut.cpp \
|
||||
IntermTraverse.cpp \
|
||||
MapLongVariableNames.cpp \
|
||||
OutputESSL.cpp \
|
||||
OutputGLSL.cpp \
|
||||
OutputGLSLBase.cpp \
|
||||
OutputHLSL.cpp \
|
||||
parseConst.cpp \
|
||||
ParseHelper.cpp \
|
||||
PoolAlloc.cpp \
|
||||
QualifierAlive.cpp \
|
||||
RemoveTree.cpp \
|
||||
SearchSymbol.cpp \
|
||||
ShaderLang.cpp \
|
||||
SymbolTable.cpp \
|
||||
RestrictFragmentShaderTiming.cpp \
|
||||
RestrictVertexShaderTiming.cpp \
|
||||
TranslatorESSL.cpp \
|
||||
TranslatorGLSL.cpp \
|
||||
TranslatorHLSL.cpp \
|
||||
Uniform.cpp \
|
||||
UnfoldShortCircuit.cpp \
|
||||
util.cpp \
|
||||
ValidateLimitations.cpp \
|
||||
VariableInfo.cpp \
|
||||
VariablePacker.cpp \
|
||||
VersionGLSL.cpp \
|
||||
DiagnosticsBase.cpp \
|
||||
DirectiveHandlerBase.cpp \
|
||||
DirectiveParser.cpp \
|
||||
Input.cpp \
|
||||
Lexer.cpp \
|
||||
Macro.cpp \
|
||||
MacroExpander.cpp \
|
||||
Preprocessor.cpp \
|
||||
Token.cpp \
|
||||
ArrayBoundsClamper.cpp \
|
||||
ossource_posix.cpp \
|
||||
glslang_lex.cpp \
|
||||
Tokenizer_lex.cpp \
|
||||
glslang_tab.cpp \
|
||||
ExpressionParser_tab.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src/compiler \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src/compiler/depgraph \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src/compiler/timing \
|
||||
qtwebkit/Source/ThirdParty/ANGLE/src/third_party/compiler \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
|
106
repos/libports/lib/mk/qt5_base.mk
Normal file
106
repos/libports/lib/mk/qt5_base.mk
Normal file
@ -0,0 +1,106 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qmake.mk)
|
||||
|
||||
LIBS = base libc libm stdcxx qt5_component egl mesa qoost
|
||||
|
||||
built.tag: qmake_prepared.tag qmake_root/lib/ld.lib.so
|
||||
|
||||
@#
|
||||
@# run qmake
|
||||
@#
|
||||
|
||||
$(VERBOSE)source env.sh && $(QMAKE) \
|
||||
-qtconf qmake_root/mkspecs/$(QMAKE_PLATFORM)/qt.conf \
|
||||
$(QT_DIR)/qtbase/qtbase.pro \
|
||||
-- \
|
||||
-prefix /qt \
|
||||
-xplatform $(QMAKE_PLATFORM) \
|
||||
-qpa genode \
|
||||
-opensource \
|
||||
-confirm-license \
|
||||
-no-pch \
|
||||
-release \
|
||||
-no-strip \
|
||||
-opengl desktop \
|
||||
-no-feature-dbus \
|
||||
-no-feature-networkinterface \
|
||||
-no-feature-process \
|
||||
$(QT5_OUTPUT_FILTER)
|
||||
|
||||
@#
|
||||
@# build
|
||||
@#
|
||||
|
||||
$(VERBOSE)source env.sh && $(MAKE) sub-src $(QT5_OUTPUT_FILTER)
|
||||
|
||||
@#
|
||||
@# install into local 'install' directory
|
||||
@#
|
||||
|
||||
$(VERBOSE)$(MAKE) INSTALL_ROOT=$(CURDIR)/install sub-src-install_subtargets $(QT5_OUTPUT_FILTER)
|
||||
|
||||
$(VERBOSE) ln -sf .$(CURDIR)/qmake_root install/qt
|
||||
|
||||
@#
|
||||
@# create stripped versions
|
||||
@#
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/lib && \
|
||||
$(STRIP) libQt5Core.lib.so -o libQt5Core.lib.so.stripped && \
|
||||
$(STRIP) libQt5Gui.lib.so -o libQt5Gui.lib.so.stripped && \
|
||||
$(STRIP) libQt5Network.lib.so -o libQt5Network.lib.so.stripped && \
|
||||
$(STRIP) libQt5PrintSupport.lib.so -o libQt5PrintSupport.lib.so.stripped && \
|
||||
$(STRIP) libQt5Sql.lib.so -o libQt5Sql.lib.so.stripped && \
|
||||
$(STRIP) libQt5Test.lib.so -o libQt5Test.lib.so.stripped && \
|
||||
$(STRIP) libQt5Widgets.lib.so -o libQt5Widgets.lib.so.stripped
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/plugins/platforms && \
|
||||
$(STRIP) libqgenode.lib.so -o libqgenode.lib.so.stripped
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/plugins/imageformats && \
|
||||
$(STRIP) libqjpeg.lib.so -o libqjpeg.lib.so.stripped
|
||||
|
||||
@#
|
||||
@# create symlinks in 'bin' directory
|
||||
@#
|
||||
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Core.lib.so.stripped $(PWD)/bin/libQt5Core.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Gui.lib.so.stripped $(PWD)/bin/libQt5Gui.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Network.lib.so.stripped $(PWD)/bin/libQt5Network.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5PrintSupport.lib.so.stripped $(PWD)/bin/libQt5PrintSupport.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Sql.lib.so.stripped $(PWD)/bin/libQt5Sql.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Test.lib.so.stripped $(PWD)/bin/libQt5Test.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Widgets.lib.so.stripped $(PWD)/bin/libQt5Widgets.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/platforms/libqgenode.lib.so.stripped $(PWD)/bin/libqgenode.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/imageformats/libqjpeg.lib.so.stripped $(PWD)/bin/libqjpeg.lib.so
|
||||
|
||||
@#
|
||||
@# create symlinks in 'debug' directory
|
||||
@#
|
||||
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Core.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Gui.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Network.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5PrintSupport.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Sql.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Test.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Widgets.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/platforms/libqgenode.lib.so $(PWD)/debug/libqgenode.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/plugins/imageformats/libqjpeg.lib.so $(PWD)/debug/libqjpeg.lib.so
|
||||
|
||||
@#
|
||||
@# create tar archives
|
||||
@#
|
||||
|
||||
$(VERBOSE)tar chf $(PWD)/bin/qt5_libqgenode.tar --transform='s/\.stripped//' -C install qt/plugins/platforms/libqgenode.lib.so.stripped
|
||||
$(VERBOSE)tar chf $(PWD)/bin/qt5_libqjpeg.tar --transform='s/\.stripped//' -C install qt/plugins/imageformats/libqjpeg.lib.so.stripped
|
||||
|
||||
@#
|
||||
@# mark as done
|
||||
@#
|
||||
|
||||
$(VERBOSE)touch $@
|
||||
|
||||
|
||||
ifeq ($(called_from_lib_mk),yes)
|
||||
all: built.tag
|
||||
endif
|
@ -4,6 +4,6 @@ LIBS = libc
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
vpath qt_component.cc $(REP_DIR)/src/lib/qt5
|
||||
vpath qt_component.cc $(REP_DIR)/src/lib/qt5_component
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
||||
|
@ -1,27 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_core.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN = -Wno-unused-but-set-variable -Wno-deprecated-declarations
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_core_generated.inc
|
||||
|
||||
# remove unsupported UNIX-specific files
|
||||
QT_SOURCES_FILTER_OUT = \
|
||||
forkfd_qt.cpp \
|
||||
moc_qfilesystemwatcher_inotify_p.cpp \
|
||||
qfilesystemwatcher_inotify.cpp
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
# reduce 'not implemented yet' noise
|
||||
SRC_CC += libc_dummies.cc
|
||||
vpath libc_dummies.cc $(REP_DIR)/src/lib/qt5
|
||||
|
||||
LIBS += zlib qt5_pcre2 libc libm
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,363 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/src/corelib \
|
||||
qtbase/src/3rdparty/harfbuzz/src \
|
||||
qtbase/src/3rdparty/md5 \
|
||||
qtbase/src/3rdparty/md4 \
|
||||
qtbase/src/3rdparty/sha3 \
|
||||
qtbase/src/3rdparty \
|
||||
qtbase/src/3rdparty/double-conversion/include \
|
||||
qtbase/src/3rdparty/double-conversion/include/double-conversion \
|
||||
qtbase/src/3rdparty/forkfd \
|
||||
qtbase/src/3rdparty/tinycbor/src \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtbase/src/3rdparty/pcre2/src \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qabstractanimation.cpp \
|
||||
qvariantanimation.cpp \
|
||||
qpropertyanimation.cpp \
|
||||
qanimationgroup.cpp \
|
||||
qsequentialanimationgroup.cpp \
|
||||
qparallelanimationgroup.cpp \
|
||||
qpauseanimation.cpp \
|
||||
qendian.cpp \
|
||||
qglobal.cpp \
|
||||
qlibraryinfo.cpp \
|
||||
qmalloc.cpp \
|
||||
qnumeric.cpp \
|
||||
qfloat16.cpp \
|
||||
qoperatingsystemversion.cpp \
|
||||
qlogging.cpp \
|
||||
qrandom.cpp \
|
||||
qhooks.cpp \
|
||||
minimum-linux.S \
|
||||
qversiontagging.cpp \
|
||||
qrunnable.cpp \
|
||||
qthread.cpp \
|
||||
qthread_unix.cpp \
|
||||
qatomic.cpp \
|
||||
qmutex.cpp \
|
||||
qmutexpool.cpp \
|
||||
qreadwritelock.cpp \
|
||||
qsemaphore.cpp \
|
||||
qthreadpool.cpp \
|
||||
qthreadstorage.cpp \
|
||||
qwaitcondition_unix.cpp \
|
||||
qexception.cpp \
|
||||
qfutureinterface.cpp \
|
||||
qfuturewatcher.cpp \
|
||||
qresultstore.cpp \
|
||||
qarraydata.cpp \
|
||||
qbitarray.cpp \
|
||||
qbytearray.cpp \
|
||||
qbytearraylist.cpp \
|
||||
qbytearraymatcher.cpp \
|
||||
qcollator.cpp \
|
||||
qcryptographichash.cpp \
|
||||
qdatetime.cpp \
|
||||
qeasingcurve.cpp \
|
||||
qfreelist.cpp \
|
||||
qhash.cpp \
|
||||
qline.cpp \
|
||||
qlinkedlist.cpp \
|
||||
qlist.cpp \
|
||||
qlocale.cpp \
|
||||
qlocale_tools.cpp \
|
||||
qpoint.cpp \
|
||||
qmap.cpp \
|
||||
qmargins.cpp \
|
||||
qmessageauthenticationcode.cpp \
|
||||
qcontiguouscache.cpp \
|
||||
qrect.cpp \
|
||||
qregexp.cpp \
|
||||
qrefcount.cpp \
|
||||
qringbuffer.cpp \
|
||||
qshareddata.cpp \
|
||||
qsharedpointer.cpp \
|
||||
qsimd.cpp \
|
||||
qsize.cpp \
|
||||
qstring.cpp \
|
||||
qstringbuilder.cpp \
|
||||
qstringlist.cpp \
|
||||
qstringview.cpp \
|
||||
qtextboundaryfinder.cpp \
|
||||
qtimeline.cpp \
|
||||
qunicodetools.cpp \
|
||||
qvsnprintf.cpp \
|
||||
qversionnumber.cpp \
|
||||
qlocale_unix.cpp \
|
||||
qcollator_posix.cpp \
|
||||
qtimezone.cpp \
|
||||
qtimezoneprivate.cpp \
|
||||
qtimezoneprivate_tz.cpp \
|
||||
qdatetimeparser.cpp \
|
||||
qregularexpression.cpp \
|
||||
qcommandlineoption.cpp \
|
||||
qcommandlineparser.cpp \
|
||||
harfbuzz-buffer.c \
|
||||
harfbuzz-gdef.c \
|
||||
harfbuzz-gsub.c \
|
||||
harfbuzz-gpos.c \
|
||||
harfbuzz-impl.c \
|
||||
harfbuzz-open.c \
|
||||
harfbuzz-stream.c \
|
||||
harfbuzz-shaper-all.cpp \
|
||||
qharfbuzz.cpp \
|
||||
bignum.cc \
|
||||
bignum-dtoa.cc \
|
||||
cached-powers.cc \
|
||||
diy-fp.cc \
|
||||
double-conversion.cc \
|
||||
fast-dtoa.cc \
|
||||
fixed-dtoa.cc \
|
||||
strtod.cc \
|
||||
qabstractfileengine.cpp \
|
||||
qbuffer.cpp \
|
||||
qdataurl.cpp \
|
||||
qtldurl.cpp \
|
||||
qdebug.cpp \
|
||||
qdir.cpp \
|
||||
qdiriterator.cpp \
|
||||
qfile.cpp \
|
||||
qfiledevice.cpp \
|
||||
qfileinfo.cpp \
|
||||
qipaddress.cpp \
|
||||
qiodevice.cpp \
|
||||
qlockfile.cpp \
|
||||
qnoncontiguousbytedevice.cpp \
|
||||
qstorageinfo.cpp \
|
||||
qtemporarydir.cpp \
|
||||
qtemporaryfile.cpp \
|
||||
qresource.cpp \
|
||||
qresource_iterator.cpp \
|
||||
qsavefile.cpp \
|
||||
qstandardpaths.cpp \
|
||||
qurl.cpp \
|
||||
qurlidna.cpp \
|
||||
qurlquery.cpp \
|
||||
qurlrecode.cpp \
|
||||
qfsfileengine.cpp \
|
||||
qfsfileengine_iterator.cpp \
|
||||
qfilesystementry.cpp \
|
||||
qfilesystemengine.cpp \
|
||||
qfileselector.cpp \
|
||||
qloggingcategory.cpp \
|
||||
qloggingregistry.cpp \
|
||||
qfilesystemwatcher.cpp \
|
||||
qfilesystemwatcher_polling.cpp \
|
||||
qprocess.cpp \
|
||||
qprocess_unix.cpp \
|
||||
qsettings.cpp \
|
||||
qfsfileengine_unix.cpp \
|
||||
qfilesystemengine_unix.cpp \
|
||||
qlockfile_unix.cpp \
|
||||
qfilesystemiterator_unix.cpp \
|
||||
forkfd_qt.cpp \
|
||||
qstandardpaths_unix.cpp \
|
||||
qstorageinfo_stub.cpp \
|
||||
qabstractitemmodel.cpp \
|
||||
qitemselectionmodel.cpp \
|
||||
qabstractproxymodel.cpp \
|
||||
qconcatenatetablesproxymodel.cpp \
|
||||
qidentityproxymodel.cpp \
|
||||
qsortfilterproxymodel.cpp \
|
||||
qtransposeproxymodel.cpp \
|
||||
qstringlistmodel.cpp \
|
||||
qfactoryinterface.cpp \
|
||||
qpluginloader.cpp \
|
||||
qfactoryloader.cpp \
|
||||
quuid.cpp \
|
||||
qlibrary.cpp \
|
||||
qelfparser_p.cpp \
|
||||
qmachparser.cpp \
|
||||
qlibrary_unix.cpp \
|
||||
qabstracteventdispatcher.cpp \
|
||||
qabstractnativeeventfilter.cpp \
|
||||
qbasictimer.cpp \
|
||||
qdeadlinetimer.cpp \
|
||||
qelapsedtimer.cpp \
|
||||
qeventloop.cpp \
|
||||
qcoreapplication.cpp \
|
||||
qcoreevent.cpp \
|
||||
qmetaobject.cpp \
|
||||
qmetatype.cpp \
|
||||
qmetaobjectbuilder.cpp \
|
||||
qmimedata.cpp \
|
||||
qobject.cpp \
|
||||
qobjectcleanuphandler.cpp \
|
||||
qsignalmapper.cpp \
|
||||
qsocketnotifier.cpp \
|
||||
qtimer.cpp \
|
||||
qtranslator.cpp \
|
||||
qvariant.cpp \
|
||||
qcoreglobaldata.cpp \
|
||||
qsharedmemory.cpp \
|
||||
qsystemsemaphore.cpp \
|
||||
qpointer.cpp \
|
||||
qmath.cpp \
|
||||
qsystemerror.cpp \
|
||||
qtestsupport_core.cpp \
|
||||
qcore_unix.cpp \
|
||||
qeventdispatcher_unix.cpp \
|
||||
qtimerinfo_unix.cpp \
|
||||
qelapsedtimer_unix.cpp \
|
||||
qsharedmemory_posix.cpp \
|
||||
qsharedmemory_systemv.cpp \
|
||||
qsharedmemory_unix.cpp \
|
||||
qsystemsemaphore_posix.cpp \
|
||||
qsystemsemaphore_systemv.cpp \
|
||||
qsystemsemaphore_unix.cpp \
|
||||
qutfcodec.cpp \
|
||||
qlatincodec.cpp \
|
||||
qsimplecodec.cpp \
|
||||
qtextcodec.cpp \
|
||||
qisciicodec.cpp \
|
||||
qtsciicodec.cpp \
|
||||
qgb18030codec.cpp \
|
||||
qjpunicode.cpp \
|
||||
qeucjpcodec.cpp \
|
||||
qjiscodec.cpp \
|
||||
qsjiscodec.cpp \
|
||||
qeuckrcodec.cpp \
|
||||
qbig5codec.cpp \
|
||||
qcborstream.cpp \
|
||||
qcbordiagnostic.cpp \
|
||||
qcborvalue.cpp \
|
||||
qdatastream.cpp \
|
||||
qjson.cpp \
|
||||
qjsoncbor.cpp \
|
||||
qjsondocument.cpp \
|
||||
qjsonobject.cpp \
|
||||
qjsonarray.cpp \
|
||||
qjsonvalue.cpp \
|
||||
qjsonwriter.cpp \
|
||||
qjsonparser.cpp \
|
||||
qtextstream.cpp \
|
||||
qxmlstream.cpp \
|
||||
qxmlutils.cpp \
|
||||
qstatemachine.cpp \
|
||||
qabstractstate.cpp \
|
||||
qstate.cpp \
|
||||
qfinalstate.cpp \
|
||||
qhistorystate.cpp \
|
||||
qabstracttransition.cpp \
|
||||
qsignaltransition.cpp \
|
||||
qeventtransition.cpp \
|
||||
qmimedatabase.cpp \
|
||||
qmimetype.cpp \
|
||||
qmimemagicrulematcher.cpp \
|
||||
qmimetypeparser.cpp \
|
||||
qmimemagicrule.cpp \
|
||||
qmimeglobpattern.cpp \
|
||||
qmimeprovider.cpp \
|
||||
qfloat16tables.cpp \
|
||||
qrc_mimetypes.cpp \
|
||||
moc_qtransposeproxymodel.cpp \
|
||||
moc_qmimetype.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/3rdparty/double-conversion \
|
||||
qtbase/src/3rdparty/harfbuzz/src \
|
||||
qtbase/src/corelib/animation \
|
||||
qtbase/src/corelib/codecs \
|
||||
qtbase/src/corelib/global \
|
||||
qtbase/src/corelib/io \
|
||||
qtbase/src/corelib/itemmodels \
|
||||
qtbase/src/corelib/kernel \
|
||||
qtbase/src/corelib/mimetypes \
|
||||
qtbase/src/corelib/plugin \
|
||||
qtbase/src/corelib/serialization \
|
||||
qtbase/src/corelib/statemachine \
|
||||
qtbase/src/corelib/thread \
|
||||
qtbase/src/corelib/tools \
|
||||
qtbase/src/corelib/tools/qstring_compat.cpp global \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qabstractanimation.cpp \
|
||||
moc_qabstractanimation_p.cpp \
|
||||
moc_qvariantanimation.cpp \
|
||||
moc_qpropertyanimation.cpp \
|
||||
moc_qanimationgroup.cpp \
|
||||
moc_qsequentialanimationgroup.cpp \
|
||||
moc_qparallelanimationgroup.cpp \
|
||||
moc_qpauseanimation.cpp \
|
||||
moc_qnamespace.cpp \
|
||||
moc_qthread.cpp \
|
||||
moc_qthreadpool.cpp \
|
||||
moc_qfuturewatcher.cpp \
|
||||
moc_qcryptographichash.cpp \
|
||||
moc_qeasingcurve.cpp \
|
||||
moc_qlocale.cpp \
|
||||
moc_qtimeline.cpp \
|
||||
moc_qbuffer.cpp \
|
||||
moc_qfile.cpp \
|
||||
moc_qfiledevice.cpp \
|
||||
moc_qiodevice.cpp \
|
||||
moc_qnoncontiguousbytedevice_p.cpp \
|
||||
moc_qtemporaryfile.cpp \
|
||||
moc_qsavefile.cpp \
|
||||
moc_qstandardpaths.cpp \
|
||||
moc_qfileselector.cpp \
|
||||
moc_qfilesystemwatcher.cpp \
|
||||
moc_qfilesystemwatcher_p.cpp \
|
||||
moc_qfilesystemwatcher_polling_p.cpp \
|
||||
moc_qprocess.cpp \
|
||||
moc_qsettings.cpp \
|
||||
moc_qabstractitemmodel.cpp \
|
||||
moc_qitemselectionmodel.cpp \
|
||||
moc_qabstractproxymodel.cpp \
|
||||
moc_qconcatenatetablesproxymodel.cpp \
|
||||
moc_qidentityproxymodel.cpp \
|
||||
moc_qsortfilterproxymodel.cpp \
|
||||
moc_qtransposeproxymodel.cpp \
|
||||
moc_qstringlistmodel.cpp \
|
||||
moc_qpluginloader.cpp \
|
||||
moc_qfactoryloader_p.cpp \
|
||||
moc_qlibrary.cpp \
|
||||
moc_qabstracteventdispatcher.cpp \
|
||||
moc_qeventloop.cpp \
|
||||
moc_qcoreapplication.cpp \
|
||||
moc_qcoreevent.cpp \
|
||||
moc_qmimedata.cpp \
|
||||
moc_qobject.cpp \
|
||||
moc_qsignalmapper.cpp \
|
||||
moc_qsocketnotifier.cpp \
|
||||
moc_qtimer.cpp \
|
||||
moc_qtranslator.cpp \
|
||||
moc_qobjectcleanuphandler.cpp \
|
||||
moc_qsharedmemory.cpp \
|
||||
moc_qeventdispatcher_unix_p.cpp \
|
||||
moc_qcborcommon.cpp \
|
||||
moc_qcborvalue.cpp \
|
||||
moc_qcborstream.cpp \
|
||||
moc_qtextstream_p.cpp \
|
||||
moc_qstatemachine.cpp \
|
||||
moc_qabstractstate.cpp \
|
||||
moc_qstate.cpp \
|
||||
moc_qfinalstate.cpp \
|
||||
moc_qhistorystate.cpp \
|
||||
moc_qabstracttransition.cpp \
|
||||
moc_qsignaltransition.cpp \
|
||||
moc_qeventtransition.cpp \
|
||||
moc_qmimetype.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qtimer.moc \
|
||||
qstatemachine.moc \
|
||||
qhistorystate.moc
|
||||
|
96
repos/libports/lib/mk/qt5_declarative.mk
Normal file
96
repos/libports/lib/mk/qt5_declarative.mk
Normal file
@ -0,0 +1,96 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qmake.mk)
|
||||
|
||||
QT5_PORT_LIBS = libQt5Core libQt5Gui libQt5Network libQt5Sql libQt5Test libQt5Widgets
|
||||
|
||||
LIBS = libc libm mesa stdcxx $(QT5_PORT_LIBS)
|
||||
|
||||
built.tag: qmake_prepared.tag
|
||||
|
||||
@#
|
||||
@# run qmake
|
||||
@#
|
||||
|
||||
$(VERBOSE)source env.sh && $(QMAKE) \
|
||||
-qtconf qmake_root/mkspecs/$(QMAKE_PLATFORM)/qt.conf \
|
||||
$(QT_DIR)/qtdeclarative/qtdeclarative.pro \
|
||||
-- \
|
||||
-no-feature-qml-devtools \
|
||||
$(QT5_OUTPUT_FILTER)
|
||||
|
||||
@#
|
||||
@# build
|
||||
@#
|
||||
|
||||
$(VERBOSE)source env.sh && $(MAKE) sub-src $(QT5_OUTPUT_FILTER)
|
||||
|
||||
@#
|
||||
@# install into local 'install' directory
|
||||
@#
|
||||
|
||||
$(VERBOSE)$(MAKE) INSTALL_ROOT=$(CURDIR)/install sub-src-install_subtargets $(QT5_OUTPUT_FILTER)
|
||||
|
||||
$(VERBOSE)ln -sf .$(CURDIR)/qmake_root install/qt
|
||||
|
||||
@#
|
||||
@# create stripped versions
|
||||
@#
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/lib && \
|
||||
$(STRIP) libQt5Qml.lib.so -o libQt5Qml.lib.so.stripped && \
|
||||
$(STRIP) libQt5Quick.lib.so -o libQt5Quick.lib.so.stripped && \
|
||||
$(STRIP) libQt5QuickWidgets.lib.so -o libQt5QuickWidgets.lib.so.stripped
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/qml/Qt/labs/folderlistmodel && \
|
||||
$(STRIP) libqmlfolderlistmodelplugin.lib.so -o libqmlfolderlistmodelplugin.lib.so.stripped
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/qml/QtQuick.2 && \
|
||||
$(STRIP) libqtquick2plugin.lib.so -o libqtquick2plugin.lib.so.stripped
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/qml/QtQuick/Layouts && \
|
||||
$(STRIP) libqquicklayoutsplugin.lib.so -o libqquicklayoutsplugin.lib.so.stripped
|
||||
|
||||
$(VERBOSE)cd $(CURDIR)/install/qt/qml/QtQuick/Window.2 && \
|
||||
$(STRIP) libwindowplugin.lib.so -o libwindowplugin.lib.so.stripped
|
||||
|
||||
@#
|
||||
@# create symlinks in 'bin' directory
|
||||
@#
|
||||
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Qml.lib.so.stripped $(PWD)/bin/libQt5Qml.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Quick.lib.so.stripped $(PWD)/bin/libQt5Quick.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5QuickWidgets.lib.so.stripped $(PWD)/bin/libQt5QuickWidgets.lib.so
|
||||
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.lib.so.stripped $(PWD)/bin/libqmlfolderlistmodelplugin.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/QtQuick.2/libqtquick2plugin.lib.so.stripped $(PWD)/bin/libqtquick2plugin.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.lib.so.stripped $(PWD)/bin/libqquicklayoutsplugin.lib.so
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/QtQuick/Window.2/libwindowplugin.lib.so.stripped $(PWD)/bin/libwindowplugin.lib.so
|
||||
|
||||
@#
|
||||
@# create symlinks in 'debug' directory
|
||||
@#
|
||||
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Qml.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5Quick.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/lib/libQt5QuickWidgets.lib.so $(PWD)/debug/
|
||||
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/QtQuick.2/libqtquick2plugin.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.lib.so $(PWD)/debug/
|
||||
$(VERBOSE)ln -sf $(CURDIR)/install/qt/qml/QtQuick/Window.2/libwindowplugin.lib.so $(PWD)/debug/
|
||||
|
||||
@#
|
||||
@# create tar archives
|
||||
@#
|
||||
|
||||
$(VERBOSE)tar chf $(PWD)/bin/qt5_declarative_qml.tar --exclude='*.lib.so' --transform='s/\.stripped//' -C install qt/qml
|
||||
|
||||
@#
|
||||
@# mark as done
|
||||
@#
|
||||
|
||||
$(VERBOSE)touch $@
|
||||
|
||||
|
||||
ifeq ($(called_from_lib_mk),yes)
|
||||
all: built.tag
|
||||
endif
|
@ -1,34 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_gui.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
ifeq ($(filter-out $(SPECS),x86),)
|
||||
CC_OPT += -mno-sse2
|
||||
endif
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN = -Wno-unused-but-set-variable -Wno-deprecated-declarations
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_gui_generated.inc
|
||||
|
||||
QT_SOURCES_FILTER_OUT = \
|
||||
qdrawhelper_sse2.cpp \
|
||||
qimage_sse2.cpp
|
||||
|
||||
ifeq ($(filter-out $(SPECS),arm_64),)
|
||||
QT_DEFINES += -UENABLE_PIXMAN_DRAWHELPERS
|
||||
QT_SOURCES += qdrawhelper_neon.cpp \
|
||||
qimage_neon.cpp \
|
||||
qimagescale_neon.cpp
|
||||
endif
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
moc_qsessionmanager.cpp \
|
||||
qrc_qmake_webgradients.cpp
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core zlib libpng
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,402 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/src/gui \
|
||||
qtbase/include \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtGui/5.13.0 \
|
||||
qtbase/include/QtGui/5.13.0/QtGui \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qgenericpluginfactory.cpp \
|
||||
qgenericplugin.cpp \
|
||||
qwindowsysteminterface.cpp \
|
||||
qplatforminputcontextfactory.cpp \
|
||||
qplatforminputcontextplugin.cpp \
|
||||
qplatforminputcontext.cpp \
|
||||
qplatformintegration.cpp \
|
||||
qplatformscreen.cpp \
|
||||
qplatformintegrationfactory.cpp \
|
||||
qplatformintegrationplugin.cpp \
|
||||
qplatformtheme.cpp \
|
||||
qplatformthemefactory.cpp \
|
||||
qplatformthemeplugin.cpp \
|
||||
qplatformwindow.cpp \
|
||||
qplatformoffscreensurface.cpp \
|
||||
qplatformcursor.cpp \
|
||||
qplatformclipboard.cpp \
|
||||
qplatformnativeinterface.cpp \
|
||||
qsessionmanager.cpp \
|
||||
qsurfaceformat.cpp \
|
||||
qguiapplication.cpp \
|
||||
qwindow.cpp \
|
||||
qoffscreensurface.cpp \
|
||||
qplatformsurface.cpp \
|
||||
qsurface.cpp \
|
||||
qclipboard.cpp \
|
||||
qcursor.cpp \
|
||||
qevent.cpp \
|
||||
qinputmethod.cpp \
|
||||
qinternalmimedata.cpp \
|
||||
qkeysequence.cpp \
|
||||
qkeymapper.cpp \
|
||||
qpalette.cpp \
|
||||
qguivariant.cpp \
|
||||
qscreen.cpp \
|
||||
qshortcutmap.cpp \
|
||||
qstylehints.cpp \
|
||||
qtouchdevice.cpp \
|
||||
qplatformsharedgraphicscache.cpp \
|
||||
qplatformdialoghelper.cpp \
|
||||
qplatformservices.cpp \
|
||||
qplatformsystemtrayicon.cpp \
|
||||
qplatformsessionmanager.cpp \
|
||||
qplatformmenu.cpp \
|
||||
qpixelformat.cpp \
|
||||
qpaintdevicewindow.cpp \
|
||||
qrasterwindow.cpp \
|
||||
qplatformgraphicsbuffer.cpp \
|
||||
qplatformgraphicsbufferhelper.cpp \
|
||||
qinputdevicemanager.cpp \
|
||||
qhighdpiscaling.cpp \
|
||||
qtestsupport_gui.cpp \
|
||||
qdnd.cpp \
|
||||
qdrag.cpp \
|
||||
qplatformdrag.cpp \
|
||||
qshapedpixmapdndwindow.cpp \
|
||||
qsimpledrag.cpp \
|
||||
qplatformopenglcontext.cpp \
|
||||
qopenglcontext.cpp \
|
||||
qopenglwindow.cpp \
|
||||
qbitmap.cpp \
|
||||
qimage.cpp \
|
||||
qimage_conversions.cpp \
|
||||
qimageiohandler.cpp \
|
||||
qimagereader.cpp \
|
||||
qimagereaderwriterhelpers.cpp \
|
||||
qimagewriter.cpp \
|
||||
qpaintengine_pic.cpp \
|
||||
qpicture.cpp \
|
||||
qpictureformatplugin.cpp \
|
||||
qpixmap.cpp \
|
||||
qpixmapcache.cpp \
|
||||
qplatformpixmap.cpp \
|
||||
qpixmap_raster.cpp \
|
||||
qpixmap_blitter.cpp \
|
||||
qimagepixmapcleanuphooks.cpp \
|
||||
qicon.cpp \
|
||||
qiconloader.cpp \
|
||||
qiconengine.cpp \
|
||||
qiconengineplugin.cpp \
|
||||
qmovie.cpp \
|
||||
qbmphandler.cpp \
|
||||
qppmhandler.cpp \
|
||||
qxbmhandler.cpp \
|
||||
qxpmhandler.cpp \
|
||||
qpnghandler.cpp \
|
||||
qfont.cpp \
|
||||
qfontengine.cpp \
|
||||
qfontengineglyphcache.cpp \
|
||||
qfontsubset.cpp \
|
||||
qfontmetrics.cpp \
|
||||
qfontdatabase.cpp \
|
||||
qtextengine.cpp \
|
||||
qtextlayout.cpp \
|
||||
qtextformat.cpp \
|
||||
qtextobject.cpp \
|
||||
qtextoption.cpp \
|
||||
qfragmentmap.cpp \
|
||||
qtextdocument.cpp \
|
||||
qtextdocument_p.cpp \
|
||||
qtexthtmlparser.cpp \
|
||||
qabstracttextdocumentlayout.cpp \
|
||||
qtextdocumentlayout.cpp \
|
||||
qtextcursor.cpp \
|
||||
qtextdocumentfragment.cpp \
|
||||
qtextimagehandler.cpp \
|
||||
qtexttable.cpp \
|
||||
qtextlist.cpp \
|
||||
qtextdocumentwriter.cpp \
|
||||
qsyntaxhighlighter.cpp \
|
||||
qstatictext.cpp \
|
||||
qrawfont.cpp \
|
||||
qglyphrun.cpp \
|
||||
qdistancefield.cpp \
|
||||
qinputcontrol.cpp \
|
||||
qfontengine_qpf2.cpp \
|
||||
qplatformfontdatabase.cpp \
|
||||
qtextodfwriter.cpp \
|
||||
qzip.cpp \
|
||||
qcssparser.cpp \
|
||||
qbackingstore.cpp \
|
||||
qbezier.cpp \
|
||||
qblendfunctions.cpp \
|
||||
qblittable.cpp \
|
||||
qbrush.cpp \
|
||||
qcolor.cpp \
|
||||
qcolorprofile.cpp \
|
||||
qcompositionfunctions.cpp \
|
||||
qcosmeticstroker.cpp \
|
||||
qemulationpaintengine.cpp \
|
||||
qgrayraster.c \
|
||||
qimagescale.cpp \
|
||||
qmatrix.cpp \
|
||||
qmemrotate.cpp \
|
||||
qoutlinemapper.cpp \
|
||||
qpagedpaintdevice.cpp \
|
||||
qpagelayout.cpp \
|
||||
qpagesize.cpp \
|
||||
qpaintdevice.cpp \
|
||||
qpaintengine.cpp \
|
||||
qpaintengineex.cpp \
|
||||
qpaintengine_blitter.cpp \
|
||||
qpaintengine_raster.cpp \
|
||||
qpainter.cpp \
|
||||
qpainterpath.cpp \
|
||||
qpathclipper.cpp \
|
||||
qpdf.cpp \
|
||||
qpdfwriter.cpp \
|
||||
qpen.cpp \
|
||||
qpolygon.cpp \
|
||||
qrasterizer.cpp \
|
||||
qregion.cpp \
|
||||
qstroker.cpp \
|
||||
qtextureglyphcache.cpp \
|
||||
qtransform.cpp \
|
||||
qtriangulatingstroker.cpp \
|
||||
qtriangulator.cpp \
|
||||
qplatformbackingstore.cpp \
|
||||
qpathsimplifier.cpp \
|
||||
qcssutil.cpp \
|
||||
qdesktopservices.cpp \
|
||||
qvalidator.cpp \
|
||||
qgridlayoutengine.cpp \
|
||||
qabstractlayoutstyleinfo.cpp \
|
||||
qlayoutpolicy.cpp \
|
||||
qshaderformat.cpp \
|
||||
qshadergenerator.cpp \
|
||||
qshadergraph.cpp \
|
||||
qshadergraphloader.cpp \
|
||||
qshaderlanguage.cpp \
|
||||
qshadernode.cpp \
|
||||
qshadernodeport.cpp \
|
||||
qshadernodesloader.cpp \
|
||||
qtexturefiledata.cpp \
|
||||
qtexturefilereader.cpp \
|
||||
qpkmhandler.cpp \
|
||||
qktxhandler.cpp \
|
||||
qastchandler.cpp \
|
||||
qgenericmatrix.cpp \
|
||||
qmatrix4x4.cpp \
|
||||
qquaternion.cpp \
|
||||
qvector2d.cpp \
|
||||
qvector3d.cpp \
|
||||
qvector4d.cpp \
|
||||
qopengl.cpp \
|
||||
qopenglfunctions.cpp \
|
||||
qopenglframebufferobject.cpp \
|
||||
qopenglpaintdevice.cpp \
|
||||
qopenglbuffer.cpp \
|
||||
qopenglshaderprogram.cpp \
|
||||
qopenglgradientcache.cpp \
|
||||
qopengltexturecache.cpp \
|
||||
qopenglengineshadermanager.cpp \
|
||||
qopengl2pexvertexarray.cpp \
|
||||
qopenglpaintengine.cpp \
|
||||
qopenglcustomshaderstage.cpp \
|
||||
qopengltextureglyphcache.cpp \
|
||||
qopenglversionfunctions.cpp \
|
||||
qopenglversionfunctionsfactory.cpp \
|
||||
qopenglvertexarrayobject.cpp \
|
||||
qopengldebug.cpp \
|
||||
qopengltextureblitter.cpp \
|
||||
qopengltexture.cpp \
|
||||
qopengltexturehelper.cpp \
|
||||
qopengltextureuploader.cpp \
|
||||
qopenglpixeltransferoptions.cpp \
|
||||
qopenglprogrambinarycache.cpp \
|
||||
qopenglfunctions_1_0.cpp \
|
||||
qopenglfunctions_1_1.cpp \
|
||||
qopenglfunctions_1_2.cpp \
|
||||
qopenglfunctions_1_3.cpp \
|
||||
qopenglfunctions_1_4.cpp \
|
||||
qopenglfunctions_1_5.cpp \
|
||||
qopenglfunctions_2_0.cpp \
|
||||
qopenglfunctions_2_1.cpp \
|
||||
qopenglfunctions_3_0.cpp \
|
||||
qopenglfunctions_3_1.cpp \
|
||||
qopenglfunctions_3_2_core.cpp \
|
||||
qopenglfunctions_3_3_core.cpp \
|
||||
qopenglfunctions_4_0_core.cpp \
|
||||
qopenglfunctions_4_1_core.cpp \
|
||||
qopenglfunctions_4_2_core.cpp \
|
||||
qopenglfunctions_4_3_core.cpp \
|
||||
qopenglfunctions_4_4_core.cpp \
|
||||
qopenglfunctions_4_5_core.cpp \
|
||||
qopenglfunctions_3_2_compatibility.cpp \
|
||||
qopenglfunctions_3_3_compatibility.cpp \
|
||||
qopenglfunctions_4_0_compatibility.cpp \
|
||||
qopenglfunctions_4_1_compatibility.cpp \
|
||||
qopenglfunctions_4_2_compatibility.cpp \
|
||||
qopenglfunctions_4_3_compatibility.cpp \
|
||||
qopenglfunctions_4_4_compatibility.cpp \
|
||||
qopenglfunctions_4_5_compatibility.cpp \
|
||||
qopengltimerquery.cpp \
|
||||
qguivariantanimation.cpp \
|
||||
qstandarditemmodel.cpp \
|
||||
qimage_compat.cpp \
|
||||
qdrawhelper.cpp \
|
||||
qdrawhelper_sse2.cpp \
|
||||
qrc_qpdf.cpp \
|
||||
qrc_qmake_webgradients.cpp \
|
||||
moc_qgenericplugin.cpp \
|
||||
moc_qplatforminputcontext.cpp \
|
||||
moc_qplatforminputcontextplugin_p.cpp \
|
||||
moc_qplatformintegrationplugin.cpp \
|
||||
moc_qplatformthemeplugin.cpp \
|
||||
moc_qplatformnativeinterface.cpp \
|
||||
moc_qplatformmenu.cpp \
|
||||
moc_qsurfaceformat.cpp \
|
||||
moc_qoffscreensurface.cpp \
|
||||
moc_qsurface.cpp \
|
||||
moc_qclipboard.cpp \
|
||||
moc_qevent.cpp \
|
||||
moc_qinternalmimedata_p.cpp \
|
||||
moc_qkeysequence.cpp \
|
||||
moc_qkeymapper_p.cpp \
|
||||
moc_qpalette.cpp \
|
||||
moc_qsessionmanager.cpp \
|
||||
moc_qscreen.cpp \
|
||||
moc_qstylehints.cpp \
|
||||
moc_qtouchdevice.cpp \
|
||||
moc_qplatformsharedgraphicscache.cpp \
|
||||
moc_qplatformdialoghelper.cpp \
|
||||
moc_qpaintdevicewindow.cpp \
|
||||
moc_qrasterwindow.cpp \
|
||||
moc_qplatformgraphicsbuffer.cpp \
|
||||
moc_qinputdevicemanager_p.cpp \
|
||||
moc_qdnd_p.cpp \
|
||||
moc_qdrag.cpp \
|
||||
moc_qshapedpixmapdndwindow_p.cpp \
|
||||
moc_qopenglwindow.cpp \
|
||||
moc_qimage.cpp \
|
||||
moc_qimageiohandler.cpp \
|
||||
moc_qpictureformatplugin.cpp \
|
||||
moc_qiconengineplugin.cpp \
|
||||
moc_qfont.cpp \
|
||||
moc_qfontdatabase.cpp \
|
||||
moc_qtextformat.cpp \
|
||||
moc_qtextobject.cpp \
|
||||
moc_qtextdocument.cpp \
|
||||
moc_qtextimagehandler_p.cpp \
|
||||
moc_qtexttable.cpp \
|
||||
moc_qtextlist.cpp \
|
||||
moc_qinputcontrol_p.cpp \
|
||||
moc_qbrush.cpp \
|
||||
moc_qpainter.cpp \
|
||||
moc_qpdfwriter.cpp \
|
||||
moc_qplatformbackingstore.cpp \
|
||||
moc_qvalidator.cpp \
|
||||
moc_qlayoutpolicy_p.cpp \
|
||||
moc_qshaderlanguage_p.cpp \
|
||||
moc_qopenglshaderprogram.cpp \
|
||||
moc_qopenglengineshadermanager_p.cpp \
|
||||
moc_qopengltexture.cpp \
|
||||
moc_qopengltimerquery.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/gui/animation \
|
||||
qtbase/src/gui/image \
|
||||
qtbase/src/gui/itemmodels \
|
||||
qtbase/src/gui/kernel \
|
||||
qtbase/src/gui/math3d \
|
||||
qtbase/src/gui/opengl \
|
||||
qtbase/src/gui/painting \
|
||||
qtbase/src/gui/text \
|
||||
qtbase/src/gui/util \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qgenericplugin.cpp \
|
||||
moc_qplatforminputcontext.cpp \
|
||||
moc_qplatforminputcontextplugin_p.cpp \
|
||||
moc_qplatformintegrationplugin.cpp \
|
||||
moc_qplatformthemeplugin.cpp \
|
||||
moc_qplatformnativeinterface.cpp \
|
||||
moc_qplatformmenu.cpp \
|
||||
moc_qsurfaceformat.cpp \
|
||||
moc_qguiapplication.cpp \
|
||||
moc_qwindow.cpp \
|
||||
moc_qoffscreensurface.cpp \
|
||||
moc_qsurface.cpp \
|
||||
moc_qclipboard.cpp \
|
||||
moc_qevent.cpp \
|
||||
moc_qinputmethod.cpp \
|
||||
moc_qinternalmimedata_p.cpp \
|
||||
moc_qkeysequence.cpp \
|
||||
moc_qkeymapper_p.cpp \
|
||||
moc_qpalette.cpp \
|
||||
moc_qsessionmanager.cpp \
|
||||
moc_qscreen.cpp \
|
||||
moc_qstylehints.cpp \
|
||||
moc_qtouchdevice.cpp \
|
||||
moc_qplatformsharedgraphicscache.cpp \
|
||||
moc_qplatformdialoghelper.cpp \
|
||||
moc_qplatformsystemtrayicon.cpp \
|
||||
moc_qpaintdevicewindow.cpp \
|
||||
moc_qrasterwindow.cpp \
|
||||
moc_qplatformgraphicsbuffer.cpp \
|
||||
moc_qinputdevicemanager_p.cpp \
|
||||
moc_qdnd_p.cpp \
|
||||
moc_qdrag.cpp \
|
||||
moc_qshapedpixmapdndwindow_p.cpp \
|
||||
moc_qopenglcontext.cpp \
|
||||
moc_qopenglwindow.cpp \
|
||||
moc_qimage.cpp \
|
||||
moc_qimageiohandler.cpp \
|
||||
moc_qpictureformatplugin.cpp \
|
||||
moc_qiconengineplugin.cpp \
|
||||
moc_qmovie.cpp \
|
||||
moc_qfont.cpp \
|
||||
moc_qfontdatabase.cpp \
|
||||
moc_qtextformat.cpp \
|
||||
moc_qtextobject.cpp \
|
||||
moc_qtextdocument.cpp \
|
||||
moc_qabstracttextdocumentlayout.cpp \
|
||||
moc_qtextdocumentlayout_p.cpp \
|
||||
moc_qtextimagehandler_p.cpp \
|
||||
moc_qtexttable.cpp \
|
||||
moc_qtextlist.cpp \
|
||||
moc_qsyntaxhighlighter.cpp \
|
||||
moc_qinputcontrol_p.cpp \
|
||||
moc_qbrush.cpp \
|
||||
moc_qpainter.cpp \
|
||||
moc_qpdfwriter.cpp \
|
||||
moc_qplatformbackingstore.cpp \
|
||||
moc_qvalidator.cpp \
|
||||
moc_qlayoutpolicy_p.cpp \
|
||||
moc_qshaderlanguage_p.cpp \
|
||||
moc_qopenglshaderprogram.cpp \
|
||||
moc_qopenglengineshadermanager_p.cpp \
|
||||
moc_qopenglvertexarrayobject.cpp \
|
||||
moc_qopengldebug.cpp \
|
||||
moc_qopengltexture.cpp \
|
||||
moc_qopengltimerquery.cpp \
|
||||
moc_qstandarditemmodel.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qpixmapcache.moc \
|
||||
qdesktopservices.moc
|
||||
|
@ -1,22 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_jscore.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# additional defines for the Genode version
|
||||
CC_OPT += -DSQLITE_NO_SYNC=1 -DSQLITE_THREADSAFE=0
|
||||
|
||||
# enable C++ functions that use C99 math functions (disabled by default in the Genode tool chain)
|
||||
CC_CXX_OPT += -D_GLIBCXX_USE_C99_MATH
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_jscore_generated.inc
|
||||
|
||||
QT_INCPATH += qtwebkit/Source/JavaScriptCore/generated
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_network qt5_core icu libc libm
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,365 +0,0 @@
|
||||
QT_DEFINES += -DBUILDING_QT__=1 -DNDEBUG -DENABLE_3D_RENDERING=1 -DENABLE_ACCELERATED_2D_CANVAS=1 -DENABLE_BLOB=1 -DENABLE_CANVAS_PATH=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=1 -DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_SET=1 -DENABLE_CSS_REGIONS=1 -DENABLE_CSS_SHAPES=1 -DENABLE_CSS_STICKY_POSITION=1 -DENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED=1 -DENABLE_DATALIST_ELEMENT=1 -DENABLE_DETAILS_ELEMENT=1 -DENABLE_DOWNLOAD_ATTRIBUTE=1 -DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1 -DENABLE_FULLSCREEN_API=1 -DENABLE_GESTURE_EVENTS=1 -DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1 -DENABLE_INPUT_TYPE_COLOR=1 -DENABLE_INSPECTOR=1 -DENABLE_INSPECTOR_SERVER=1 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_NOTIFICATIONS=1 -DENABLE_LEGACY_VIEWPORT_ADAPTION=1 -DENABLE_LEGACY_VENDOR_PREFIXES=1 -DENABLE_LEGACY_WEB_AUDIO=1 -DENABLE_LINK_PREFETCH=1 -DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_PAGE_VISIBILITY_API=1 -DENABLE_PROGRESS_ELEMENT=1 -DENABLE_RESOLUTION_MEDIA_QUERY=1 -DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SHARED_WORKERS=1 -DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SQL_DATABASE=1 -DENABLE_SUBPIXEL_LAYOUT=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_TOUCH_ADJUSTMENT=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_TOUCH_SLIDER=1 -DENABLE_VIEW_MODE_CSS_MEDIA=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1 -DWTF_USE_TILED_BACKING_STORE=1 -DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1 -DHAVE_QTPRINTSUPPORT=1 -DHAVE_QSTYLE=1 -DHAVE_QTTESTLIB=1 -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1 -DHAVE_FONTCONFIG=1 -DPLUGIN_ARCHITECTURE_UNSUPPORTED=1 -DWTF_USE_3D_GRAPHICS=1 -DENABLE_WEBGL=1 -DENABLE_BATTERY_STATUS=0 -DENABLE_CANVAS_PROXY=0 -DENABLE_CSP_NEXT=0 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_HIERARCHIES=0 -DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0 -DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0 -DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CSS3_TEXT=0 -DENABLE_CSS3_TEXT_LINE_BREAK=0 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_DATAGRID=0 -DENABLE_DATA_TRANSFER_ITEMS=0 -DENABLE_DEVICE_ORIENTATION=0 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_FONT_LOAD_EVENTS=0 -DENABLE_GAMEPAD=0 -DENABLE_GEOLOCATION=0 -DENABLE_HIGH_DPI_CANVAS=0 -DENABLE_INDEXED_DATABASE=0 -DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_DATE=0 -DENABLE_INPUT_TYPE_DATETIME_INCOMPLETE=0 -DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0 -DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0 -DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_MATHML=0 -DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_MEDIA_STREAM=0 -DENABLE_MICRODATA=0 -DENABLE_MOUSE_CURSOR_SCALE=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETSCAPE_PLUGIN_API=0 -DENABLE_NETWORK_INFO=0 -DENABLE_NOSNIFF=0 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0 -DENABLE_RESOURCE_TIMING=0 -DENABLE_SCRIPTED_SPEECH=0 -DENABLE_SECCOMP_FILTERS=0 -DENABLE_SHADOW_DOM=0 -DENABLE_STYLE_SCOPED=0 -DENABLE_TEMPLATE_ELEMENT=0 -DENABLE_TEXT_AUTOSIZING=0 -DENABLE_THREADED_HTML_PARSER=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_USER_TIMING=0 -DENABLE_VIBRATION=0 -DENABLE_VIDEO=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_WEB_AUDIO=0 -DENABLE_XSLT=0 -DSTATICALLY_LINKED_WITH_WTF -DBUILDING_JavaScriptCore -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtwebkit/Source/JavaScriptCore \
|
||||
qtwebkit/Source/JavaScriptCore \
|
||||
qtwebkit/Source \
|
||||
qtwebkit/Source/WTF \
|
||||
qtwebkit/Source/JavaScriptCore/assembler \
|
||||
qtwebkit/Source/JavaScriptCore/bytecode \
|
||||
qtwebkit/Source/JavaScriptCore/bytecompiler \
|
||||
qtwebkit/Source/JavaScriptCore/heap \
|
||||
qtwebkit/Source/JavaScriptCore/dfg \
|
||||
qtwebkit/Source/JavaScriptCore/debugger \
|
||||
qtwebkit/Source/JavaScriptCore/disassembler \
|
||||
qtwebkit/Source/JavaScriptCore/interpreter \
|
||||
qtwebkit/Source/JavaScriptCore/jit \
|
||||
qtwebkit/Source/JavaScriptCore/llint \
|
||||
qtwebkit/Source/JavaScriptCore/parser \
|
||||
qtwebkit/Source/JavaScriptCore/profiler \
|
||||
qtwebkit/Source/JavaScriptCore/runtime \
|
||||
qtwebkit/Source/JavaScriptCore/tools \
|
||||
qtwebkit/Source/JavaScriptCore/yarr \
|
||||
qtwebkit/Source/JavaScriptCore/API \
|
||||
qtwebkit/Source/JavaScriptCore/ForwardingHeaders \
|
||||
qtwebkit/Source/JavaScriptCore/disassembler/udis86 \
|
||||
qtwebkit/Source \
|
||||
qtwebkit/Source/WTF \
|
||||
qtbase/include \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
YarrInterpreter.cpp \
|
||||
YarrPattern.cpp \
|
||||
YarrSyntaxChecker.cpp \
|
||||
YarrCanonicalizeUCS2.cpp \
|
||||
JSBase.cpp \
|
||||
JSCallbackConstructor.cpp \
|
||||
JSCallbackFunction.cpp \
|
||||
JSCallbackObject.cpp \
|
||||
JSClassRef.cpp \
|
||||
JSContextRef.cpp \
|
||||
JSObjectRef.cpp \
|
||||
JSScriptRef.cpp \
|
||||
JSStringRef.cpp \
|
||||
JSStringRefQt.cpp \
|
||||
JSValueRef.cpp \
|
||||
JSWeakObjectMapRefPrivate.cpp \
|
||||
OpaqueJSString.cpp \
|
||||
ARMAssembler.cpp \
|
||||
ARMv7Assembler.cpp \
|
||||
LinkBuffer.cpp \
|
||||
MacroAssembler.cpp \
|
||||
MacroAssemblerARM.cpp \
|
||||
ArrayAllocationProfile.cpp \
|
||||
ArrayProfile.cpp \
|
||||
CallLinkInfo.cpp \
|
||||
CallLinkStatus.cpp \
|
||||
CodeBlock.cpp \
|
||||
CodeBlockHash.cpp \
|
||||
CodeOrigin.cpp \
|
||||
CodeType.cpp \
|
||||
DFGExitProfile.cpp \
|
||||
ExecutionCounter.cpp \
|
||||
ExitKind.cpp \
|
||||
GetByIdStatus.cpp \
|
||||
JumpTable.cpp \
|
||||
LazyOperandValueProfile.cpp \
|
||||
MethodOfGettingAValueProfile.cpp \
|
||||
Opcode.cpp \
|
||||
PolymorphicPutByIdList.cpp \
|
||||
PreciseJumpTargets.cpp \
|
||||
PutByIdStatus.cpp \
|
||||
ReduceWhitespace.cpp \
|
||||
ResolveGlobalStatus.cpp \
|
||||
SamplingTool.cpp \
|
||||
SpecialPointer.cpp \
|
||||
SpeculatedType.cpp \
|
||||
StructureStubClearingWatchpoint.cpp \
|
||||
StructureStubInfo.cpp \
|
||||
UnlinkedCodeBlock.cpp \
|
||||
Watchpoint.cpp \
|
||||
BytecodeGenerator.cpp \
|
||||
NodesCodegen.cpp \
|
||||
CopiedSpace.cpp \
|
||||
CopyVisitor.cpp \
|
||||
ConservativeRoots.cpp \
|
||||
DFGCodeBlocks.cpp \
|
||||
Weak.cpp \
|
||||
WeakBlock.cpp \
|
||||
WeakHandleOwner.cpp \
|
||||
WeakSet.cpp \
|
||||
HandleSet.cpp \
|
||||
HandleStack.cpp \
|
||||
BlockAllocator.cpp \
|
||||
GCThreadSharedData.cpp \
|
||||
GCThread.cpp \
|
||||
Heap.cpp \
|
||||
HeapStatistics.cpp \
|
||||
HeapTimer.cpp \
|
||||
IncrementalSweeper.cpp \
|
||||
JITStubRoutineSet.cpp \
|
||||
MachineStackMarker.cpp \
|
||||
MarkStack.cpp \
|
||||
MarkedAllocator.cpp \
|
||||
MarkedBlock.cpp \
|
||||
MarkedSpace.cpp \
|
||||
SlotVisitor.cpp \
|
||||
SuperRegion.cpp \
|
||||
VTableSpectrum.cpp \
|
||||
WriteBarrierSupport.cpp \
|
||||
DebuggerActivation.cpp \
|
||||
DebuggerCallFrame.cpp \
|
||||
Debugger.cpp \
|
||||
DFGAbstractState.cpp \
|
||||
DFGArgumentsSimplificationPhase.cpp \
|
||||
DFGArrayMode.cpp \
|
||||
DFGAssemblyHelpers.cpp \
|
||||
DFGBackwardsPropagationPhase.cpp \
|
||||
DFGByteCodeParser.cpp \
|
||||
DFGCapabilities.cpp \
|
||||
DFGCommon.cpp \
|
||||
DFGCFAPhase.cpp \
|
||||
DFGCFGSimplificationPhase.cpp \
|
||||
DFGCPSRethreadingPhase.cpp \
|
||||
DFGConstantFoldingPhase.cpp \
|
||||
DFGCSEPhase.cpp \
|
||||
DFGDCEPhase.cpp \
|
||||
DFGDisassembler.cpp \
|
||||
DFGDominators.cpp \
|
||||
DFGDriver.cpp \
|
||||
DFGEdge.cpp \
|
||||
DFGFixupPhase.cpp \
|
||||
DFGGraph.cpp \
|
||||
DFGJITCompiler.cpp \
|
||||
DFGLongLivedState.cpp \
|
||||
DFGMinifiedNode.cpp \
|
||||
DFGNode.cpp \
|
||||
DFGNodeFlags.cpp \
|
||||
DFGOperations.cpp \
|
||||
DFGOSREntry.cpp \
|
||||
DFGOSRExit.cpp \
|
||||
DFGOSRExitCompiler.cpp \
|
||||
DFGOSRExitCompiler64.cpp \
|
||||
DFGOSRExitCompiler32_64.cpp \
|
||||
DFGOSRExitJumpPlaceholder.cpp \
|
||||
DFGPhase.cpp \
|
||||
DFGPredictionPropagationPhase.cpp \
|
||||
DFGPredictionInjectionPhase.cpp \
|
||||
DFGRepatch.cpp \
|
||||
DFGSpeculativeJIT.cpp \
|
||||
DFGSpeculativeJIT32_64.cpp \
|
||||
DFGSpeculativeJIT64.cpp \
|
||||
DFGTypeCheckHoistingPhase.cpp \
|
||||
DFGThunks.cpp \
|
||||
DFGUnificationPhase.cpp \
|
||||
DFGUseKind.cpp \
|
||||
DFGValueSource.cpp \
|
||||
DFGVariableAccessDataDump.cpp \
|
||||
DFGVariableEvent.cpp \
|
||||
DFGVariableEventStream.cpp \
|
||||
DFGValidate.cpp \
|
||||
DFGVirtualRegisterAllocationPhase.cpp \
|
||||
Disassembler.cpp \
|
||||
AbstractPC.cpp \
|
||||
CallFrame.cpp \
|
||||
Interpreter.cpp \
|
||||
JSStack.cpp \
|
||||
ClosureCallStubRoutine.cpp \
|
||||
ExecutableAllocatorFixedVMPool.cpp \
|
||||
ExecutableAllocator.cpp \
|
||||
HostCallReturnValue.cpp \
|
||||
GCAwareJITStubRoutine.cpp \
|
||||
JITArithmetic.cpp \
|
||||
JITArithmetic32_64.cpp \
|
||||
JITCall.cpp \
|
||||
JITCall32_64.cpp \
|
||||
JITCode.cpp \
|
||||
JIT.cpp \
|
||||
JITDisassembler.cpp \
|
||||
JITExceptions.cpp \
|
||||
JITOpcodes.cpp \
|
||||
JITOpcodes32_64.cpp \
|
||||
JITPropertyAccess.cpp \
|
||||
JITPropertyAccess32_64.cpp \
|
||||
JITStubRoutine.cpp \
|
||||
JITStubs.cpp \
|
||||
JITThunks.cpp \
|
||||
JumpReplacementWatchpoint.cpp \
|
||||
ThunkGenerators.cpp \
|
||||
LLIntCLoop.cpp \
|
||||
LLIntData.cpp \
|
||||
LLIntEntrypoints.cpp \
|
||||
LLIntExceptions.cpp \
|
||||
LLIntSlowPaths.cpp \
|
||||
LLIntThunks.cpp \
|
||||
LowLevelInterpreter.cpp \
|
||||
Lexer.cpp \
|
||||
Nodes.cpp \
|
||||
ParserArena.cpp \
|
||||
Parser.cpp \
|
||||
SourceProvider.cpp \
|
||||
SourceProviderCache.cpp \
|
||||
ProfilerBytecode.cpp \
|
||||
ProfilerBytecodeSequence.cpp \
|
||||
ProfilerBytecodes.cpp \
|
||||
ProfilerCompilation.cpp \
|
||||
ProfilerCompilationKind.cpp \
|
||||
ProfilerCompiledBytecode.cpp \
|
||||
ProfilerDatabase.cpp \
|
||||
ProfilerOrigin.cpp \
|
||||
ProfilerOriginStack.cpp \
|
||||
ProfilerOSRExit.cpp \
|
||||
ProfilerOSRExitSite.cpp \
|
||||
ProfilerProfiledBytecodes.cpp \
|
||||
Profile.cpp \
|
||||
ProfileGenerator.cpp \
|
||||
ProfileNode.cpp \
|
||||
LegacyProfiler.cpp \
|
||||
ArgList.cpp \
|
||||
Arguments.cpp \
|
||||
ArrayConstructor.cpp \
|
||||
ArrayPrototype.cpp \
|
||||
BooleanConstructor.cpp \
|
||||
BooleanObject.cpp \
|
||||
BooleanPrototype.cpp \
|
||||
CallData.cpp \
|
||||
CodeCache.cpp \
|
||||
CodeSpecializationKind.cpp \
|
||||
CommonIdentifiers.cpp \
|
||||
Completion.cpp \
|
||||
ConstructData.cpp \
|
||||
DateConstructor.cpp \
|
||||
DateConversion.cpp \
|
||||
DateInstance.cpp \
|
||||
DatePrototype.cpp \
|
||||
ErrorConstructor.cpp \
|
||||
Error.cpp \
|
||||
ErrorInstance.cpp \
|
||||
ErrorPrototype.cpp \
|
||||
ExceptionHelpers.cpp \
|
||||
Executable.cpp \
|
||||
FunctionConstructor.cpp \
|
||||
FunctionExecutableDump.cpp \
|
||||
FunctionPrototype.cpp \
|
||||
GCActivityCallback.cpp \
|
||||
GetterSetter.cpp \
|
||||
Options.cpp \
|
||||
Identifier.cpp \
|
||||
IndexingType.cpp \
|
||||
InitializeThreading.cpp \
|
||||
InternalFunction.cpp \
|
||||
JSActivation.cpp \
|
||||
JSAPIValueWrapper.cpp \
|
||||
JSArray.cpp \
|
||||
JSCell.cpp \
|
||||
JSDateMath.cpp \
|
||||
JSFunction.cpp \
|
||||
JSBoundFunction.cpp \
|
||||
VM.cpp \
|
||||
JSGlobalObject.cpp \
|
||||
JSGlobalObjectFunctions.cpp \
|
||||
JSProxy.cpp \
|
||||
JSLock.cpp \
|
||||
JSNotAnObject.cpp \
|
||||
JSObject.cpp \
|
||||
JSONObject.cpp \
|
||||
JSPropertyNameIterator.cpp \
|
||||
JSSegmentedVariableObject.cpp \
|
||||
JSWithScope.cpp \
|
||||
JSNameScope.cpp \
|
||||
JSScope.cpp \
|
||||
JSString.cpp \
|
||||
JSStringJoiner.cpp \
|
||||
JSSymbolTableObject.cpp \
|
||||
JSCJSValue.cpp \
|
||||
JSVariableObject.cpp \
|
||||
JSWrapperObject.cpp \
|
||||
LiteralParser.cpp \
|
||||
Lookup.cpp \
|
||||
MathObject.cpp \
|
||||
MemoryStatistics.cpp \
|
||||
NameConstructor.cpp \
|
||||
NameInstance.cpp \
|
||||
NamePrototype.cpp \
|
||||
NativeErrorConstructor.cpp \
|
||||
NativeErrorPrototype.cpp \
|
||||
NumberConstructor.cpp \
|
||||
NumberObject.cpp \
|
||||
NumberPrototype.cpp \
|
||||
ObjectConstructor.cpp \
|
||||
ObjectPrototype.cpp \
|
||||
Operations.cpp \
|
||||
PropertyDescriptor.cpp \
|
||||
PropertyNameArray.cpp \
|
||||
PropertySlot.cpp \
|
||||
PropertyTable.cpp \
|
||||
PrototypeMap.cpp \
|
||||
RegExpConstructor.cpp \
|
||||
RegExpCachedResult.cpp \
|
||||
RegExpMatchesArray.cpp \
|
||||
RegExp.cpp \
|
||||
RegExpObject.cpp \
|
||||
RegExpPrototype.cpp \
|
||||
RegExpCache.cpp \
|
||||
SamplingCounter.cpp \
|
||||
SmallStrings.cpp \
|
||||
SparseArrayValueMap.cpp \
|
||||
StrictEvalActivation.cpp \
|
||||
StringConstructor.cpp \
|
||||
StringObject.cpp \
|
||||
StringPrototype.cpp \
|
||||
StringRecursionChecker.cpp \
|
||||
StructureChain.cpp \
|
||||
Structure.cpp \
|
||||
StructureRareData.cpp \
|
||||
SymbolTable.cpp \
|
||||
Watchdog.cpp \
|
||||
WatchdogNone.cpp \
|
||||
CodeProfile.cpp \
|
||||
CodeProfiling.cpp \
|
||||
YarrJIT.cpp \
|
||||
UDis86Disassembler.cpp \
|
||||
udis86.c \
|
||||
udis86_decode.c \
|
||||
udis86_input.c \
|
||||
udis86_itab_holder.c \
|
||||
udis86_syn-att.c \
|
||||
udis86_syn-intel.c \
|
||||
udis86_syn.c
|
||||
|
||||
QT_VPATH += \
|
||||
qtwebkit/Source/JavaScriptCore/API \
|
||||
qtwebkit/Source/JavaScriptCore/assembler \
|
||||
qtwebkit/Source/JavaScriptCore/bytecode \
|
||||
qtwebkit/Source/JavaScriptCore/bytecompiler \
|
||||
qtwebkit/Source/JavaScriptCore/debugger \
|
||||
qtwebkit/Source/JavaScriptCore/dfg \
|
||||
qtwebkit/Source/JavaScriptCore/disassembler \
|
||||
qtwebkit/Source/JavaScriptCore/disassembler/udis86 \
|
||||
qtwebkit/Source/JavaScriptCore/heap \
|
||||
qtwebkit/Source/JavaScriptCore/interpreter \
|
||||
qtwebkit/Source/JavaScriptCore/jit \
|
||||
qtwebkit/Source/JavaScriptCore/llint \
|
||||
qtwebkit/Source/JavaScriptCore/parser \
|
||||
qtwebkit/Source/JavaScriptCore/profiler \
|
||||
qtwebkit/Source/JavaScriptCore/runtime \
|
||||
qtwebkit/Source/JavaScriptCore/tools \
|
||||
qtwebkit/Source/JavaScriptCore/yarr \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
|
||||
|
@ -1,29 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_network.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_network_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
moc_qbearerengine_p.cpp \
|
||||
moc_qbearerplugin_p.cpp \
|
||||
moc_qnetworkaccessdebugpipebackend_p.cpp \
|
||||
moc_qnetworkconfigmanager.cpp \
|
||||
moc_qnetworkconfigmanager_p.cpp \
|
||||
moc_qnetworksession.cpp \
|
||||
moc_qnetworksession_p.cpp \
|
||||
moc_qsslsocket_openssl_p.cpp
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
QT5_INC_DIR += $(QT5_CONTRIB_DIR)/qtbase/src/network/access
|
||||
|
||||
LIBS += qt5_core zlib libc libssl
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,211 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/src/network \
|
||||
qtbase/src/network/kernel \
|
||||
qtbase/include \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtNetwork/5.13.0 \
|
||||
qtbase/include/QtNetwork/5.13.0/QtNetwork \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qnetworkaccessauthenticationmanager.cpp \
|
||||
qnetworkaccessmanager.cpp \
|
||||
qnetworkaccesscache.cpp \
|
||||
qnetworkaccessbackend.cpp \
|
||||
qnetworkaccessdebugpipebackend.cpp \
|
||||
qnetworkaccessfilebackend.cpp \
|
||||
qnetworkaccesscachebackend.cpp \
|
||||
qnetworkcookie.cpp \
|
||||
qnetworkcookiejar.cpp \
|
||||
qnetworkrequest.cpp \
|
||||
qnetworkreply.cpp \
|
||||
qnetworkreplyimpl.cpp \
|
||||
qnetworkreplydataimpl.cpp \
|
||||
qnetworkreplyfileimpl.cpp \
|
||||
qabstractnetworkcache.cpp \
|
||||
qnetworkfile.cpp \
|
||||
qhsts.cpp \
|
||||
qhstspolicy.cpp \
|
||||
qftp.cpp \
|
||||
qnetworkaccessftpbackend.cpp \
|
||||
qnetworkdiskcache.cpp \
|
||||
qhstsstore.cpp \
|
||||
bitstreams.cpp \
|
||||
huffman.cpp \
|
||||
hpack.cpp \
|
||||
hpacktable.cpp \
|
||||
http2frames.cpp \
|
||||
http2streams.cpp \
|
||||
http2protocol.cpp \
|
||||
qabstractprotocolhandler.cpp \
|
||||
qhttp2protocolhandler.cpp \
|
||||
qhttpmultipart.cpp \
|
||||
qhttpnetworkconnection.cpp \
|
||||
qhttpnetworkconnectionchannel.cpp \
|
||||
qhttpnetworkheader.cpp \
|
||||
qhttpnetworkreply.cpp \
|
||||
qhttpnetworkrequest.cpp \
|
||||
qhttpprotocolhandler.cpp \
|
||||
qhttpthreaddelegate.cpp \
|
||||
qnetworkreplyhttpimpl.cpp \
|
||||
qspdyprotocolhandler.cpp \
|
||||
qnetworksession.cpp \
|
||||
qnetworkconfigmanager.cpp \
|
||||
qnetworkconfiguration.cpp \
|
||||
qnetworkconfigmanager_p.cpp \
|
||||
qbearerengine.cpp \
|
||||
qbearerplugin.cpp \
|
||||
qsharednetworksession.cpp \
|
||||
qauthenticator.cpp \
|
||||
qhostaddress.cpp \
|
||||
qhostinfo.cpp \
|
||||
qnetworkdatagram.cpp \
|
||||
qnetworkinterface.cpp \
|
||||
qnetworkproxy.cpp \
|
||||
qurlinfo.cpp \
|
||||
qdnslookup.cpp \
|
||||
qdnslookup_unix.cpp \
|
||||
qhostinfo_unix.cpp \
|
||||
qnetworkinterface_linux.cpp \
|
||||
qnetworkproxy_generic.cpp \
|
||||
qabstractsocketengine.cpp \
|
||||
qabstractsocket.cpp \
|
||||
qtcpsocket.cpp \
|
||||
qudpsocket.cpp \
|
||||
qtcpserver.cpp \
|
||||
qsocks5socketengine.cpp \
|
||||
qhttpsocketengine.cpp \
|
||||
qnativesocketengine.cpp \
|
||||
qnativesocketengine_unix.cpp \
|
||||
qlocalsocket.cpp \
|
||||
qlocalserver.cpp \
|
||||
qlocalsocket_unix.cpp \
|
||||
qlocalserver_unix.cpp \
|
||||
qasn1element.cpp \
|
||||
qssl.cpp \
|
||||
qsslcertificate.cpp \
|
||||
qsslcertificateextension.cpp \
|
||||
qsslconfiguration.cpp \
|
||||
qsslcipher.cpp \
|
||||
qssldiffiehellmanparameters.cpp \
|
||||
qsslellipticcurve.cpp \
|
||||
qsslkey_p.cpp \
|
||||
qsslerror.cpp \
|
||||
qsslsocket.cpp \
|
||||
qsslpresharedkeyauthenticator.cpp \
|
||||
qocspresponse.cpp \
|
||||
qdtls.cpp \
|
||||
qsslsocket_openssl_symbols.cpp \
|
||||
qssldiffiehellmanparameters_openssl.cpp \
|
||||
qsslcertificate_openssl.cpp \
|
||||
qsslellipticcurve_openssl.cpp \
|
||||
qsslkey_openssl.cpp \
|
||||
qsslsocket_openssl.cpp \
|
||||
qsslcontext_openssl.cpp \
|
||||
qdtls_openssl.cpp \
|
||||
qsslsocket_opensslpre11.cpp \
|
||||
qsslcontext_opensslpre11.cpp \
|
||||
qpassworddigestor.cpp \
|
||||
moc_qnetworkaccesscache_p.cpp \
|
||||
moc_qnetworkaccessbackend_p.cpp \
|
||||
moc_qnetworkaccessdebugpipebackend_p.cpp \
|
||||
moc_qnetworkaccessfilebackend_p.cpp \
|
||||
moc_qnetworkcookiejar.cpp \
|
||||
moc_qnetworkreply.cpp \
|
||||
moc_qabstractnetworkcache.cpp \
|
||||
moc_qnetworkfile_p.cpp \
|
||||
moc_qnetworkaccessftpbackend_p.cpp \
|
||||
moc_qnetworkdiskcache.cpp \
|
||||
moc_qhttp2protocolhandler_p.cpp \
|
||||
moc_qhttpmultipart.cpp \
|
||||
moc_qhttpnetworkreply_p.cpp \
|
||||
moc_qhttpthreaddelegate_p.cpp \
|
||||
moc_qnetworkreplyhttpimpl_p.cpp \
|
||||
moc_qspdyprotocolhandler_p.cpp \
|
||||
moc_qnetworkconfigmanager_p.cpp \
|
||||
moc_qnetworksession_p.cpp \
|
||||
moc_qbearerplugin_p.cpp \
|
||||
moc_qhostinfo_p.cpp \
|
||||
moc_qnetworkproxy.cpp \
|
||||
moc_qdnslookup_p.cpp \
|
||||
moc_qabstractsocketengine_p.cpp \
|
||||
moc_qtcpsocket.cpp \
|
||||
moc_qudpsocket.cpp \
|
||||
moc_qsocks5socketengine_p.cpp \
|
||||
moc_qhttpsocketengine_p.cpp \
|
||||
moc_qnativesocketengine_p.cpp \
|
||||
moc_qdtls.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/network/access \
|
||||
qtbase/src/network/access/http2 \
|
||||
qtbase/src/network/bearer \
|
||||
qtbase/src/network/kernel \
|
||||
qtbase/src/network/socket \
|
||||
qtbase/src/network/ssl \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qnetworkaccessmanager.cpp \
|
||||
moc_qnetworkaccesscache_p.cpp \
|
||||
moc_qnetworkaccessbackend_p.cpp \
|
||||
moc_qnetworkaccessdebugpipebackend_p.cpp \
|
||||
moc_qnetworkaccessfilebackend_p.cpp \
|
||||
moc_qnetworkcookiejar.cpp \
|
||||
moc_qnetworkreply.cpp \
|
||||
moc_qnetworkreplyimpl_p.cpp \
|
||||
moc_qnetworkreplydataimpl_p.cpp \
|
||||
moc_qnetworkreplyfileimpl_p.cpp \
|
||||
moc_qabstractnetworkcache.cpp \
|
||||
moc_qnetworkfile_p.cpp \
|
||||
moc_qftp_p.cpp \
|
||||
moc_qnetworkaccessftpbackend_p.cpp \
|
||||
moc_qnetworkdiskcache.cpp \
|
||||
moc_qhttp2protocolhandler_p.cpp \
|
||||
moc_qhttpmultipart.cpp \
|
||||
moc_qhttpnetworkconnection_p.cpp \
|
||||
moc_qhttpnetworkconnectionchannel_p.cpp \
|
||||
moc_qhttpnetworkreply_p.cpp \
|
||||
moc_qhttpthreaddelegate_p.cpp \
|
||||
moc_qnetworkreplyhttpimpl_p.cpp \
|
||||
moc_qspdyprotocolhandler_p.cpp \
|
||||
moc_qnetworksession.cpp \
|
||||
moc_qnetworkconfigmanager.cpp \
|
||||
moc_qnetworkconfigmanager_p.cpp \
|
||||
moc_qnetworksession_p.cpp \
|
||||
moc_qbearerengine_p.cpp \
|
||||
moc_qbearerplugin_p.cpp \
|
||||
moc_qhostinfo_p.cpp \
|
||||
moc_qnetworkinterface.cpp \
|
||||
moc_qnetworkproxy.cpp \
|
||||
moc_qdnslookup.cpp \
|
||||
moc_qdnslookup_p.cpp \
|
||||
moc_qabstractsocketengine_p.cpp \
|
||||
moc_qabstractsocket.cpp \
|
||||
moc_qtcpsocket.cpp \
|
||||
moc_qudpsocket.cpp \
|
||||
moc_qtcpserver.cpp \
|
||||
moc_qsocks5socketengine_p.cpp \
|
||||
moc_qhttpsocketengine_p.cpp \
|
||||
moc_qnativesocketengine_p.cpp \
|
||||
moc_qlocalserver.cpp \
|
||||
moc_qlocalsocket.cpp \
|
||||
moc_qsslsocket.cpp \
|
||||
moc_qdtls.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qftp.moc
|
||||
|
@ -1,11 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_opengl.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_opengl_generated.inc
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core qt5_gui qt5_widgets
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,64 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_OPENGL_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/src/opengl \
|
||||
qtbase/include \
|
||||
qtbase/include/QtOpenGL \
|
||||
qtbase/include/QtOpenGL/5.13.0 \
|
||||
qtbase/include/QtOpenGL/5.13.0/QtOpenGL \
|
||||
qtbase/include/QtWidgets/5.13.0 \
|
||||
qtbase/include/QtWidgets/5.13.0/QtWidgets \
|
||||
qtbase/include/QtGui/5.13.0 \
|
||||
qtbase/include/QtGui/5.13.0/QtGui \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtbase/include/QtWidgets \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qgl.cpp \
|
||||
qglcolormap.cpp \
|
||||
qglfunctions.cpp \
|
||||
qglpixelbuffer.cpp \
|
||||
qglframebufferobject.cpp \
|
||||
qglpaintdevice.cpp \
|
||||
qglbuffer.cpp \
|
||||
qglshaderprogram.cpp \
|
||||
qglgradientcache.cpp \
|
||||
qglengineshadermanager.cpp \
|
||||
qgl2pexvertexarray.cpp \
|
||||
qpaintengineex_opengl2.cpp \
|
||||
qglcustomshaderstage.cpp \
|
||||
qtextureglyphcache_gl.cpp \
|
||||
qgraphicsshadereffect.cpp \
|
||||
moc_qgl.cpp \
|
||||
moc_qgl_p.cpp \
|
||||
moc_qglshaderprogram.cpp \
|
||||
moc_qglengineshadermanager_p.cpp \
|
||||
moc_qgraphicsshadereffect_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/opengl \
|
||||
qtbase/src/opengl/gl2paintengineex \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qgl.cpp \
|
||||
moc_qgl_p.cpp \
|
||||
moc_qglshaderprogram.cpp \
|
||||
moc_qglengineshadermanager_p.cpp \
|
||||
moc_qgraphicsshadereffect_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_pcre2.mk)
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_pcre2_generated.inc
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,49 +0,0 @@
|
||||
QT_DEFINES += -DPCRE2_CODE_UNIT_WIDTH=16 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DHAVE_CONFIG_H -DQT_NO_DYNAMIC_CAST -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/src/3rdparty/pcre2 \
|
||||
qtbase/src/3rdparty/pcre2/src \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
pcre2_auto_possess.c \
|
||||
pcre2_chartables.c \
|
||||
pcre2_compile.c \
|
||||
pcre2_config.c \
|
||||
pcre2_context.c \
|
||||
pcre2_dfa_match.c \
|
||||
pcre2_error.c \
|
||||
pcre2_extuni.c \
|
||||
pcre2_find_bracket.c \
|
||||
pcre2_jit_compile.c \
|
||||
pcre2_maketables.c \
|
||||
pcre2_match.c \
|
||||
pcre2_match_data.c \
|
||||
pcre2_newline.c \
|
||||
pcre2_ord2utf.c \
|
||||
pcre2_pattern_info.c \
|
||||
pcre2_script_run.c \
|
||||
pcre2_serialize.c \
|
||||
pcre2_string_utils.c \
|
||||
pcre2_study.c \
|
||||
pcre2_substitute.c \
|
||||
pcre2_substring.c \
|
||||
pcre2_tables.c \
|
||||
pcre2_ucd.c \
|
||||
pcre2_valid_utf.c \
|
||||
pcre2_xclass.c
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/3rdparty/pcre2/src \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
|
@ -1,25 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_printsupport.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_printsupport_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
|
||||
# UI headers
|
||||
moc_qpagesetupdialog_unix_p.o: ui_qpagesetupwidget.h
|
||||
qprintdialog_unix.o: ui_qprintpropertieswidget.h
|
||||
qprintdialog_unix.o: ui_qprintsettingsoutput.h
|
||||
qprintdialog_unix.o: ui_qprintwidget.h
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core qt5_gui qt5_widgets
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,71 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_PRINTSUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtbase/src/printsupport \
|
||||
qtbase/src/printsupport/widgets \
|
||||
qtbase/src/printsupport/dialogs \
|
||||
qtbase/src/plugins/printsupport/cups \
|
||||
qtbase/include \
|
||||
qtbase/include/QtPrintSupport \
|
||||
qtbase/include/QtPrintSupport/5.13.0 \
|
||||
qtbase/include/QtPrintSupport/5.13.0/QtPrintSupport \
|
||||
qtbase/include/QtWidgets/5.13.0 \
|
||||
qtbase/include/QtWidgets/5.13.0/QtWidgets \
|
||||
qtbase/include/QtGui/5.13.0 \
|
||||
qtbase/include/QtGui/5.13.0/QtGui \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtbase/include/QtWidgets \
|
||||
qtbase/include/QtGui \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qpaintengine_alpha.cpp \
|
||||
qprintdevice.cpp \
|
||||
qprintengine_pdf.cpp \
|
||||
qprinter.cpp \
|
||||
qprinterinfo.cpp \
|
||||
qplatformprintdevice.cpp \
|
||||
qplatformprintplugin.cpp \
|
||||
qplatformprintersupport.cpp \
|
||||
qpaintengine_preview.cpp \
|
||||
qprintpreviewwidget.cpp \
|
||||
qprintdialog_unix.cpp \
|
||||
qpagesetupdialog_unix.cpp \
|
||||
qabstractprintdialog.cpp \
|
||||
qpagesetupdialog.cpp \
|
||||
qprintpreviewdialog.cpp \
|
||||
qrc_qprintdialog.cpp \
|
||||
moc_qplatformprintplugin.cpp \
|
||||
moc_qabstractprintdialog.cpp \
|
||||
moc_qpagesetupdialog_unix_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtbase/src/printsupport/dialogs \
|
||||
qtbase/src/printsupport/kernel \
|
||||
qtbase/src/printsupport/widgets \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qplatformprintplugin.cpp \
|
||||
moc_qprintpreviewwidget.cpp \
|
||||
moc_qabstractprintdialog.cpp \
|
||||
moc_qpagesetupdialog.cpp \
|
||||
moc_qprintdialog.cpp \
|
||||
moc_qpagesetupdialog_unix_p.cpp \
|
||||
moc_qprintpreviewdialog.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qprintpreviewwidget.moc \
|
||||
qprintdialog_unix.moc \
|
||||
qprintpreviewdialog.moc
|
||||
|
@ -1,13 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qgenodeviewwidget.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
SRC_CC = qgenodeviewwidget.cpp \
|
||||
moc_qgenodeviewwidget.cpp
|
||||
|
||||
vpath %.h $(call select_from_repositories,include/qt5/qgenodeviewwidget)
|
||||
vpath %.cpp $(REP_DIR)/src/lib/qt5/qgenodeviewwidget
|
||||
|
||||
LIBS += libc qoost qt5_core qt5_gui qt5_qpa_genode qt5_widgets
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,17 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qjpeg.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
SRC_CC = main.cpp \
|
||||
moc_main.cpp \
|
||||
qjpeghandler.cpp \
|
||||
import_plugin.cc
|
||||
|
||||
INC_DIR += $(QT5_CONTRIB_DIR)/qtbase/src/plugins/imageformats/jpeg
|
||||
|
||||
LIBS += qt5_gui qt5_core libc jpeg
|
||||
|
||||
vpath % $(REP_DIR)/src/lib/qt5/qtbase/src/plugins/imageformats/jpeg
|
||||
vpath % $(QT5_CONTRIB_DIR)/qtbase/src/plugins/imageformats/jpeg
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,24 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qml.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_qml_generated.inc
|
||||
|
||||
# remove unneeded files to prevent moc warnings
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
|
||||
moc_qqmlabstractprofileradapter_p.cpp \
|
||||
moc_qqmldebugconnector_p.cpp \
|
||||
moc_qqmldebugservice_p.cpp \
|
||||
moc_qqmldebugserviceinterfaces_p.cpp \
|
||||
moc_qqmlprofiler_p.cpp \
|
||||
moc_qv4debugging_p.cpp \
|
||||
moc_qv4profiling_p.cpp \
|
||||
|
||||
|
||||
QT_VPATH += qtdeclarative/src/qml
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_network qt5_core libc
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,323 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_FOREACH -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtdeclarative/src/qml \
|
||||
qtdeclarative/src/qml/memory \
|
||||
qtdeclarative/src/qml/compiler \
|
||||
qtdeclarative/src/qml/jsruntime \
|
||||
qtdeclarative/src/qml/jit \
|
||||
qtdeclarative/src/qml/debugger \
|
||||
qtdeclarative/src/qml/qmldirparser \
|
||||
qtdeclarative/src/qml/animations \
|
||||
qtdeclarative/src/3rdparty/masm/jit \
|
||||
qtdeclarative/src/3rdparty/masm/assembler \
|
||||
qtdeclarative/src/3rdparty/masm/runtime \
|
||||
qtdeclarative/src/3rdparty/masm/wtf \
|
||||
qtdeclarative/src/3rdparty/masm/stubs \
|
||||
qtdeclarative/src/3rdparty/masm/stubs/runtime \
|
||||
qtdeclarative/src/3rdparty/masm/stubs/wtf \
|
||||
qtdeclarative/src/3rdparty/masm \
|
||||
qtdeclarative/src/3rdparty/masm/disassembler \
|
||||
qtdeclarative/src/3rdparty/masm/disassembler/udis86 \
|
||||
qtdeclarative/include \
|
||||
qtdeclarative/include/QtQml \
|
||||
qtdeclarative/include/QtQml/5.13.0 \
|
||||
qtdeclarative/include/QtQml/5.13.0/QtQml \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtbase/include \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qqmlchangeset.cpp \
|
||||
qqmllistaccessor.cpp \
|
||||
qqmllistcompositor.cpp \
|
||||
qqmlpropertymap.cpp \
|
||||
qqmladaptormodel.cpp \
|
||||
qv4mm.cpp \
|
||||
qqmljsast.cpp \
|
||||
qqmljsastvisitor.cpp \
|
||||
qqmljsengine_p.cpp \
|
||||
qqmljslexer.cpp \
|
||||
qv4bytecodegenerator.cpp \
|
||||
qv4compileddata.cpp \
|
||||
qv4compiler.cpp \
|
||||
qv4compilercontext.cpp \
|
||||
qv4compilerscanfunctions.cpp \
|
||||
qv4codegen.cpp \
|
||||
qqmlirbuilder.cpp \
|
||||
qv4instr_moth.cpp \
|
||||
qv4bytecodehandler.cpp \
|
||||
qqmltypecompiler.cpp \
|
||||
qqmlpropertycachecreator.cpp \
|
||||
qqmlpropertyvalidator.cpp \
|
||||
qv4compilationunitmapper.cpp \
|
||||
qv4compilationunitmapper_unix.cpp \
|
||||
qjsengine.cpp \
|
||||
qjsvalue.cpp \
|
||||
qjsvalueiterator.cpp \
|
||||
qv4context.cpp \
|
||||
qv4persistent.cpp \
|
||||
qv4lookup.cpp \
|
||||
qv4identifier.cpp \
|
||||
qv4identifiertable.cpp \
|
||||
qv4managed.cpp \
|
||||
qv4internalclass.cpp \
|
||||
qv4sparsearray.cpp \
|
||||
qv4atomics.cpp \
|
||||
qv4arraydata.cpp \
|
||||
qv4arrayobject.cpp \
|
||||
qv4arrayiterator.cpp \
|
||||
qv4argumentsobject.cpp \
|
||||
qv4booleanobject.cpp \
|
||||
qv4dateobject.cpp \
|
||||
qv4errorobject.cpp \
|
||||
qv4function.cpp \
|
||||
qv4functionobject.cpp \
|
||||
qv4generatorobject.cpp \
|
||||
qv4globalobject.cpp \
|
||||
qv4iterator.cpp \
|
||||
qv4jsonobject.cpp \
|
||||
qv4mathobject.cpp \
|
||||
qv4memberdata.cpp \
|
||||
qv4numberobject.cpp \
|
||||
qv4object.cpp \
|
||||
qv4objectproto.cpp \
|
||||
qv4propertykey.cpp \
|
||||
qv4proxy.cpp \
|
||||
qv4qmlcontext.cpp \
|
||||
qv4reflect.cpp \
|
||||
qv4regexpobject.cpp \
|
||||
qv4stackframe.cpp \
|
||||
qv4stringiterator.cpp \
|
||||
qv4stringobject.cpp \
|
||||
qv4variantobject.cpp \
|
||||
qv4objectiterator.cpp \
|
||||
qv4regexp.cpp \
|
||||
qv4runtimecodegen.cpp \
|
||||
qv4serialize.cpp \
|
||||
qv4script.cpp \
|
||||
qv4symbol.cpp \
|
||||
qv4setobject.cpp \
|
||||
qv4setiterator.cpp \
|
||||
qv4include.cpp \
|
||||
qv4qobjectwrapper.cpp \
|
||||
qv4arraybuffer.cpp \
|
||||
qv4typedarray.cpp \
|
||||
qv4dataview.cpp \
|
||||
qv4vme_moth.cpp \
|
||||
qv4mapobject.cpp \
|
||||
qv4mapiterator.cpp \
|
||||
qv4estable.cpp \
|
||||
qv4module.cpp \
|
||||
qv4promiseobject.cpp \
|
||||
qv4sequenceobject.cpp \
|
||||
qv4engine.cpp \
|
||||
qv4runtime.cpp \
|
||||
qv4string.cpp \
|
||||
qv4value.cpp \
|
||||
qv4executableallocator.cpp \
|
||||
qv4functiontable_unix.cpp \
|
||||
qv4jithelpers.cpp \
|
||||
qv4baselinejit.cpp \
|
||||
qv4baselineassembler.cpp \
|
||||
qv4assemblercommon.cpp \
|
||||
qqmlopenmetaobject.cpp \
|
||||
qqmlvmemetaobject.cpp \
|
||||
qqmlengine.cpp \
|
||||
qqmlexpression.cpp \
|
||||
qqmlproperty.cpp \
|
||||
qqmlcomponent.cpp \
|
||||
qqmlincubator.cpp \
|
||||
qqmlcontext.cpp \
|
||||
qqmlcustomparser.cpp \
|
||||
qqmlpropertyvaluesource.cpp \
|
||||
qqmlpropertyvalueinterceptor.cpp \
|
||||
qqmlproxymetaobject.cpp \
|
||||
qqmlvme.cpp \
|
||||
qqmlboundsignal.cpp \
|
||||
qqmlmetatype.cpp \
|
||||
qqmlstringconverters.cpp \
|
||||
qqmlparserstatus.cpp \
|
||||
qqmltypeloader.cpp \
|
||||
qqmlinfo.cpp \
|
||||
qqmlvaluetype.cpp \
|
||||
qqmlcleanup.cpp \
|
||||
qqmlpropertycache.cpp \
|
||||
qqmlnotifier.cpp \
|
||||
qqmltypenotavailable.cpp \
|
||||
qqmltypenamecache.cpp \
|
||||
qqmlscriptstring.cpp \
|
||||
qqmlnetworkaccessmanagerfactory.cpp \
|
||||
qqmlextensionplugin.cpp \
|
||||
qqmlimport.cpp \
|
||||
qqmllist.cpp \
|
||||
qqmljavascriptexpression.cpp \
|
||||
qqmlabstractbinding.cpp \
|
||||
qqmlvaluetypeproxybinding.cpp \
|
||||
qqmlglobal.cpp \
|
||||
qqmlfile.cpp \
|
||||
qqmlplatform.cpp \
|
||||
qqmlbinding.cpp \
|
||||
qqmlabstracturlinterceptor.cpp \
|
||||
qqmlapplicationengine.cpp \
|
||||
qqmllistwrapper.cpp \
|
||||
qqmlvaluetypewrapper.cpp \
|
||||
qqmltypewrapper.cpp \
|
||||
qqmlfileselector.cpp \
|
||||
qqmlobjectcreator.cpp \
|
||||
qqmldelayedcallqueue.cpp \
|
||||
qqmlloggingcategory.cpp \
|
||||
qqmlxmlhttprequest.cpp \
|
||||
qqmllocale.cpp \
|
||||
qintrusivelist.cpp \
|
||||
qhashedstring.cpp \
|
||||
qqmlthread.cpp \
|
||||
qv8engine.cpp \
|
||||
qv4domerrors.cpp \
|
||||
qv4sqlerrors.cpp \
|
||||
qqmlbuiltinfunctions.cpp \
|
||||
qqmldirparser.cpp \
|
||||
qqmlerror.cpp \
|
||||
qabstractanimationjob.cpp \
|
||||
qanimationgroupjob.cpp \
|
||||
qsequentialanimationgroupjob.cpp \
|
||||
qparallelanimationgroupjob.cpp \
|
||||
qcontinuinganimationgroupjob.cpp \
|
||||
qpauseanimationjob.cpp \
|
||||
qqmlbind.cpp \
|
||||
qqmlconnections.cpp \
|
||||
qqmlmodelsmodule.cpp \
|
||||
qqmlmodelindexvaluetype.cpp \
|
||||
qqmlobjectmodel.cpp \
|
||||
qquickpackage.cpp \
|
||||
qqmlinstantiator.cpp \
|
||||
qqmltableinstancemodel.cpp \
|
||||
qquickworkerscript.cpp \
|
||||
qqmllistmodel.cpp \
|
||||
qqmllistmodelworkeragent.cpp \
|
||||
qqmldelegatemodel.cpp \
|
||||
qqmldelegatecomponent.cpp \
|
||||
qqmltimer.cpp \
|
||||
ARMv7Assembler.cpp \
|
||||
LinkBuffer.cpp \
|
||||
PrintStream.cpp \
|
||||
FilePrintStream.cpp \
|
||||
OSAllocatorPosix.cpp \
|
||||
PageAllocationAligned.cpp \
|
||||
PageBlock.cpp \
|
||||
WTFStubs.cpp \
|
||||
Options.cpp \
|
||||
Disassembler.cpp \
|
||||
UDis86Disassembler.cpp \
|
||||
ARMv7Disassembler.cpp \
|
||||
ARMv7DOpcode.cpp \
|
||||
Mips32Disassembler.cpp \
|
||||
Mips32Opcode.cpp \
|
||||
ARM64Disassembler.cpp \
|
||||
A64DOpcode.cpp \
|
||||
YarrCanonicalizeUCS2.cpp \
|
||||
YarrCanonicalizeUnicode.cpp \
|
||||
YarrInterpreter.cpp \
|
||||
YarrJIT.cpp \
|
||||
YarrPattern.cpp \
|
||||
YarrSyntaxChecker.cpp \
|
||||
YarrUnicodeProperties.cpp qqmljsgrammar.cpp \
|
||||
qqmljsparser.cpp \
|
||||
moc_qqmlpropertymap.cpp \
|
||||
moc_qv4debugging_p.cpp \
|
||||
moc_qv4profiling_p.cpp \
|
||||
moc_qv4promiseobject_p.cpp \
|
||||
moc_qqmlcomponentattached_p.cpp \
|
||||
moc_qqmldebugconnector_p.cpp \
|
||||
moc_qqmldebugserviceinterfaces_p.cpp \
|
||||
moc_qqmlprofiler_p.cpp \
|
||||
moc_qqmllistmodel_p_p.cpp \
|
||||
moc_qqmldelegatemodel_p_p.cpp \
|
||||
moc_qqmldelegatecomponent_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtdeclarative/src/3rdparty/masm/assembler \
|
||||
qtdeclarative/src/3rdparty/masm/disassembler \
|
||||
qtdeclarative/src/3rdparty/masm/disassembler/ARM64 \
|
||||
qtdeclarative/src/3rdparty/masm/disassembler/ARMv7 \
|
||||
qtdeclarative/src/3rdparty/masm/disassembler/mips32 \
|
||||
qtdeclarative/src/3rdparty/masm/stubs \
|
||||
qtdeclarative/src/3rdparty/masm/stubs/yarr \
|
||||
qtdeclarative/src/3rdparty/masm/wtf \
|
||||
qtdeclarative/src/3rdparty/masm/yarr \
|
||||
qtdeclarative/src/qml/animations \
|
||||
qtdeclarative/src/qml/compiler \
|
||||
qtdeclarative/src/qml/jit \
|
||||
qtdeclarative/src/qml/jsapi \
|
||||
qtdeclarative/src/qml/jsruntime \
|
||||
qtdeclarative/src/qml/memory \
|
||||
qtdeclarative/src/qml/parser \
|
||||
qtdeclarative/src/qml/qml \
|
||||
qtdeclarative/src/qml/qml/ftw \
|
||||
qtdeclarative/src/qml/qml/v8 \
|
||||
qtdeclarative/src/qml/qmldirparser \
|
||||
qtdeclarative/src/qml/types \
|
||||
qtdeclarative/src/qml/util \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qqmlpropertymap.cpp \
|
||||
moc_qjsengine.cpp \
|
||||
moc_qv4debugging_p.cpp \
|
||||
moc_qv4include_p.cpp \
|
||||
moc_qv4qobjectwrapper_p.cpp \
|
||||
moc_qv4profiling_p.cpp \
|
||||
moc_qv4promiseobject_p.cpp \
|
||||
moc_qqmlglobal_p.cpp \
|
||||
moc_qqmlcomponent.cpp \
|
||||
moc_qqmlengine.cpp \
|
||||
moc_qqmlcontext.cpp \
|
||||
moc_qqmlexpression.cpp \
|
||||
moc_qqmlvaluetype_p.cpp \
|
||||
moc_qqmltypenotavailable_p.cpp \
|
||||
moc_qqmlextensionplugin.cpp \
|
||||
moc_qqmlcomponentattached_p.cpp \
|
||||
moc_qqmlplatform_p.cpp \
|
||||
moc_qqmlapplicationengine.cpp \
|
||||
moc_qqmlfileselector.cpp \
|
||||
moc_qqmldelayedcallqueue_p.cpp \
|
||||
moc_qqmlloggingcategory_p.cpp \
|
||||
moc_qqmllocale_p.cpp \
|
||||
moc_qqmldebugconnector_p.cpp \
|
||||
moc_qqmldebugserviceinterfaces_p.cpp \
|
||||
moc_qqmlprofiler_p.cpp \
|
||||
moc_qabstractanimationjob_p.cpp \
|
||||
moc_qqmlbind_p.cpp \
|
||||
moc_qqmlconnections_p.cpp \
|
||||
moc_qqmlmodelindexvaluetype_p.cpp \
|
||||
moc_qqmlobjectmodel_p.cpp \
|
||||
moc_qquickpackage_p.cpp \
|
||||
moc_qqmlinstantiator_p.cpp \
|
||||
moc_qqmltableinstancemodel_p.cpp \
|
||||
moc_qquickworkerscript_p.cpp \
|
||||
moc_qqmllistmodel_p.cpp \
|
||||
moc_qqmllistmodel_p_p.cpp \
|
||||
moc_qqmllistmodelworkeragent_p.cpp \
|
||||
moc_qqmldelegatemodel_p.cpp \
|
||||
moc_qqmldelegatemodel_p_p.cpp \
|
||||
moc_qqmldelegatecomponent_p.cpp \
|
||||
moc_qqmltimer_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qqmladaptormodel.moc \
|
||||
qqmltypeloader.moc \
|
||||
qqmlfile.moc \
|
||||
qqmlxmlhttprequest.moc \
|
||||
qquickworkerscript.moc
|
||||
|
@ -1,45 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_qmlfolderlistmodelplugin_generated.inc
|
||||
|
||||
QT_DEFINES += -UQT_STATICPLUGIN
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core qt5_gui qt5_qml qt5_quick
|
||||
|
||||
# install the QML plugin
|
||||
|
||||
QML_PLUGIN_NAME := qt5_qmlfolderlistmodelplugin
|
||||
QML_INSTALL_DIR := qt/qml/Qt/labs/folderlistmodel
|
||||
|
||||
QML_PLUGIN := $(QML_INSTALL_DIR)/$(QML_PLUGIN_NAME).lib.so
|
||||
TAR_ARCHIVE := $(BUILD_BASE_DIR)/bin/$(QML_PLUGIN_NAME).tar
|
||||
|
||||
$(QML_INSTALL_DIR):
|
||||
$(VERBOSE)mkdir -p $@
|
||||
|
||||
$(QML_PLUGIN): $(QML_INSTALL_DIR) $(QML_PLUGIN_NAME).lib.so.stripped
|
||||
$(VERBOSE)cp $(QML_PLUGIN_NAME).lib.so.stripped $@
|
||||
|
||||
$(TAR_ARCHIVE): $(QML_PLUGIN)
|
||||
$(VERBOSE)tar cf $@ qt
|
||||
|
||||
ifneq ($(call select_from_ports,qt5),)
|
||||
$(QML_PLUGIN_NAME).lib.tag: $(TAR_ARCHIVE)
|
||||
endif
|
||||
|
||||
#
|
||||
# unfortunately, these clean rules don't trigger
|
||||
#
|
||||
|
||||
clean-tar_archive:
|
||||
rm -rf $(TAR_ARCHIVE)
|
||||
|
||||
clean: clean-tar_archive
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,40 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtdeclarative/src/imports/folderlistmodel \
|
||||
qtdeclarative/include/QtQml/5.13.0 \
|
||||
qtdeclarative/include/QtQml/5.13.0/QtQml \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtdeclarative/include \
|
||||
qtdeclarative/include/QtQml \
|
||||
qtbase/include \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qquickfolderlistmodel.cpp \
|
||||
plugin.cpp \
|
||||
fileinfothread.cpp \
|
||||
moc_fileinfothread_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtdeclarative/src/imports/folderlistmodel \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qquickfolderlistmodel.cpp \
|
||||
moc_fileinfothread_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
plugin.moc
|
||||
|
@ -1,55 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qpa_genode.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
SRC_CC = qgenericunixeventdispatcher.cpp \
|
||||
qunixeventdispatcher.cpp \
|
||||
qfontengine_ft.cpp \
|
||||
qfreetypefontdatabase.cpp \
|
||||
qeglconvenience.cpp \
|
||||
moc_qunixeventdispatcher_qpa_p.cpp
|
||||
|
||||
SRC_CC += main.cpp \
|
||||
qgenodeclipboard.cpp \
|
||||
qgenodecursor.cpp \
|
||||
qgenodeglcontext.cpp \
|
||||
qgenodeintegration.cpp \
|
||||
qgenodeplatformwindow.cpp \
|
||||
qgenodewindowsurface.cpp \
|
||||
moc_qgenodeclipboard.cpp \
|
||||
moc_qgenodeplatformwindow.cpp \
|
||||
moc_qgenodewindowsurface.cpp \
|
||||
moc_qgenodeintegrationplugin.cpp
|
||||
|
||||
ifeq ($(CONTRIB_DIR),)
|
||||
|
||||
INC_DIR += $(call select_from_repositories,include/QtEglSupport/$(QT_VERSION)) \
|
||||
$(call select_from_repositories,include/QtEglSupport/$(QT_VERSION)/QtEglSupport/private) \
|
||||
$(call select_from_repositories,include/QtEventDispatcherSupport/$(QT_VERSION)) \
|
||||
$(call select_from_repositories,include/QtEventDispatcherSupport/$(QT_VERSION)/QtEventDispatcherSupport/private) \
|
||||
$(call select_from_repositories,include/QtFontDatabaseSupport/$(QT_VERSION)) \
|
||||
$(call select_from_repositories,include/QtFontDatabaseSupport/$(QT_VERSION)/QtFontDatabaseSupport/private) \
|
||||
$(call select_from_repositories,include/QtInputSupport/$(QT_VERSION)/QtInputSupport/private)
|
||||
|
||||
vpath qunixeventdispatcher_qpa_p.h $(call select_from_repositories,include/QtEventDispatcherSupport/$(QT_VERSION)/QtEventDispatcherSupport/private)
|
||||
vpath qgenodeplatformwindow.h $(call select_from_repositories,include/qt5/qpa_genode)
|
||||
|
||||
else
|
||||
|
||||
INC_DIR += $(QT5_PORT_DIR)/include/QtEglSupport/$(QT_VERSION) \
|
||||
$(QT5_PORT_DIR)/include/QtEventDispatcherSupport/$(QT_VERSION) \
|
||||
$(QT5_PORT_DIR)/include/QtFontDatabaseSupport/$(QT_VERSION) \
|
||||
$(QT5_PORT_DIR)/include/QtInputSupport/$(QT_VERSION)
|
||||
|
||||
vpath %.h $(REP_DIR)/include/qt5/qpa_genode
|
||||
|
||||
endif
|
||||
|
||||
LIBS += qt5_gui qt5_core qoost egl freetype libc
|
||||
|
||||
vpath % $(QT5_CONTRIB_DIR)/qtbase/src/platformsupport/eglconvenience
|
||||
vpath % $(QT5_CONTRIB_DIR)/qtbase/src/platformsupport/eventdispatchers
|
||||
vpath % $(QT5_CONTRIB_DIR)/qtbase/src/platformsupport/fontdatabases/freetype
|
||||
vpath % $(REP_DIR)/src/lib/qt5/qtbase/src/plugins/platforms/genode
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,13 +0,0 @@
|
||||
include $(call select_from_repositories,lib/import/import-qt5_qpluginwidget.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
SRC_CC = qpluginwidget.cpp \
|
||||
moc_qpluginwidget.cpp
|
||||
|
||||
vpath %.h $(call select_from_repositories,include/qt5/qpluginwidget)
|
||||
vpath %.cpp $(REP_DIR)/src/lib/qt5/qpluginwidget
|
||||
|
||||
LIBS += libc qoost qt5_core qt5_gui qt5_network qt5_qgenodeviewwidget qt5_qpa_genode qt5_widgets zlib
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,45 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_qquicklayoutsplugin_generated.inc
|
||||
|
||||
QT_DEFINES += -UQT_STATICPLUGIN
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core qt5_gui qt5_qml qt5_quick
|
||||
|
||||
# install the QML plugin
|
||||
|
||||
QML_PLUGIN_NAME := qt5_qquicklayoutsplugin
|
||||
QML_INSTALL_DIR := qt/qml/QtQuick/Layouts
|
||||
|
||||
QML_PLUGIN := $(QML_INSTALL_DIR)/$(QML_PLUGIN_NAME).lib.so
|
||||
TAR_ARCHIVE := $(BUILD_BASE_DIR)/bin/$(QML_PLUGIN_NAME).tar
|
||||
|
||||
$(QML_INSTALL_DIR):
|
||||
$(VERBOSE)mkdir -p $@
|
||||
|
||||
$(QML_PLUGIN): $(QML_INSTALL_DIR) $(QML_PLUGIN_NAME).lib.so.stripped
|
||||
$(VERBOSE)cp $(QML_PLUGIN_NAME).lib.so.stripped $@
|
||||
|
||||
$(TAR_ARCHIVE): $(QML_PLUGIN)
|
||||
$(VERBOSE)tar cf $@ qt
|
||||
|
||||
ifneq ($(call select_from_ports,qt5),)
|
||||
$(QML_PLUGIN_NAME).lib.tag: $(TAR_ARCHIVE)
|
||||
endif
|
||||
|
||||
#
|
||||
# unfortunately, these clean rules don't trigger
|
||||
#
|
||||
|
||||
clean-tar_archive:
|
||||
rm -rf $(TAR_ARCHIVE)
|
||||
|
||||
clean: clean-tar_archive
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,50 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtdeclarative/src/imports/layouts \
|
||||
qtdeclarative/include/QtQuick/5.13.0 \
|
||||
qtdeclarative/include/QtQuick/5.13.0/QtQuick \
|
||||
qtbase/include/QtGui/5.13.0 \
|
||||
qtbase/include/QtGui/5.13.0/QtGui \
|
||||
qtdeclarative/include \
|
||||
qtdeclarative/include/QtQuick \
|
||||
qtbase/include \
|
||||
qtbase/include/QtGui \
|
||||
qtdeclarative/include/QtQml/5.13.0 \
|
||||
qtdeclarative/include/QtQml/5.13.0/QtQml \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtdeclarative/include/QtQml \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
plugin.cpp \
|
||||
qquicklayout.cpp \
|
||||
qquicklinearlayout.cpp \
|
||||
qquickstacklayout.cpp \
|
||||
qquickgridlayoutengine.cpp \
|
||||
qquicklayoutstyleinfo.cpp \
|
||||
moc_qquicklayout_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtdeclarative/src/imports/layouts \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qquicklayout_p.cpp \
|
||||
moc_qquicklinearlayout_p.cpp \
|
||||
moc_qquickstacklayout_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
plugin.moc
|
||||
|
@ -1,45 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_qtquick2plugin_generated.inc
|
||||
|
||||
QT_DEFINES += -UQT_STATICPLUGIN
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core qt5_gui qt5_qml qt5_quick
|
||||
|
||||
# install the QML plugin
|
||||
|
||||
QML_PLUGIN_NAME := qt5_qtquick2plugin
|
||||
QML_INSTALL_DIR := qt/qml/QtQuick.2
|
||||
|
||||
QML_PLUGIN := $(QML_INSTALL_DIR)/$(QML_PLUGIN_NAME).lib.so
|
||||
TAR_ARCHIVE := $(BUILD_BASE_DIR)/bin/$(QML_PLUGIN_NAME).tar
|
||||
|
||||
$(QML_INSTALL_DIR):
|
||||
$(VERBOSE)mkdir -p $@
|
||||
|
||||
$(QML_PLUGIN): $(QML_INSTALL_DIR) $(QML_PLUGIN_NAME).lib.so.stripped
|
||||
$(VERBOSE)cp $(QML_PLUGIN_NAME).lib.so.stripped $@
|
||||
|
||||
$(TAR_ARCHIVE): $(QML_PLUGIN)
|
||||
$(VERBOSE)tar cf $@ qt
|
||||
|
||||
ifneq ($(call select_from_ports,qt5),)
|
||||
$(QML_PLUGIN_NAME).lib.tag: $(TAR_ARCHIVE)
|
||||
endif
|
||||
|
||||
#
|
||||
# unfortunately, these clean rules don't trigger
|
||||
#
|
||||
|
||||
clean-tar_archive:
|
||||
rm -rf $(TAR_ARCHIVE)
|
||||
|
||||
clean: clean-tar_archive
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,42 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtdeclarative/src/imports/qtquick2 \
|
||||
qtdeclarative/include/QtQuick/5.13.0 \
|
||||
qtdeclarative/include/QtQuick/5.13.0/QtQuick \
|
||||
qtbase/include/QtGui/5.13.0 \
|
||||
qtbase/include/QtGui/5.13.0/QtGui \
|
||||
qtdeclarative/include \
|
||||
qtdeclarative/include/QtQuick \
|
||||
qtbase/include \
|
||||
qtbase/include/QtGui \
|
||||
qtdeclarative/include/QtQml/5.13.0 \
|
||||
qtdeclarative/include/QtQml/5.13.0/QtQml \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtdeclarative/include/QtQml \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtCore \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
plugin.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtdeclarative/src/imports/qtquick2 \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
plugin.moc
|
||||
|
@ -1,45 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_qtquickcontrols2plugin_generated.inc
|
||||
|
||||
QT_DEFINES += -UQT_STATICPLUGIN
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core qt5_gui qt5_qml qt5_quick qt5_quickcontrols2 qt5_quicktemplates2
|
||||
|
||||
# install the QML plugin
|
||||
|
||||
QML_PLUGIN_NAME := qt5_qtquickcontrols2plugin
|
||||
QML_INSTALL_DIR := qt/qml/QtQuick/Controls.2
|
||||
|
||||
QML_PLUGIN := $(QML_INSTALL_DIR)/$(QML_PLUGIN_NAME).lib.so
|
||||
TAR_ARCHIVE := $(BUILD_BASE_DIR)/bin/$(QML_PLUGIN_NAME).tar
|
||||
|
||||
$(QML_INSTALL_DIR):
|
||||
$(VERBOSE)mkdir -p $@
|
||||
|
||||
$(QML_PLUGIN): $(QML_INSTALL_DIR) $(QML_PLUGIN_NAME).lib.so.stripped
|
||||
$(VERBOSE)cp $(QML_PLUGIN_NAME).lib.so.stripped $@
|
||||
|
||||
$(TAR_ARCHIVE): $(QML_PLUGIN)
|
||||
$(VERBOSE)tar cf $@ qt
|
||||
|
||||
ifneq ($(call select_from_ports,qt5),)
|
||||
$(QML_PLUGIN_NAME).lib.tag: $(TAR_ARCHIVE)
|
||||
endif
|
||||
|
||||
#
|
||||
# unfortunately, these clean rules don't trigger
|
||||
#
|
||||
|
||||
clean-tar_archive:
|
||||
rm -rf $(TAR_ARCHIVE)
|
||||
|
||||
clean: clean-tar_archive
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,63 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_FOREACH -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QUICKTEMPLATES2_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtquickcontrols2/src/imports/controls \
|
||||
qtdeclarative/include \
|
||||
qtdeclarative/include/QtQuick \
|
||||
qtbase/include \
|
||||
qtbase/include/QtGui \
|
||||
qtdeclarative/include/QtQml \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtCore \
|
||||
qtdeclarative/include/QtQuick/5.13.0 \
|
||||
qtdeclarative/include/QtQuick/5.13.0/QtQuick \
|
||||
qtbase/include/QtGui/5.13.0 \
|
||||
qtbase/include/QtGui/5.13.0/QtGui \
|
||||
qtdeclarative/include/QtQml/5.13.0 \
|
||||
qtdeclarative/include/QtQml/5.13.0/QtQml \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtquickcontrols2/include/QtQuickTemplates2/5.13.0 \
|
||||
qtquickcontrols2/include/QtQuickTemplates2/5.13.0/QtQuickTemplates2 \
|
||||
qtquickcontrols2/include \
|
||||
qtquickcontrols2/include/QtQuickTemplates2 \
|
||||
qtquickcontrols2/include/QtQuickControls2/5.13.0 \
|
||||
qtquickcontrols2/include/QtQuickControls2/5.13.0/QtQuickControls2 \
|
||||
qtquickcontrols2/include/QtQuickControls2 \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qquickdefaultbusyindicator.cpp \
|
||||
qquickdefaultdial.cpp \
|
||||
qquickdefaultprogressbar.cpp \
|
||||
qquickdefaultstyle.cpp \
|
||||
qquickdefaulttheme.cpp \
|
||||
qtquickcontrols2plugin.cpp \
|
||||
qrc_qtquickcontrols2plugin.cpp \
|
||||
qrc_qmake_QtQuick_Controls_2.cpp \
|
||||
moc_qquickdefaultbusyindicator_p.cpp \
|
||||
moc_qquickdefaultdial_p.cpp \
|
||||
moc_qquickdefaultprogressbar_p.cpp \
|
||||
moc_qquickdefaultstyle_p.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtquickcontrols2/src/imports/controls \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
moc_qquickdefaultbusyindicator_p.cpp \
|
||||
moc_qquickdefaultdial_p.cpp \
|
||||
moc_qquickdefaultprogressbar_p.cpp \
|
||||
moc_qquickdefaultstyle_p.cpp
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qtquickcontrols2plugin.moc
|
||||
|
@ -1,45 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_qtquicktemplates2plugin_generated.inc
|
||||
|
||||
QT_DEFINES += -UQT_STATICPLUGIN
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core qt5_gui qt5_qml qt5_quick qt5_quicktemplates2
|
||||
|
||||
# install the QML plugin
|
||||
|
||||
QML_PLUGIN_NAME := qt5_qtquicktemplates2plugin
|
||||
QML_INSTALL_DIR := qt/qml/QtQuick/Templates.2
|
||||
|
||||
QML_PLUGIN := $(QML_INSTALL_DIR)/$(QML_PLUGIN_NAME).lib.so
|
||||
TAR_ARCHIVE := $(BUILD_BASE_DIR)/bin/$(QML_PLUGIN_NAME).tar
|
||||
|
||||
$(QML_INSTALL_DIR):
|
||||
$(VERBOSE)mkdir -p $@
|
||||
|
||||
$(QML_PLUGIN): $(QML_INSTALL_DIR) $(QML_PLUGIN_NAME).lib.so.stripped
|
||||
$(VERBOSE)cp $(QML_PLUGIN_NAME).lib.so.stripped $@
|
||||
|
||||
$(TAR_ARCHIVE): $(QML_PLUGIN)
|
||||
$(VERBOSE)tar cf $@ qt
|
||||
|
||||
ifneq ($(call select_from_ports,qt5),)
|
||||
$(QML_PLUGIN_NAME).lib.tag: $(TAR_ARCHIVE)
|
||||
endif
|
||||
|
||||
#
|
||||
# unfortunately, these clean rules don't trigger
|
||||
#
|
||||
|
||||
clean-tar_archive:
|
||||
rm -rf $(TAR_ARCHIVE)
|
||||
|
||||
clean: clean-tar_archive
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -1,46 +0,0 @@
|
||||
QT_DEFINES += -DQT_NO_FOREACH -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QUICKTEMPLATES2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
|
||||
|
||||
QT_INCPATH += \
|
||||
qtquickcontrols2/src/imports/templates \
|
||||
qtdeclarative/include \
|
||||
qtdeclarative/include/QtQuick \
|
||||
qtbase/include \
|
||||
qtbase/include/QtGui \
|
||||
qtdeclarative/include/QtQml \
|
||||
qtbase/include/QtNetwork \
|
||||
qtbase/include/QtCore \
|
||||
qtdeclarative/include/QtQuick/5.13.0 \
|
||||
qtdeclarative/include/QtQuick/5.13.0/QtQuick \
|
||||
qtbase/include/QtGui/5.13.0 \
|
||||
qtbase/include/QtGui/5.13.0/QtGui \
|
||||
qtdeclarative/include/QtQml/5.13.0 \
|
||||
qtdeclarative/include/QtQml/5.13.0/QtQml \
|
||||
qtbase/include/QtCore/5.13.0 \
|
||||
qtbase/include/QtCore/5.13.0/QtCore \
|
||||
qtquickcontrols2/include/QtQuickTemplates2/5.13.0 \
|
||||
qtquickcontrols2/include/QtQuickTemplates2/5.13.0/QtQuickTemplates2 \
|
||||
qtquickcontrols2/include \
|
||||
qtquickcontrols2/include/QtQuickTemplates2 \
|
||||
qtbase/mkspecs/genode-g++
|
||||
|
||||
QT_SOURCES += \
|
||||
qtquicktemplates2plugin.cpp
|
||||
|
||||
QT_VPATH += \
|
||||
qtquickcontrols2/src/imports/templates \
|
||||
|
||||
# some source files need to be generated by moc from other source/header files before
|
||||
# they get #included again by the original source file in the compiling stage
|
||||
|
||||
# source files generated from existing header files ('moc_%.cpp: %.h' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_header_make_all' target
|
||||
|
||||
COMPILER_MOC_HEADER_MAKE_ALL_FILES = \
|
||||
|
||||
|
||||
# source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc)
|
||||
# extracted from 'compiler_moc_source_make_all' rule
|
||||
|
||||
COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \
|
||||
qtquicktemplates2plugin.moc
|
||||
|
@ -1,45 +0,0 @@
|
||||
IMPORT_QT5_INC=$(call select_from_repositories,lib/import/import-qt5.inc)
|
||||
|
||||
include $(IMPORT_QT5_INC)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5_qtquickvirtualkeyboardplugin_generated.inc
|
||||
|
||||
QT_DEFINES += -UQT_STATICPLUGIN
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt5.inc
|
||||
|
||||
LIBS += qt5_core qt5_gui qt5_qml qt5_virtualkeyboard
|
||||
|
||||
# install the QML plugin
|
||||
|
||||
QML_PLUGIN_NAME := qt5_qtquickvirtualkeyboardplugin
|
||||
QML_INSTALL_DIR := qt/qml/QtQuick/VirtualKeyboard
|
||||
|
||||
QML_PLUGIN := $(QML_INSTALL_DIR)/$(QML_PLUGIN_NAME).lib.so
|
||||
TAR_ARCHIVE := $(BUILD_BASE_DIR)/bin/$(QML_PLUGIN_NAME).tar
|
||||
|
||||
$(QML_INSTALL_DIR):
|
||||
$(VERBOSE)mkdir -p $@
|
||||
|
||||
$(QML_PLUGIN): $(QML_INSTALL_DIR) $(QML_PLUGIN_NAME).lib.so.stripped
|
||||
$(VERBOSE)cp $(QML_PLUGIN_NAME).lib.so.stripped $@
|
||||
|
||||
$(TAR_ARCHIVE): $(QML_PLUGIN)
|
||||
$(VERBOSE)tar cf $@ qt
|
||||
|
||||
ifneq ($(call select_from_ports,qt5),)
|
||||
$(QML_PLUGIN_NAME).lib.tag: $(TAR_ARCHIVE)
|
||||
endif
|
||||
|
||||
#
|
||||
# unfortunately, these clean rules don't trigger
|
||||
#
|
||||
|
||||
clean-tar_archive:
|
||||
rm -rf $(TAR_ARCHIVE)
|
||||
|
||||
clean: clean-tar_archive
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user