Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Library package for xml shcema design in CMake?
Forum Updated to NodeBB v4.3 + New Features

Library package for xml shcema design in CMake?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
11 Posts 2 Posters 1.9k 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.
  • K Offline
    K Offline
    kishore_hemmady
    wrote on last edited by
    #1

    hi
    i have included QT-xml-patterns package to run my Qt application in cmake for XSD,
    but it was throwing an error "library for xsd missing"
    please help me to find the proper package name for xsd

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What version of Linux are you running ?

      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
      0
      • K Offline
        K Offline
        kishore_hemmady
        wrote on last edited by
        #3

        ubuntu 16.04 LTS

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you show your CMakefile and the exact error you are getting ?

          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
          0
          • K Offline
            K Offline
            kishore_hemmady
            wrote on last edited by kishore_hemmady
            #5

            error:unable to find the package " QT-xml-patterns"

            K 1 Reply Last reply
            0
            • K kishore_hemmady

              error:unable to find the package " QT-xml-patterns"

              K Offline
              K Offline
              kishore_hemmady
              wrote on last edited by
              #6

              Hi @SGaist
              i have addes qtxmlpatterns5-dev-tools package,
              but its showing no such library for XSD.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kishore_hemmady
                wrote on last edited by
                #7

                fatal error: QXmlSchema: No such file or directory
                compilation terminated.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Again: please show your CMakefile.txt file.

                  From the error you are not use the correct package name. It's XmlPatterns.

                  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
                  1
                  • K Offline
                    K Offline
                    kishore_hemmady
                    wrote on last edited by
                    #9

                    hi @SGaist
                    find_package(Qt5XmlPatterns REQUIRED)
                    target_link_libraries(IntelMars Qt5::Gui Qt5::Core Qt5::Widgets Qt5::Xml Threads::Threads ${GLUT_LIBRARY} ${QTXMLPATTERNS})
                    i have added these two lines in CMakefile.txt file.

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kishore_hemmady
                      wrote on last edited by
                      #10

                      i find Qt5XmlPatterns is the package for QXmlSchema, so i ahve included it inside the CMakwFile.txt
                      still while 'make'
                      its showing an error
                      fatal error: QXmlSchema: No such file or directory

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Again:

                        Please show the complete cmake file.

                        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
                        0

                        • Login

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