小编Son*_*eng的帖子

编译qtHaskell时发生错误

在qmake和mingw32-make从这些指令成功后,我执行runhaskell Setup.hs build,我收到以下错误:

[651 of 662] Compiling Qtc.Core.Attributes ( Qtc\Core\Attributes.hs, dist\build\Qtc\Core\Attributes.o )
Qtc\Core\Attributes.hs:584:13:
Could not deduce (Qstt a (QDialogSc b))
  arising from a use of `slotReject''
from the context (Qstt a (QDialogSc b1))
  bound by the instance declaration
  at Qtc\Core\Attributes.hs:582:10-52
Possible fix:
  add (Qstt a (QDialogSc b)) to the context of
    the instance declaration
  or add an instance declaration for (Qstt a (QDialogSc b))
In the expression: slotReject'
In an equation for `reject'': reject' = slotReject' …
Run Code Online (Sandbox Code Playgroud)

windows qt haskell

8
推荐指数
1
解决办法
296
查看次数

标签 统计

haskell ×1

qt ×1

windows ×1