Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling projects
Qt 6.11 is out! See what's new in the release blog

Compiling projects

Scheduled Pinned Locked Moved Installation and Deployment
21 Posts 5 Posters 15.1k 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
    alexspin
    wrote on last edited by
    #12

    Thanks Andre and Gerolf. I try to unistall and reinstall the SDK and test.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #13

      as you use ui stuff, you should have this in the beginning:

      @
      QT += core gui xml
      @

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

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

        By default, QT already has at least core (and I believe gui too). So just

        @
        QT += xml
        @

        should be enough.

        1 Reply Last reply
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on last edited by
          #15

          IMO, this sounds like the path doesn't contain the route to the libraries, so they aren't being found. If this is the case, maybe using -Lfulllibroute instead of -llibname could be useful (-L full lib route, -l library name). Also, I don't know which $PATH(s) mingw's ld looks into...

          --

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

            I've uninstall Qt sdk and minigw and reinstall only Qt sdk.
            I've load my project, run qmake and build project obtaining a lot of error like:

            _undefined reference to __gxx_personality_sj0'_ _undefined reference to Unwind_SjLj_Register'
            _undefined reference to _Unwind_SjLj_Unregister'_ _undefined reference to Unwind_SjLj_Resume'

            It seems like a non correct library link.

            1 Reply Last reply
            0
            • ? This user is from outside of this forum
              ? This user is from outside of this forum
              Guest
              wrote on last edited by
              #17

              After such a tremendous software removal and reinstallation... a full clean build is recommended, IMHO.

              --

              1 Reply Last reply
              0
              • A Offline
                A Offline
                alexspin
                wrote on last edited by
                #18

                I've done it but I obtained the same errors.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  alexspin
                  wrote on last edited by
                  #19

                  I have reinstalled the Qt SDK and after compile my project I obtained this errors:

                  ./release\moc_mainwindow.o:moc_mainwindow.cpp:(.text+0xb7): undefined reference to `__gxx_personality_sj0'

                  ./release\moc_mainwindow.o:moc_mainwindow.cpp:(.text+0xca): undefined reference to `_Unwind_SjLj_Register'

                  ./release\moc_mainwindow.o:moc_mainwindow.cpp:(.text+0x113): undefined reference to `_Unwind_SjLj_Unregister'

                  ./release\moc_mainwindow.o:moc_mainwindow.cpp:(.text+0xa76): undefined reference to `_Unwind_SjLj_Resume'

                  for each file.

                  How can manage this? Which library contain that reference?

                  Please help!

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    alexspin
                    wrote on last edited by
                    #20

                    Ok, I've done it.
                    I've installed the SDK that the project was made, 2009.03, and with this the project compile correctly.

                    Why?
                    Any ideas?

                    1 Reply Last reply
                    0
                    • ? This user is from outside of this forum
                      ? This user is from outside of this forum
                      Guest
                      wrote on last edited by
                      #21

                      2 years ago... too many changes in Qt since that moment in time? Couldn't say, as i recently joined this page...

                      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