Important: Please read the Qt Code of Conduct -


  • I'm a beginner with OpenGL and I am trying to add qtlogo.h into my project. I found the files in my computer and a copy and pasted qtlogo.h and qtlogo.cpp into the project's folder (not the build folder).

    However, I am still getting an error stating that I have an undefined reference to QtLogo's constructor. I believe I have a linking error because I'm not adding the files into the project correctly.

    Any solutions?

  • Moderators

    Are qtlogo.h and qtlogo.cpp added into your .pro file?

Log in to reply