June 24, 2011

TobbY TobbY
Lab Rat
208 posts

header file reference problem???

Page  
1

  1. #undef UNICODE
  2. #include <sapi.h>
  3. #include <sphelper.h>
  4. #include <comdef.h>
  5. #define UNICODE

 Signature 

Gorilla..

17 replies

June 24, 2011

mlong mlong
Mad Scientist
1517 posts

What, exactly, is your question?

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

June 24, 2011

TobbY TobbY
Lab Rat
208 posts

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

 Signature 

Gorilla..

June 24, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

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

June 24, 2011

TobbY TobbY
Lab Rat
208 posts

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

 Signature 

Gorilla..

June 24, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts
TobbY wrote:
i know how to include them.

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

TobbY wrote:
but wt is the purpose of these???

Purpose of what??? Can you clarify?

June 24, 2011

TobbY TobbY
Lab Rat
208 posts

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

 Signature 

Gorilla..

June 24, 2011

ZapB ZapB
Robot Herder
1354 posts

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

 Signature 

Nokia Certified Qt Specialist
Interested in hearing about Qt related work

June 24, 2011

Volker Volker
Robot Herder
5428 posts

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

June 24, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts
TobbY wrote:
i am working on QtSpeech example, i tried to run it , but those headers are missing.

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..

June 24, 2011

TobbY TobbY
Lab Rat
208 posts

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..

 Signature 

Gorilla..

June 24, 2011

loladiro loladiro
Lab Rat
596 posts

Pro Tip: Read the INSTALL file

June 24, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

TobbY wrote:
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..

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

  1.  
  2. win32 {
  3.     SOURCES += QtSpeech_win.cpp
  4.     INCLUDEPATH += "C:/Program Files/PSDK/Include"
  5.     INCLUDEPATH += "C:/Program Files/PSDK/Include/atl"
  6.     INCLUDEPATH += "C:/Program Files/Microsoft Speech SDK 5.1/Include
  7.    LIBS += -L"C:/Program Files/Microsoft Speech SDK 5.1/Lib/i386"
  8. }

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

June 24, 2011

TobbY TobbY
Lab Rat
208 posts

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

 Signature 

Gorilla..

June 24, 2011

ZapB ZapB
Robot Herder
1354 posts

platform sdk

 Signature 

Nokia Certified Qt Specialist
Interested in hearing about Qt related work

June 24, 2011

TobbY TobbY
Lab Rat
208 posts

Vijay Bhaska Reddy wrote:

TobbY wrote:
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..

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

  1.  
  2. win32 {
  3.     SOURCES += QtSpeech_win.cpp
  4.     INCLUDEPATH += "C:/Program Files/PSDK/Include"
  5.     INCLUDEPATH += "C:/Program Files/PSDK/Include/atl"
  6.     INCLUDEPATH += "C:/Program Files/Microsoft Speech SDK 5.1/Include
  7.    LIBS += -L"C:/Program Files/Microsoft Speech SDK 5.1/Lib/i386"
  8. }

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


does it work for you*

 Signature 

Gorilla..

Page  
1

  ‹‹ How to check QStringList is Empty?      Is it possible to delay load QtGui4.dll in Windows? ››

You must log in to post a reply. Not a member yet? Register here!