diff --git a/src/sql/doc/snippets/code/code.pro b/src/sql/doc/snippets/code/code.pro index 0ddb9d2ce4..779aee7f6b 100644 --- a/src/sql/doc/snippets/code/code.pro +++ b/src/sql/doc/snippets/code/code.pro @@ -1,6 +1,10 @@ TEMPLATE = lib TARGET = code_snippets -QT = core sql +QT = core + +#! [qmake_use] +QT += sql +#! [qmake_use] SOURCES = \ doc_src_sql-driver.cpp \ diff --git a/src/sql/doc/src/qtsql.qdoc b/src/sql/doc/src/qtsql.qdoc index 5206b87cfb..0fa0aa894e 100644 --- a/src/sql/doc/src/qtsql.qdoc +++ b/src/sql/doc/src/qtsql.qdoc @@ -47,7 +47,7 @@ See also the \l {Build with CMake} overview. \include module-use.qdocinc building with qmake - \snippet snippets/snippets.pro qmake_use + \snippet snippets/code/code.pro qmake_use \section1 Module Evolution \l{Porting to Qt 6 - Qt SQL} lists important changes in the module API