Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Qt Contribution
  4. Build not successful for a non QT project
QtWS25 Last Chance

Build not successful for a non QT project

Scheduled Pinned Locked Moved Qt Contribution
15 Posts 2 Posters 5.3k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #5

    Can you show your pro file content ?

    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
    • M Offline
      M Offline
      mishraab
      wrote on last edited by
      #6

      @
      TEMPLATE = lib
      TARGET = STT
      INCLUDEPATH += path to XXT folder <I tried with relative path also>
      CONFIG += build_all

      Input

      HEADERS += swtdus_swtools/stt/aeneasversion.h
      swtdus_swtools/sttdecoder_3gfw/sttdecoder_3gfw.h
      <other header files>
      SOURCES += swtdus_swtools/baselibs/src/orexception.cpp
      swtdus_swtools/baselibs/src/ormutex.cpp
      <other source files>
      @

      Thanks !!

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

        Are you using the unix notation for all your paths ?

        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
        • M Offline
          M Offline
          mishraab
          wrote on last edited by
          #8

          INCLUDEPATH += C:/Users/mishraab/Documents/XXT/ I am using this notation, I had tried with black slash also.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mishraab
            wrote on last edited by
            #9

            header and source paths ate automatically generated.

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

              [quote author="mishraab" date="1418285012"]header and source paths ate automatically generated.[/quote]

              What do you mean by that ?

              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
              • M Offline
                M Offline
                mishraab
                wrote on last edited by
                #11

                When we generate .pro file using command : "qmake -project", the path to all header files and source files got copied to .pro file automatically.
                I followed the same notation (for path) in my INCLUDEPATH variable.

                I was trying to say this. What could be the problem ?? any idea?

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

                  Something's not clear:
                  You have

                  @C:\prj\ormut.cpp:@

                  and

                  @swtdus_swtools/baselibs/src/orexception.cpp@

                  Are these files in the same folder ?

                  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
                  • M Offline
                    M Offline
                    mishraab
                    wrote on last edited by
                    #13
                    1. C:\prj\ormut.cpp: where is this file?

                    Are you talking about ormutex.cpp ???? in swtdus_swtools/baselibs/src directory, i have 2 files ormutex.cpp and orexception.cpp; in the same folder.

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

                      [quote author="mishraab" date="1418107574"]
                      similar 7-8 warnings and 1 error:
                      @
                      C:\prj\ormut.cpp: 15: error: ormutex.h: No such file or directory
                      #include "ormutex.h" // class ORMutex
                      ^
                      @
                      Thanks in advance.[/quote]

                      That one

                      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
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #15

                        Yes, that's clear. The question is: where is that file and ormutex.h exactly located ?

                        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