Hi! You may use your nmake with QT, but without *.sln project file.
It's more easy.
Convert your *.sln in .pro file and start play with OCC!
for the sample you may use qmake -project YourProjectName.
Archived discussion
Hi friends
I'm using VS2008 with OCC 6.3.0 library. When I build the samples tutorial.sln, I got no errors.
When I debug it, instead of having a window showing the bottle, I get an empty Qt-GUI window with a lot of buttons (MNU_FILE, MNU_VIEW, MNU_HELP, MNU_NEW and MNU_ABOUT).
I already saw this topic
http://www.opencascade.org/org/forum/thread_17441/
but It didn't explain how to solve my problem using visual studio 2008 on window XP.
I put these variables:
JAVAHOME=C:\Java\jdk1.6.0_20
CASROOT=D:\logiciels\OpenCASCADE_win32\win32\ros
TCLLIBPATH=C:\Tcl\lib
TCL_LIBRARY=C:\Tcl\lib\tcl8.5
TK_LIBRARY=C:\Tcl\lib\tk8.5
TIX_LIBRARY=C:\Tcl\lib\tix8.2
PATH=D:\logiciels\OpenCASCADE_win32\win32\3rdparty\win32\vs;D:\logiciels\OpenCASCADE_win32\win32\3rdparty\win32\tcltk\bin;
D:\logiciels\OpenCASCADE_win32\win32\ros\win32\bin;C:\Tcl\bin;c:\program files\miktex 2.7\miktex\bin;
c:\windows\system32;
c:\windows;
c:\windows\system32\wbem;
c:\program files\intel\dmix;
c:\program files\microsoft sql server\90\tools\bin\;
c:\program files\mysql\mysql server 5.0\bin;
D:\Program Files\bin\win32;
%QTDIR%\bin\;%QTDIR%\lib\;
%CASROOT%\win32\dll;
%CASROOT%\..\3rdparty\win32\tcltk\bin;
%Path%
Please someone can help me ? I really don't succeed in finding an answer to my problem. thank you very much for your time
Author
Discussion
Posts are displayed in their archived order.
Hi! You may use your nmake with QT, but without *.sln project file.
It's more easy.
Convert your *.sln in .pro file and start play with OCC!
for the sample you may use qmake -project YourProjectName.
unfortunately I've got the same problem... the Qt 4.6.2 Command prompt tells me that the file was constructed with an empty filename. In the end, I generated two executables displaying the same empty window.