Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Compiling "picking and selection mode" example in Qt 4.7

    General and Desktop
    2
    2
    800
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • -
      -Qt- last edited by

      Hi!

      I have just started using Qt Creator + OpenGl and I have to implement my code with a function using picking to get a link to my object and change some properties, for example. I would like to try to compile first some examples in order to understand well how this function works. I have found here->http://www.et.byu.edu/~merk/me570/qtRedExamples.html the example: "QT translation of picksquare" but its only one file and I don't know how can I compile it, I tried to create the project file but it's not working (undefined reference to `vtable for MainWindow' ) if anyone can help me with this or tell me where can I find an example just ready to be compiled I would be really thankful for it!

      Thanks a lot!!

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        You seem to have an unrelated error.

        You should put the cpp in a folder and run qmake -project then open that project with QtCreator

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post