Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • liniking in macOS to precompiled libraries ERROR

    Solved
    5
    0 Votes
    5 Posts
    650 Views
    MesrineM
    @hskoglund Actually in the linker message, one can see they are .so and Mac use .dylib.
  • How to call secondary window from MainWindow class function

    Unsolved
    2
    0 Votes
    2 Posts
    152 Views
    M
    @JacobNovitsky void MainWindow::on_pushButton_clicked() { QuickPaste* quickpaste=new QuickPaste(); quickPaste->setAttribute(Qt::WA_DeleteOnClose); quickpaste->show(); }
  • inherited from QWidget class does not render

    Unsolved
    4
    0 Votes
    4 Posts
    324 Views
    SGaistS
    It's a tricky one. Since you added the Q_OBJECT macro to your subclass, you need to re-implement the paintEvent method to render your widget with style sheet support. #ifndef MATRIZ_H #define MATRIZ_H #include <QWidget> class QHBoxLayout; class Matriz : public QWidget{ Q_OBJECT private: QHBoxLayout* lay {nullptr}; public: explicit Matriz(QWidget* parent = nullptr); virtual ~Matriz() = default; void paintEvent(QPaintEvent *paintEvent) override; }; #endif #include "matriz.h" #include <QHBoxLayout> #include <QPainter> #include <QStyle> #include <QStyleOption> Matriz::Matriz(QWidget* parent) : QWidget(parent){ lay = new QHBoxLayout; setLayout(lay); //apply layout to this widget } void Matriz::paintEvent(QPaintEvent *paintEvent) { Q_UNUSED(paintEvent); QStyleOption option; option.initFrom(this); QPainter painter(this); style()->drawPrimitive(QStyle::PE_Widget, &option, &painter, this); }; On a side note, next time you post code, ensure that it properly builds.
  • This topic is deleted!

    Unsolved
    4
    0 Votes
    4 Posts
    20 Views
  • Problem with DPI and QIcon

    Unsolved
    4
    0 Votes
    4 Posts
    416 Views
    Christian EhrlicherC
    @Kattia said in Problem with DPI and QIcon: what rect the QPainter path rect? The one you pass to QIcon::paint() and how do you multiply a rect? only its width/height? rect().size() * devicePixelRatio()
  • StyleSheet - disable coloring of selected text

    Solved
    3
    0 Votes
    3 Posts
    849 Views
    C
    Not specifying selection-color made the text invisible for me so I had to set it to the same color as color: QSpinBox { color: white; selection-background-color: transparent; selection-color: white; } I didn't have to set any stylesheet for the QSpinBox's QLineEdit.
  • MacOS: Program built, but can't find Qt5 framework

    Unsolved
    3
    0 Votes
    3 Posts
    808 Views
    R
    @jsulm Thanks!
  • The binary 'C:/Program Files (x86)/QT Designer/bin\assistant.exe' does not exist

    Unsolved
    8
    0 Votes
    8 Posts
    2k Views
    G
    I hase the same problem in python3.8 venv installation, assistant is located as .venv\Lib\site-packages\PySide6\assistant.exe and pyside6_qtdesigner lookfor .venv\Lib\site-packages\PySide6\bin/assistant.exe I use Python3.8.10 onWindows 10 Professionnel PySide6 vesion 6.5.2
  • plugion xcb can't be loaded

    Unsolved
    3
    0 Votes
    3 Posts
    614 Views
    JonBJ
    @fabiopires10 In addition to @Abderrahmene_Rayene, the starting move is to set environment variable QT_DEBUG_PLUGINS to value 1 and then run your program. You can do that from a terminal/shell or from Qt Creator. Then look at diagnostic output, near the end where it is failing.
  • error: no matching function for call to 'QList<QObject *>::removeAll()'

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    JonBJ
    @Calvin-H-C The sample code at https://doc.qt.io/qt-6/qtalgorithms.html#qDeleteAll gives just that code :)
  • Compile Plugin Oracle OCI SQL driver Qt 5.12.2 MSVC2015 Windows Errors

    Solved
    21
    0 Votes
    21 Posts
    5k Views
    JoeBermejalesJ
    It works now!! Thank you all for your quick and incredible help, I don't know how to thank you enough. Steps I followed: I deleted these variables from my PATH environment variables: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools Then, I removed the QT sources with the Qt Maintenance tool and installed them again (I think I saw some recommendations in the docs) And followed the @Bonnie steps: Opened the VS2015 x64 Native Tools Command Prompt Apply the following commands (see in bold ): C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>*cd* C:>mkdir build C:>cd build C:\build>qmake C:/Qt/5.12.2/Src/qtbase/src/plugins/sqldrivers/sqldrivers.pro -- OCI_INCDIR=C:\app\jose_\product\21c\dbhomeXE\oci\include OCI_LIBDIR=C:\app\jose_\product\21c\dbhomeXE\oci\lib\msvc Info: creating stash file C:\build.qmake.stash Running configuration tests... Checking for DB2 (IBM)... no Checking for InterBase... no Checking for MySQL... no Checking for OCI (Oracle)... yes Checking for ODBC... yes Checking for PostgreSQL... no Checking for SQLite (version 2)... no Checking for TDS (Sybase)... no Done running configuration tests. Configure summary: Qt Sql Drivers: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... yes ODBC ................................... yes PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt is now configured for building. Just run 'nmake'. Once everything is built, you must run 'nmake install'. Qt will be installed into 'C:\Qt\5.12.2\msvc2015_64'. Prior to reconfiguration, make sure you remove any leftovers from the previous build. C:\build>nmake sub-oci Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved. cd oci\ && ( if not exist Makefile C:\Qt\5.12.2\msvc2015_64\bin\qmake.exe -o Makefile C:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci\oci.pro ) && "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" -f Makefile Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved. "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" -f Makefile.Release all Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved. cl -BxC:\Qt\5.12.2\msvc2015_64\bin\qmake.exe -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -Zi -MD -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E C:\Qt\5.12.2\msvc2015_64\mkspecs\features\data\dummy.cpp 2>NUL >.moc\release\moc_predefs.h C:\Qt\5.12.2\msvc2015_64\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL --compiler-flavor=msvc --include C:/build/oci/.moc/release/moc_predefs.h -IC:/Qt/5.12.2/msvc2015_64/mkspecs/win32-msvc -IC:/Qt/5.12.2/Src/qtbase/src/plugins/sqldrivers/oci -IC:/Qt/5.12.2/msvc2015_64/include/QtSql/5.12.2 -IC:/Qt/5.12.2/msvc2015_64/include/QtSql/5.12.2/QtSql -IC:/Qt/5.12.2/msvc2015_64/include/QtCore/5.12.2 -IC:/Qt/5.12.2/msvc2015_64/include/QtCore/5.12.2/QtCore -IC:/Qt/5.12.2/msvc2015_64/include -IC:/Qt/5.12.2/msvc2015_64/include/QtSql -IC:/Qt/5.12.2/msvc2015_64/include/QtCore -I. -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" C:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci\main.cpp -o .moc\release\main.moc C:\Qt\5.12.2\msvc2015_64\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL --compiler-flavor=msvc --include C:/build/oci/.moc/release/moc_predefs.h -IC:/Qt/5.12.2/msvc2015_64/mkspecs/win32-msvc -IC:/Qt/5.12.2/Src/qtbase/src/plugins/sqldrivers/oci -IC:/Qt/5.12.2/msvc2015_64/include/QtSql/5.12.2 -IC:/Qt/5.12.2/msvc2015_64/include/QtSql/5.12.2/QtSql -IC:/Qt/5.12.2/msvc2015_64/include/QtCore/5.12.2 -IC:/Qt/5.12.2/msvc2015_64/include/QtCore/5.12.2/QtCore -IC:/Qt/5.12.2/msvc2015_64/include -IC:/Qt/5.12.2/msvc2015_64/include/QtSql -IC:/Qt/5.12.2/msvc2015_64/include/QtCore -I. -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" C:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci\qsql_oci_p.h -o .moc\release\moc_qsql_oci_p.cpp rc /NOLOGO -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -fo .obj\release\qsqloci_resource.res qsqloci_resource.rc cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -Zi -MD -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\release\qsqloci.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -IC:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci -I. -IC:\Qt\5.12.2\msvc2015_64\include\QtSql\5.12.2 -IC:\Qt\5.12.2\msvc2015_64\include\QtSql\5.12.2\QtSql -IC:\Qt\5.12.2\msvc2015_64\include\QtCore\5.12.2 -IC:\Qt\5.12.2\msvc2015_64\include\QtCore\5.12.2\QtCore -IC:\Qt\5.12.2\msvc2015_64\include -IC:\Qt\5.12.2\msvc2015_64\include\QtSql -IC:\Qt\5.12.2\msvc2015_64\include\QtCore -I.moc\release -IC:\app\jose_\product\21c\dbhomeXE\oci\include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.12.2\msvc2015_64\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\jose_\AppData\Local\Temp\nmF9C9.tmp qsql_oci.cpp main.cpp Generating Code... cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -Zi -MD -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\release\qsqloci.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DNDEBUG -D_WINDLL -IC:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci -I. -IC:\Qt\5.12.2\msvc2015_64\include\QtSql\5.12.2 -IC:\Qt\5.12.2\msvc2015_64\include\QtSql\5.12.2\QtSql -IC:\Qt\5.12.2\msvc2015_64\include\QtCore\5.12.2 -IC:\Qt\5.12.2\msvc2015_64\include\QtCore\5.12.2\QtCore -IC:\Qt\5.12.2\msvc2015_64\include -IC:\Qt\5.12.2\msvc2015_64\include\QtSql -IC:\Qt\5.12.2\msvc2015_64\include\QtCore -I.moc\release -IC:\app\jose_\product\21c\dbhomeXE\oci\include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.12.2\msvc2015_64\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\jose_\AppData\Local\Temp\nm1A9.tmp moc_qsql_oci_p.cpp link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /OPT:REF /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /VERSION:5.12 /OUT:..\plugins\sqldrivers\qsqloci.dll @C:\Users\jose_\AppData\Local\Temp\nm43B.tmp Creating library ..\plugins\sqldrivers\qsqloci.lib and object ..\plugins\sqldrivers\qsqloci.exp "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe" -f Makefile.Debug all Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved. cl -BxC:\Qt\5.12.2\msvc2015_64\bin\qmake.exe -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zi -MDd -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E C:\Qt\5.12.2\msvc2015_64\mkspecs\features\data\dummy.cpp 2>NUL >.moc\debug\moc_predefs.h C:\Qt\5.12.2\msvc2015_64\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_WINDLL --compiler-flavor=msvc --include C:/build/oci/.moc/debug/moc_predefs.h -IC:/Qt/5.12.2/msvc2015_64/mkspecs/win32-msvc -IC:/Qt/5.12.2/Src/qtbase/src/plugins/sqldrivers/oci -IC:/Qt/5.12.2/msvc2015_64/include/QtSql/5.12.2 -IC:/Qt/5.12.2/msvc2015_64/include/QtSql/5.12.2/QtSql -IC:/Qt/5.12.2/msvc2015_64/include/QtCore/5.12.2 -IC:/Qt/5.12.2/msvc2015_64/include/QtCore/5.12.2/QtCore -IC:/Qt/5.12.2/msvc2015_64/include -IC:/Qt/5.12.2/msvc2015_64/include/QtSql -IC:/Qt/5.12.2/msvc2015_64/include/QtCore -I. -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" C:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci\main.cpp -o .moc\debug\main.moc C:\Qt\5.12.2\msvc2015_64\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_WINDLL --compiler-flavor=msvc --include C:/build/oci/.moc/debug/moc_predefs.h -IC:/Qt/5.12.2/msvc2015_64/mkspecs/win32-msvc -IC:/Qt/5.12.2/Src/qtbase/src/plugins/sqldrivers/oci -IC:/Qt/5.12.2/msvc2015_64/include/QtSql/5.12.2 -IC:/Qt/5.12.2/msvc2015_64/include/QtSql/5.12.2/QtSql -IC:/Qt/5.12.2/msvc2015_64/include/QtCore/5.12.2 -IC:/Qt/5.12.2/msvc2015_64/include/QtCore/5.12.2/QtCore -IC:/Qt/5.12.2/msvc2015_64/include -IC:/Qt/5.12.2/msvc2015_64/include/QtSql -IC:/Qt/5.12.2/msvc2015_64/include/QtCore -I. -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" C:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci\qsql_oci_p.h -o .moc\debug\moc_qsql_oci_p.cpp rc /NOLOGO -D_DEBUG -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_WINDLL -fo .obj\debug\qsqlocid_resource.res qsqlocid_resource.rc cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zi -MDd -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\debug\qsqlocid.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_WINDLL -IC:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci -I. -IC:\Qt\5.12.2\msvc2015_64\include\QtSql\5.12.2 -IC:\Qt\5.12.2\msvc2015_64\include\QtSql\5.12.2\QtSql -IC:\Qt\5.12.2\msvc2015_64\include\QtCore\5.12.2 -IC:\Qt\5.12.2\msvc2015_64\include\QtCore\5.12.2\QtCore -IC:\Qt\5.12.2\msvc2015_64\include -IC:\Qt\5.12.2\msvc2015_64\include\QtSql -IC:\Qt\5.12.2\msvc2015_64\include\QtCore -I.moc\debug -IC:\app\jose_\product\21c\dbhomeXE\oci\include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.12.2\msvc2015_64\mkspecs\win32-msvc -Fo.obj\debug\ @C:\Users\jose_\AppData\Local\Temp\nm794.tmp qsql_oci.cpp main.cpp Generating Code... cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zi -MDd -utf-8 /wd4530 /wd4577 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\debug\qsqlocid.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_WINDLL -IC:\Qt\5.12.2\Src\qtbase\src\plugins\sqldrivers\oci -I. -IC:\Qt\5.12.2\msvc2015_64\include\QtSql\5.12.2 -IC:\Qt\5.12.2\msvc2015_64\include\QtSql\5.12.2\QtSql -IC:\Qt\5.12.2\msvc2015_64\include\QtCore\5.12.2 -IC:\Qt\5.12.2\msvc2015_64\include\QtCore\5.12.2\QtCore -IC:\Qt\5.12.2\msvc2015_64\include -IC:\Qt\5.12.2\msvc2015_64\include\QtSql -IC:\Qt\5.12.2\msvc2015_64\include\QtCore -I.moc\debug -IC:\app\jose_\product\21c\dbhomeXE\oci\include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.12.2\msvc2015_64\mkspecs\win32-msvc -Fo.obj\debug\ @C:\Users\jose_\AppData\Local\Temp\nmD61.tmp moc_qsql_oci_p.cpp link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.12 /OUT:..\plugins\sqldrivers\qsqlocid.dll @C:\Users\jose_\AppData\Local\Temp\nm1012.tmp Creating library ..\plugins\sqldrivers\qsqlocid.lib and object ..\plugins\sqldrivers\qsqlocid.exp C:\build> The OCI plugin is now installed in my Qt folder: [image: 83f216c6-33fa-41d1-9e4b-e877c534a528.png]
  • Protect files that are downloaded in flat mode to the PC

    Unsolved
    2
    0 Votes
    2 Posts
    155 Views
    JKSHJ
    @jchaviano said in Protect files that are downloaded in flat mode to the PC: my project will need files that will be downloaded from the cloud but I do not want the end clients to simply use these files from another application, how can I protect these source files. Once the bytes are on your user's machine, there is no way for you to enforce the rule that the bytes can only be loaded by one application but not by another application. Some options are: Encrypt the files and give your app the ability to decrypt them. Don't let the files get downloaded to disk. Let your application download them directly from the server and only store in memory, not on disk. Note: These tricks this only makes it harder -- not impossible -- for someone to decrypt/capture the data and use them in another application.
  • Problem debugging legacy app from Qt 5.15.2

    Unsolved
    1
    0 Votes
    1 Posts
    178 Views
    No one has replied
  • Application Checksum Keeps On Changing

    Unsolved
    5
    0 Votes
    5 Posts
    722 Views
    JonBJ
    @AkashPatel28 ...Plus if you really wanted this/equivalent then signing your code is the way to go.
  • 0 Votes
    2 Posts
    414 Views
    SGaistS
    Hi and welcome to devnet, AFAIK, it's not possible currently. You might want to check the bug report system to see if there's something related there and if not open a feature request.
  • How to draw a pointing arrow progress using QPainter

    Unsolved
    8
    0 Votes
    8 Posts
    767 Views
    S
    How about, make an alpha mask with the shape then draw rectangles from right to left overlapping them and for each rectangle you write the pixels out with the alpha mask?
  • 0 Votes
    6 Posts
    799 Views
    A
    Problem solved: Instead of: QNetworkAccessManager* manager = new QNetworkAccessManager(); manager->get(QNetworkRequest(<our URL>)); we use: QNetworkAccessManager* manager = new QNetworkAccessManager(); QNetworkRequest request(<our URL>); request.setAttribute(QNetworkRequest::Http2AllowedAttribute, false); manager->get(request); Http2AllowedAttribute was false by default in Qt 5, and is true by default in Qt 6.
  • Can't Install

    Solved
    3
    0 Votes
    3 Posts
    290 Views
    F
    @jsulm thank you
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • The inferior stopped because it triggered an exception.

    Unsolved
    2
    0 Votes
    2 Posts
    689 Views
    jsulmJ
    @Pradson said in The inferior stopped because it triggered an exception.: Why am I facing different behavior with same code? Most probably an issue in your code which does not always lead to a crash. But like always is such situations: run your app through debugger and check the stack trace after crash.