Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt and cmake conflict

Qt and cmake conflict

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 629 Views
  • 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.
  • small_birdS Offline
    small_birdS Offline
    small_bird
    wrote on last edited by
    #1

    hello, everyone , I am programming a huge qt-widget project. However, the 3rd libs are using cmake to compile. When I invoke the function in the project, there shows up some errors:

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      What errors?

      Is your project based on CMake as well, or you're using qmake?

      (Z(:^

      small_birdS 2 Replies Last reply
      1
      • sierdzioS sierdzio

        What errors?

        Is your project based on CMake as well, or you're using qmake?

        small_birdS Offline
        small_birdS Offline
        small_bird
        wrote on last edited by
        #3

        @sierdzio there are some conflicts with qt symbol "slots" and "emit" .
        i mean that in 3rd part libs, there are the same symbols, how to avoid that? thanks a lot

        W 1 Reply Last reply
        0
        • sierdzioS sierdzio

          What errors?

          Is your project based on CMake as well, or you're using qmake?

          small_birdS Offline
          small_birdS Offline
          small_bird
          wrote on last edited by
          #4

          @sierdzio how to paste picture using cloud, it seems that I do not have right to upload the pictures!

          jsulmJ 1 Reply Last reply
          0
          • small_birdS small_bird

            @sierdzio how to paste picture using cloud, it seems that I do not have right to upload the pictures!

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @small_bird You can use https://doc.qt.io/qt-5/qobject.html#Q_SIGNAL and https://doc.qt.io/qt-5/qobject.html#Q_EMIT

            Take a look at: https://doc.qt.io/qt-5/signalsandslots.html#3rd-party-signals-and-slots

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            4
            • small_birdS small_bird

              @sierdzio there are some conflicts with qt symbol "slots" and "emit" .
              i mean that in 3rd part libs, there are the same symbols, how to avoid that? thanks a lot

              W Offline
              W Offline
              wrosecrans
              wrote on last edited by
              #6

              @small_bird In general, post error messages as text rather than taking a screenshot of an error message and posting that. It makes it much easier for people with similar problems to find the error in the future, and it's much easier for you too.

              small_birdS 1 Reply Last reply
              1
              • W wrosecrans

                @small_bird In general, post error messages as text rather than taking a screenshot of an error message and posting that. It makes it much easier for people with similar problems to find the error in the future, and it's much easier for you too.

                small_birdS Offline
                small_birdS Offline
                small_bird
                wrote on last edited by
                #7

                @wrosecrans understand, thanks a lot!

                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