Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go get -v -u github.com/kitech/qt.go #48

Open
hippylover opened this issue Oct 20, 2019 · 1 comment
Open

go get -v -u github.com/kitech/qt.go #48

hippylover opened this issue Oct 20, 2019 · 1 comment

Comments

@hippylover
Copy link

hippylover commented Oct 20, 2019

$ go get -v -u github.com/kitech/qt.go
github.com/kitech/qt.go (download)
github.com/kitech/qt.go is a directory, should be a Go file

Do i need to worry about this? I cannot see any text at all with the provided example:

package main

import (
	"os"

	"github.com/kitech/qt.go/qtwidgets"
)

func main() {
	app := qtwidgets.NewQApplication(len(os.Args), os.Args, 0)
	btn := qtwidgets.NewQPushButton1("hello qt.go", nil)
	btn.Show()
	app.Exec()
}

Nor with any code of my own. I don't know if it is related.

@hippylover
Copy link
Author

hippylover commented Oct 20, 2019

fmt.Println(app.Font().ToString()) // returns:
Verdana,10,-1,5,50,0,0,0,0,0,Regular

The underlaying widget(in this example a button) changes size if i set another fontsize for example. But there's no text to be seen...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant