windows qt 컴 파일 Oacle11g 구동

qtcreator 로 부하 위 치 를 여 는 프로젝트 E: \ Qt \ 4.8.0 \ src \ plugins \ \ sqldrivers \ oci
컴 파일 할 때 pro 파일 을 수정 해 야 합 니 다.
TARGET = qsqloci
 
 
SOURCES = main.cpp
include(../../../sql/drivers/oci/qsql_oci.pri)
 
 
include(../qsqldriverbase.pri)
 
 
 
 
INCLUDEPATH += F:/app/Administrator/product/11.2.0/dbhome_1/OCI/include
LIBS += -L F:/app/Administrator/product/11.2.0/dbhome_1/BIN

그 중에서 include 와 LIBS 는 Oacle 의 설치 디 렉 터 리 입 니 다.
기억 해 주세요. - L 까지.
생 성 된 동적 라 이브 러 리 는 아래 디 렉 터 리 에 있 습 니 다.
E:\Qt\4.8.0\plugins\sqldrivers

좋은 웹페이지 즐겨찾기