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. Header file reference problem???
Forum Updated to NodeBB v4.3 + New Features

Header file reference problem???

Scheduled Pinned Locked Moved General and Desktop
18 Posts 6 Posters 9.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.
  • T Offline
    T Offline
    TobbY
    wrote on last edited by
    #1

    @#undef UNICODE
    #include <sapi.h>
    #include <sphelper.h>
    #include <comdef.h>
    #define UNICODE@

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      What, exactly, is your question?

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TobbY
        wrote on last edited by
        #3

        these header files not found in qt, and i dont know where do i add them

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thisisbhaskar
          wrote on last edited by
          #4

          Where are these header files.. Don't think are Qt Standard Headers.??

          If you want to add headers and libs that are not part of Qt Standard set.. use INCLUDEPATH and LIBS in .pro file

          http://doc.qt.nokia.com/4.7-snapshot/qmake-variable-reference.html#includepath

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TobbY
            wrote on last edited by
            #5

            i know how to include them. but wt is the purpose of these???

            1 Reply Last reply
            0
            • T Offline
              T Offline
              thisisbhaskar
              wrote on last edited by
              #6

              [quote author="TobbY" date="1308892851"]i know how to include them. [/quote]

              Did not get you. You know how to include them?? then what is the problem??

              [quote author="TobbY" date="1308892851"]but wt is the purpose of these???[/quote]

              Purpose of what??? Can you clarify?

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TobbY
                wrote on last edited by
                #7

                i am working on QtSpeech example, i tried to run it , but those headers are missing.

                1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  ZapB
                  wrote on last edited by
                  #8

                  WHere is the example from? Can you post a link? Does it come with a readme file?

                  Nokia Certified Qt Specialist
                  Interested in hearing about Qt related work

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    goetz
                    wrote on last edited by
                    #9

                    Just googling for sapi.h and sphelper.h shows that these are for the Microsoft Speech API 5.3:

                    http://msdn.microsoft.com/en-us/library/ms720163(VS.85).aspx

                    http://www.catb.org/~esr/faqs/smart-questions.html

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      thisisbhaskar
                      wrote on last edited by
                      #10

                      [quote author="TobbY" date="1308899847"]i am working on QtSpeech example, i tried to run it , but those headers are missing.[/quote]

                      When you say you are working on QtSpeech example, we need to ask you one more question on where is this example???

                      If you can provide as much information as possible, we can solve it quick and fast. This back and forth consumes lot of time for you. You may not want that..

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        TobbY
                        wrote on last edited by
                        #11

                        https://gitorious.org/qt-speech/qt-speech

                        this project is still in development, but its working code. but i got some errors.

                        if you got success then pls solve it..

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          loladiro
                          wrote on last edited by
                          #12

                          Pro Tip: Read the INSTALL file

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            thisisbhaskar
                            wrote on last edited by
                            #13

                            [quote author="TobbY" date="1308907642"]https://gitorious.org/qt-speech/qt-speech

                            this project is still in development, but its working code. but i got some errors.

                            if you got success then pls solve it..[/quote]

                            If you look at https://gitorious.org/qt-speech/qt-speech/blobs/master/QtSpeech.pri

                            @
                            win32 {
                            SOURCES += QtSpeech_win.cpp
                            INCLUDEPATH += "C:/Program Files/PSDK/Include"
                            INCLUDEPATH += "C:/Program Files/PSDK/Include/atl"
                            INCLUDEPATH += "C:/Program Files/Microsoft Speech SDK 5.1/Include
                            LIBS += -L"C:/Program Files/Microsoft Speech SDK 5.1/Lib/i386"
                            }@

                            Do you have these dirs and libs in your windows machine???

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              TobbY
                              wrote on last edited by
                              #14

                              i have microsoft speech sdk but i dont know what is PSKD????

                              1 Reply Last reply
                              0
                              • Z Offline
                                Z Offline
                                ZapB
                                wrote on last edited by
                                #15

                                platform sdk

                                Nokia Certified Qt Specialist
                                Interested in hearing about Qt related work

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  TobbY
                                  wrote on last edited by
                                  #16

                                  [quote author="Vijay Bhaska Reddy" date="1308908050"]
                                  [quote author="TobbY" date="1308907642"]https://gitorious.org/qt-speech/qt-speech

                                  this project is still in development, but its working code. but i got some errors.

                                  if you got success then pls solve it..[/quote]

                                  If you look at https://gitorious.org/qt-speech/qt-speech/blobs/master/QtSpeech.pri

                                  @
                                  win32 {
                                  SOURCES += QtSpeech_win.cpp
                                  INCLUDEPATH += "C:/Program Files/PSDK/Include"
                                  INCLUDEPATH += "C:/Program Files/PSDK/Include/atl"
                                  INCLUDEPATH += "C:/Program Files/Microsoft Speech SDK 5.1/Include
                                  LIBS += -L"C:/Program Files/Microsoft Speech SDK 5.1/Lib/i386"
                                  }@

                                  Do you have these dirs and libs in your windows machine???

                                  [/quote]
                                  *
                                  does it work for you*

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    thisisbhaskar
                                    wrote on last edited by
                                    #17

                                    I did not try and don't think have time to check out code and download these speech sdk just to see if it compiles. After seeing your previous post, the first thing that came to my mind is to search in google what is this "PSDK", and I got some answers. Did you try that..

                                    You can always remove those two INCLUDEPATH statements and see what header files are missing and google them to see how you can get them...

                                    1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      TobbY
                                      wrote on last edited by
                                      #18

                                      ok, thank you so much for help.

                                      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