You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, May 10th 2005, 9:04am

somebody help me![oracle and qt]

when i use qt,if i do not install oracle client ,i can not link with orcle database.can you tell me why?is it necessaty to install client when i link with orcle database.thank you very much!

  • "wysota" is male

Posts: 4,276

Location: Warsaw, POLAND

  • Send private message

2

Tuesday, May 10th 2005, 9:09am

RE: somebody help me!

Because Qt database driver needs the client's library to operate on a database. That's exactly the same with other drivers too.

3

Tuesday, May 10th 2005, 9:23am

thank you ! but i have copyed the orcle client library to my computer ,and i have changed my enviroment variable to the place where i copy the libarry to.,qt can link with oracle database.please tell me why?

  • "wysota" is male

Posts: 4,276

Location: Warsaw, POLAND

  • Send private message

4

Tuesday, May 10th 2005, 9:25am

I don't exactly understand what you mean... You mean that the compiler links the project even if there is no client library on your system? Of course it does, because it is the driver that depends on it and not your application directly. You can build it, but you won't be able to run it probably.

5

Tuesday, May 10th 2005, 9:35am

can you tell me your msn ?i want to ask you some questions ,thank you?

  • "wysota" is male

Posts: 4,276

Location: Warsaw, POLAND

  • Send private message

6

Tuesday, May 10th 2005, 9:36am

No I can't. I don't use crap like that :) You have forum for asking questions. You can also ask Qt related questions on #qt channel at irc.freenode.org

7

Tuesday, May 10th 2005, 9:40am

can you tell me is it necessary to install oracle client?if not,please tell me how to do?can you tell me in detail !

dimitri

Professional

  • "dimitri" is male

Posts: 1,311

Occupation: Engineer

  • Send private message

8

Tuesday, May 10th 2005, 9:55am

See this thread:
http://www.qtforum.org/thread.php?threadid=11240

File plugins/src/sqldrivers/README reads:

Quoted

Please note that the Oracle and TDS client drivers are not distributed with
the free version of Qt.

This is because the client libraries are distributed under a license which
is not compatible with the GPL license.

  • "wysota" is male

Posts: 4,276

Location: Warsaw, POLAND

  • Send private message

9

Tuesday, May 10th 2005, 9:56am

You must have all libs your program and its dependencies depend on. Google for more info on how to check dependencies of a program.

dimitri

Professional

  • "dimitri" is male

Posts: 1,311

Occupation: Engineer

  • Send private message

10

Tuesday, May 10th 2005, 9:59am

Which exact version of Qt are you using?

11

Tuesday, May 10th 2005, 10:01am

i have installed all libs to my computer, what can i searck from google and how can i do?

dimitri

Professional

  • "dimitri" is male

Posts: 1,311

Occupation: Engineer

  • Send private message

12

Tuesday, May 10th 2005, 10:04am

Don't look for anything on Google for now.
Just answer this question first:
Which exact version of Qt are you using?

13

Tuesday, May 10th 2005, 10:09am

3.2.0

14

Tuesday, May 10th 2005, 10:13am

enterprise editor

dimitri

Professional

  • "dimitri" is male

Posts: 1,311

Occupation: Engineer

  • Send private message

15

Tuesday, May 10th 2005, 2:38pm

OK, if you have Qt 3.2.0 Enterprise edition, you need to:
  1. Get the Oracle client libraries from Oracle;
  2. Build the Oracle driver as described in the Qt documentation - the Trolltech Web server is down so I'm afraid I can't provide an URL.
    [/list=1]

    So yes, you need to install the Oracle client libraries in order to build the Qt Oracle drivers.

This post has been edited 1 times, last edit by "dimitri" (May 10th 2005, 2:39pm)


16

Wednesday, May 11th 2005, 2:20am

sorry, i installed the qt32.1professional editor in my computer ,does it
support orcle driver?

dimitri

Professional

  • "dimitri" is male

Posts: 1,311

Occupation: Engineer

  • Send private message

17

Wednesday, May 11th 2005, 6:09am

This post has been edited 1 times, last edit by "dimitri" (May 11th 2005, 6:11am)


18

Wednesday, May 11th 2005, 7:54am

At first ,thank you to answer my question ,now ,i unsterstand what you have means ,but in http://www.trolltech.com/products/qt/editions.html ,it does not tell us the professiona editor does not support oracle database .
At there ,i want to say i can use tds ,odbc without installing client ,can you tell me why?

  • "wysota" is male

Posts: 4,276

Location: Warsaw, POLAND

  • Send private message

19

Wednesday, May 11th 2005, 8:58am

I have a question: do you have licences for both Professional and Enterprise editions?

20

Wednesday, May 11th 2005, 9:21am

no ,i install 3.1.0 commercial editor in my computer, if i do not install oracle clinet,it does no connect with oracle database,when i install oracle clinet ,it can connect with oracle database !thank you !