visualfc / go-ui

golang ui
BSD 2-Clause "Simplified" License
296 stars 105 forks source link

windows compile, there has been a wrong" cannot find -lqtdrv" #4

Open hinet opened 12 years ago

hinet commented 12 years ago

windows compile, there has been a wrong: c:> cd visualfc c:\visualfc> go build d:/program files/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe cannot find -lqtdrv

Please help

matm commented 12 years ago

You should try this after building go-ui's qtdrv lib:

go build -ldflags '-r /path/to/libdir/'