Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. visual c++
    Log in to post

    • UNSOLVED Translating C++ Excel RTD Server (DLL) to Qt ActiveX DLL Server
      General and Desktop • qt5.12.x visual c++ excel activeqt activex • • MoAboulmagd  

      1
      0
      Votes
      1
      Posts
      226
      Views

      No one has replied

    • SOLVED Mouse click for latest Qt and VC++ problem....
      Game Development • gui visual c++ mouse events • • Tamis2018  

      10
      0
      Votes
      10
      Posts
      1897
      Views

      @JKSH Yes, I had to reinstalled QT on Visual C++. Works OK... THANKS!!!
    • UNSOLVED Building QT from source code statically to be used with Visual Studio
      Installation and Deployment • visual studio deployment static build visual c++ x64 • • onat  

      2
      0
      Votes
      2
      Posts
      922
      Views

      Hi, Use the amd64 command prompt when building Qt.
    • UNSOLVED error lnk2038: mismatch detected for '_msc_ver'
      General and Desktop • visual studio qt4 visual c++ visual studio 2 • • srikanth  

      2
      0
      Votes
      2
      Posts
      2648
      Views

      @srikanth https://stackoverflow.com/questions/19575747/error-lnk2038-mismatch-detected-for-msc-ver-value-1600-doesnt-match-valu and others like https://stackoverflow.com/questions/14692019/linking-error-because-of-different-versions-msvc-and-qt-libraries
    • UNSOLVED Building DLL in Visual Studio with Static Linking to QT
      Installation and Deployment • visual studio dll static static linking visual c++ • • mlathrop  

      17
      0
      Votes
      17
      Posts
      7482
      Views

      @koahnig SetName takes in a char* because it is a part of an API. @kshegunov Here are the relevant linker calls. I don't know how to get the .pro file from a VS project. Here is the linker call in the project that makes the dll: /OUT:"E:\Users\misappsci\Documents\Projects\yyy\x64\bin\yyy3D.dll" /MANIFEST /LTCG:incremental /NXCOMPAT /PDB:"E:\Users\misappsci\Documents\Projects\yyy\x64\bin\yyy3D.pdb" /DYNAMICBASE "sl_zed64.lib" "opencv_world310.lib" "cudart.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" "qtmain.lib" "Qt5Core.lib" "Qt5Multimedia.lib" "Qt5Gui.lib" "winmm.lib" /IMPLIB:"E:\Users\misappsci\Documents\Projects\yyy\x64\bin\yyy3D.lib" /DEBUG /DLL /MACHINE:X64 /OPT:REF /PGD:"E:\Users\misappsci\Documents\Projects\yyy\x64\bin\yyy3D.pgd" /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"x64\3DRelease\yyy3D.dll.intermediate.manifest" /OPT:ICF /ERRORREPORT:PROMPT /NOLOGO /LIBPATH:"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64" /LIBPATH:"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0/lib/x64" /LIBPATH:"C:\Program Files (x86)\ZED SDK\dependencies\opencv_3.1.0/x64/vc14/lib" /LIBPATH:"C:\Program Files (x86)\ZED SDK\lib" /LIBPATH:"C:\Program Files\boost\boost_1_63_0/lib/x64" /LIBPATH:"C:\Qt\5.7\msvc2015_64\lib" /TLBID:1 Here is the linker call for the project that uses the dll and has the run time error: /OUT:"E:\Users\misappsci\Documents\Projects\Aerie\host_x64\x64\Release\AerieLib.dll" /MANIFEST /LTCG:incremental /NXCOMPAT /PDB:"E:\Users\misappsci\Documents\Projects\Aerie\host_x64\x64\Release\AerieLib.pdb" /DYNAMICBASE "Qt5Core.lib" "Qt5Gui.lib" "Qt5Multimedia.lib" "yyy3D.lib" "sl_zed64.lib" "opencv_world310.lib" "cudart.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /IMPLIB:"E:\Users\misappsci\Documents\Projects\Aerie\host_x64\x64\Release\AerieLib.lib" /DEBUG /DLL /MACHINE:X64 /OPT:REF /PGD:"E:\Users\misappsci\Documents\Projects\Aerie\host_x64\x64\Release\AerieLib.pgd" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"x64\Release\AerieLib.dll.intermediate.manifest" /OPT:ICF /ERRORREPORT:PROMPT /NOLOGO /LIBPATH:"C:\Qt\5.7\msvc2015_64\lib" /LIBPATH:"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0/lib/x64" /LIBPATH:"C:\Program Files (x86)\ZED SDK\dependencies\opencv_3.1.0/x64/vc14/lib" /LIBPATH:"C:\Program Files (x86)\ZED SDK\lib" /LIBPATH:"E:\Users\misappsci\Documents\Projects\yyy\x64\bin" /LIBPATH:"C:\Program Files\boost\boost_1_63_0/lib/x64/" /TLBID:1
    • UNSOLVED Qtcharts with visual C++
      3rd Party Software • qtcharts visual c++ namespace • • awawawa  

      2
      0
      Votes
      2
      Posts
      1312
      Views

      @awawawa Hi. Try in your test.h as follows: #ifndef TEST_H #define TEST_H #include <QtCharts> QT_CHARTS_USE_NAMESPACE #include <QMainWindow> #include "ui_test.h" class test : public QMainWindow { [...] Do not modify your ui_test.h.
    • UNSOLVED connecting CPLEX to Qt
      General and Desktop • qt 5.6.0 visual c++ cplex • • nazimGT  

      10
      0
      Votes
      10
      Posts
      3158
      Views

      Here you have the instructions
    • UNSOLVED QT5.5 : Application Runtime Error (application has requested the runtime to terminate)
      General and Desktop • qt5.5 visual c++ runtimeerror • • karan.kapoor  

      14
      0
      Votes
      14
      Posts
      6120
      Views

      Hi and welcome to devnet, One thing you can use is the windeployqt helper program. It should setup your Qt dependencies correctly for your application to start.
    • UNSOLVED Failed to build Qt 4.8.7 x64 (VS 2010)
      General and Desktop • qt4 visual c++ sdk buid • • Davita  

      1
      0
      Votes
      1
      Posts
      873
      Views

      No one has replied

    • [SOLVED] Setting up Visual Studio compiler with qt
      General and Desktop • visual studio debug debugger compile compiler visual c++ • • danieldil  

      4
      0
      Votes
      4
      Posts
      4452
      Views

      @TheBadger Thank you that was the right link.