mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 06:14:59 +00:00
Qt6 Frontend (MetaBuilder Landing)
This directory contains a minimal Qt Quick replica of the public MetaBuilder landing page currently rendered by the Next.js Level1 component.
Purpose
- Mirror the hero marketing copy, feature highlights, contact CTA, and status overview that appear on
frontends/nextjs. - Provide a starting point for building a native Qt6 experience or prototyping desktop/web skins of the MetaBuilder brand.
Running
- Install Qt 6 (e.g., via the official installer) if you don’t already have it.
- Run the scene with
qmlscene frontends/qt6/FrontPage.qml(or build the Qt6 project and runfrontends/qt6/mainso the C++ entry point loadsFrontPage.qml).
You can also embed main.qml into a Qt Quick Application project and expose C++ integrations for live data later.
Component library
- Shared QML components live under
frontends/qt6/qmllib/MetaBuilder. - Import them via
import "qmllib/MetaBuilder" as MetaBuilderand reuseMetaBuilder.NavBar,MetaBuilder.HeroSection,MetaBuilder.FeatureCard,MetaBuilder.StatusCard, andMetaBuilder.ContactFormto keep future pages consistent.
Material UI rendition
- Material-inspired components live under
frontends/qt6/qmllib/Materialand provide palette tokens plus buttons, cards, text fields, chips, and sample layouts. - Import them with
import "qmllib/Material" as Materialand referenceMaterial.MaterialButton,Material.MaterialCard,Material.MaterialTextField,Material.MaterialChip, and the singleton paletteMaterial.MaterialPalette. - Use
Material.MaterialSurfaceandMaterial.MaterialDividerto group controls with Material elevation, spacing, and dividers. Material.MaterialButtonnow supports icon sources and a built-in ripple animation so interactions feel tactile.- Material badges live in
Material.MaterialBadgefor lightweight status chips (accented, dense, or outlined). Material.MaterialBadgealso acceptsiconSourceso you can anchor a micro icon beside the label.- Preview the Material view with
qmlscene frontends/qt6/MaterialLanding.qmlor embed it into your Qt Quick application to reuse the tokens and components across other screens.