View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024415 | Open CASCADE | OCCT:Samples | public | 2013-11-28 17:24 | 2014-05-05 13:37 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.6.0 | ||||
Target Version | 6.7.1 | Fixed in Version | 6.7.1 | ||
Summary | 0024415: Update QT samples | ||||
Description | Update QT samples for current state of OCCT. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Issue was resolved please review changes in branch CR24415 |
|
Please check whether the changed code works with Qt 4. If not, we will need to adapt the code so as top work with both Qt 5 and Qt 4 (e.g. add "typedef QMdiArea QWorkspace;" for Qt 5 in some common header file). |
|
Dear abv, Please check branch CR24415. |
|
I have rebased branch on the current master and made some minor corrections to environment and PRO files so as to use current path as location of sample code instead of hard-coding it, and simplifying PRO files, pushed to branch CR24415_1, please check. When running generation-vc-projects.bat with Qt 4.6.2, I get the following warnings: Project MESSAGE: Warning: unknown QT: widgets Project MESSAGE: Warning: unknown QT: widgets WARNING: Failure to find: src\*.h Project MESSAGE: Warning: unknown QT: widgets WARNING: Failure to find: src\*.h When building with MSVC 9 (32 bit), I get compiler warnings: Warning 7 warning C4189: 'stat' : local variable is initialized but not referenced d:\OCCT670\opencascade-6.7.0\samples2\qt\Interface\src\Application.cxx 140 IESample Warning 3 warning C4100: 'aDisplay' : unreferenced formal parameter d:\OCCT670\opencascade-6.7.0\samples2\qt\Common\src\DocumentCommon.cxx 19 IESample Warning 5 warning C4018: '<' : signed/unsigned mismatch d:\OCCT670\opencascade-6.7.0\samples2\qt\Common\src\ApplicationCommon.cxx 360 IESample In addition, there are 5 warnings 4996 (use of deprecated C functions); please suppress them by adding compiler option /wd4996 |
|
Dear abv, please check branch CR24415_1. I have removed all warnings except one. Warning 3 warning C4100: 'aDisplay' : unreferenced formal parameter d:\OCCT670\opencascade-6.7.0\samples2\qt\Common\src\DocumentCommon.cxx 19 IESample The point is that variable 'aDisplay' is not used as result of string #if !defined(_WIN32) && !defined(__WIN32__) && (!defined(__APPLE__) || defined(MACOSX_USE_GLX)) |
|
No remarks, please test |
|
Branch CR24415_1 has been updated. Some small errors have been removed. One warning presence in both samples: ..\Common\src\DocumentCommon.cxx(19) : warning C4100: 'aDisplay' : unreferenced formal parameter |
|
Fix was tested of branch CR24415_CR24479. There no remarks except: For example: After you just start Tutorial application and select MakeBottle button the shape appears but after you select RT button the shape disappears and can not be displayed any means The same behavior is at IE smple. |
|
Fix has been integrated to master of occt repository together with issue 0024479 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-11-28 17:24 |
|
New Issue | |
2013-11-28 17:24 |
|
Assigned To | => vdn |
2013-11-29 12:43 |
|
Note Added: 0027000 | |
2013-11-29 12:43 |
|
Assigned To | vdn => abv |
2013-11-29 12:43 |
|
Status | new => resolved |
2013-12-10 09:48 |
|
Note Added: 0027140 | |
2013-12-10 09:48 |
|
Assigned To | abv => sdv |
2013-12-10 09:48 |
|
Status | resolved => assigned |
2013-12-21 10:13 |
|
Target Version | 6.7.0 => 6.7.1 |
2014-01-08 18:02 |
|
Note Added: 0027399 | |
2014-01-08 18:03 |
|
Assigned To | sdv => abv |
2014-01-08 18:03 |
|
Status | assigned => resolved |
2014-01-09 09:10 |
|
Note Added: 0027403 | |
2014-01-09 09:10 |
|
Assigned To | abv => sdv |
2014-01-09 09:10 |
|
Status | resolved => assigned |
2014-01-10 16:21 |
|
Note Added: 0027435 | |
2014-01-10 16:22 |
|
Assigned To | sdv => abv |
2014-01-10 16:22 |
|
Status | assigned => resolved |
2014-01-11 12:06 |
|
Category | OCCT Release:QT => OCCT:Samples |
2014-01-11 17:44 |
|
Note Added: 0027444 | |
2014-01-11 17:44 |
|
Assigned To | abv => bugmaster |
2014-01-11 17:44 |
|
Status | resolved => reviewed |
2014-01-15 16:02 | bugmaster | Note Added: 0027501 | |
2014-01-15 16:02 | bugmaster | Assigned To | bugmaster => abv |
2014-01-15 16:02 | bugmaster | Status | reviewed => assigned |
2014-01-21 12:04 | bugmaster | Assigned To | abv => dbp |
2014-01-22 16:54 | bugmaster | Status | assigned => resolved |
2014-01-22 16:55 | bugmaster | Status | resolved => reviewed |
2014-01-22 16:55 | bugmaster | Note Added: 0027609 | |
2014-01-22 16:55 | bugmaster | Status | reviewed => tested |
2014-01-24 15:37 | bugmaster | Note Added: 0027641 | |
2014-01-24 15:37 | bugmaster | Status | tested => verified |
2014-01-24 15:37 | bugmaster | Resolution | open => fixed |
2014-05-05 13:34 |
|
Status | verified => closed |
2014-05-05 13:37 |
|
Fixed in Version | => 6.7.1 |