Documentation ¶
Index ¶
- Variables
- func CopyDependencies(profile config.Profile, projectDir, outputPath string) error
- func CreateCgoFile(profile config.Profile, projectDir string, pkgName string) error
- func CreateMocFile(mocPath string, src string) error
- func CreateQmlObjectCode(profile config.Profile, projectDir string, buildTags ...string) []error
- func CreateRccFile(profile config.Profile, projectDir string) error
- func CreateSysoFile(profile config.Profile, projectDir string) error
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 ¶
CopyDependencies copies dependencies to output directory
func CreateCgoFile ¶
CreateCgoFile creates cgo file in specified package, using cgo flags that generated by CreateCgoFlags().
func CreateMocFile ¶
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 ¶
CreateQmlObjectCode generates Go code and C++ code for all QmlObject in specified directory
func CreateRccFile ¶
CreateRccFile creates rcc.cpp file from resource directory at `projectDir/res`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.