CopperSpice Overview
Troubleshooting
  • Build files for the KitchenSink project can be referenced when creating your project files. Full source, including all project files are available in the source distribution for these projects.

    Download tar or zip
    Clone from github

  • Qt Creator editor may have an issue locating the resource or qrc file when specifying an icon. Right click on the icon field and paste in the location of your qrc resource. For example, if plus.png is an image in your resource folder, paste in the following:
    :/resources/plus.png

  • void MyClass::someMethod() cannot be overloaded
    private:
    void someMethod(bool ok,int data);
    CS_SLOT_1(Private, void someMethod(bool ok,QString data))
    CS_SLOT_2(someMethod)
    Review the class declaration for a method called someMethod() and a Signal or Slot which references the same method name. Refer to item #5 in the Migration Notes.

  • GCC Error message
    decltype cannot resolve address of overloaded function
    Refer to the previous issue.

  • Runtime Error message
    (CopperSpice)   Method registration for overload was not found in the Map
    (CopperSpice)   MyClass::someMethod() : Unable to register method pointer, verify signal/slot
    Review the CS_SIGNAL_1() and CS_SLOT_1() declarations for a signature mismatch.

  • Runtime Error message
    QObject::connect() SomeClass::someSignal(const QString &)   Unable to connect to receiver in Ginger(ginger.cpp:42)
    Signal Index: 5   Slot Index: -1
    The signature for all Signals and Slots must agree. If an index value is -1 then review the signature for the Signal and Slot.