Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

error: redefinition of ‘class RFontButton’



  • Could anybody help me? Please, right now We're having problems with Qt 3.3 , this is our error :

    ../../../src/lib/gui/rfontbutton.h:15:7: error: redefinition of ‘class RFontButton’
    class RFontButton : public QPushButton

    Also We have this:

    ../../../src/lib/gui/rfontbutton.h:15:7: error: previous definition of ‘class RFontButton’
    class RFontButton : public QPushButton

    Thank You for your help!
    send you


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Qt 3.3 ? Is there an error in the version number ? Qt 3.3 is more than 12 years old and has reached end of life a long time ago.

    In any case, do you have several files that defines RFontButton ?


Log in to reply