generator

package
v0.0.0-...-3a0b311 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoIcon = fmt.Errorf("icon file doesn't exist")

ErrNoIcon is error that fired when app icon doesn't exist

View Source
var ErrNoResourceDir = fmt.Errorf("resource directory doesn't exist")

ErrNoResourceDir is error that fired when resource directory doesn't exist

Functions

func CopyDependencies

func CopyDependencies(profile config.Profile, projectDir, outputPath string) error

CopyDependencies copies dependencies to output directory

func CreateCgoFile

func CreateCgoFile(profile config.Profile, projectDir string, pkgName string) error

CreateCgoFile creates cgo file in specified package, using cgo flags that generated by CreateCgoFlags().

func CreateMocFile

func CreateMocFile(mocPath string, src string) error

CreateMocFile creates moc file from the specified source. If destination is not specified, the moc file will be saved in file "moc-" + source.name + ".h"

func CreateQmlObjectCode

func CreateQmlObjectCode(profile config.Profile, projectDir string, buildTags ...string) []error

CreateQmlObjectCode generates Go code and C++ code for all QmlObject in specified directory

func CreateRccFile

func CreateRccFile(profile config.Profile, projectDir string) error

CreateRccFile creates rcc.cpp file from resource directory at `projectDir/res`

func CreateSysoFile

func CreateSysoFile(profile config.Profile, projectDir string) error

CreateSysoFile creates syso file from ICO file in the specified source.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL