Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4054996
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:38:45+00:00 2026-05-20T14:38:45+00:00

After qmake and mingw32-make from these instructions succeeds, and I execute runhaskell Setup.hs build

  • 0

After qmake and mingw32-make from these instructions succeeds,
and I execute runhaskell Setup.hs build, I get the following error:

[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'
In the instance declaration for `QsaSlotReject a'

the Attributes.hs file (line 578 – 583):

class QsaSlotReject w where
  slotReject', reject' ::  (Qslot w (w -> ()), (w -> ()))

instance (Qstt a (QDialogSc b)) => QsaSlotReject (a) where
  slotReject' = (Qslot "reject()", \_ -> ())
  reject' = slotReject'

Environment :

  • Windows 7
  • Haskell Platform 2011.2.0
  • Qt sdk 4.7

btw, I encountered an out of memory twice in the process, but I guess that doesn’t matter.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:38:46+00:00Added an answer on May 20, 2026 at 2:38 pm

    The trouble comes from the fact that

    data Qslot x f = Qslot String
    

    so there’s a bit of difficulty inferring what x and f might be from a given item of the form Qslot “Blah blah”. Perhaps there has been a subtle change in the inference mechanism GHC uses since the last version of qthaskell went up last Fall.

    In any case, it seems to compile, with some curious warnings, and the examples work, if you replace

     instance (Qstt a (QDialogSc b)) => QsaSlotReject (a) where
        slotReject' = (Qslot "reject()", \_ -> ())
        reject' = slotReject'
    

    with

     instance (Qstt a (QDialogSc b)) => QsaSlotReject (a) where
       slotReject' = (Qslot "reject()", \_ -> ())
       reject' = (Qslot "reject()", \_ -> ())
    

    That way ghc does’t have to wonder quite as much…

    There must be something that would make things more precise. I don’t know if the eta reduce warnings that start cropping up systematically later have to do with this line.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After doing a JSON decode, I get the following: [0] => stdClass Object (
After following the setup described on the Github page for rbenv and running the
After installing collective.solr via buildout, I am getting the following error when attempting to
After doing an AJAX call, am redirecting- using the following code. But, after AJAX
After researching ways to make a secure log in form with 'remember me' functionality
After following: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview I can sign up a user via Facebook. But I'm struggling
I am trying to build Qt with Microsoft's 64-bit compiler. I downloaded qt-everywhere-opensource-src-4.8.0.tar.gz from
After moving away from Biztalk since BT2006, we're looking at bringing it back into
I use qmake to build a project. The project contains several static libs and
After using the following code no errors are shown, but my database is not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.