Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt template specialization error and linking issues
Qt 6.11 is out! See what's new in the release blog

Qt template specialization error and linking issues

Scheduled Pinned Locked Moved Qt Creator and other tools
17 Posts 3 Posters 8.6k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    apreddy
    wrote on last edited by
    #7

    i tried doing that .. but unfortunately i had like a lot of errors. that too in the in the qt header files ...so i suspect what i am doing is wrong.. another thing to mention here is that all my source files when i individually compile compile well but when i compile the entire project that's when i get into trouble.

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #8

      Hmm just a guess, mabe you quuid stuff needs a qglobal.h, perhaps try
      #include <qglobal.h>
      just before
      #include <ui_blackmainwindow.h>
      in your blackmainwindow.h (or the .h file where the quuid stuff goes)

      1 Reply Last reply
      0
      • A Offline
        A Offline
        apreddy
        wrote on last edited by
        #9

        Hi hskoglund,

        I tried including q global but that has not improved the situation.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          apreddy
          wrote on last edited by
          #10

          Hi There,

          Dose anyone have any more suggestions??

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andreyc
            wrote on last edited by
            #11

            Have you tried to build the project on other OS (Linux, MacOS X) ?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              apreddy
              wrote on last edited by
              #12

              I tried building it in Mac OS X and it works fine, and i have not tried bulding it in linux yet.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andreyc
                wrote on last edited by
                #13

                Do you use correct compiler to build on windows?
                Check in the settings what compiler version is selected to Qt 5.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  apreddy
                  wrote on last edited by
                  #14

                  I a using MinGW4.8 32 bit compile which came along the qt .

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    andreyc
                    wrote on last edited by
                    #15

                    You don't have other versions of Qt and compilers, right?

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      apreddy
                      wrote on last edited by
                      #16

                      nope i uninstalled the previous versons which i had previously installed..

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        andreyc
                        wrote on last edited by
                        #17

                        What if

                        create a simple Qt project

                        in the header of MainWindow #include <QUuid>

                        add QUuid variable to MainWindow

                        try to compile

                        Does it generate the error?

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved