View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026739 | Open CASCADE | OCCT:Configuration | public | 2015-10-01 13:17 | 2016-04-20 15:49 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 7.0.0 | ||||
Target Version | 7.0.0 | Fixed in Version | 7.0.0 | ||
Summary | 0026739: Problem with generate Qt samples | ||||
Description | Since version 7.7.0 OCCT generated using CMake. For generating Qt samples taken environment of OCCT. Obtained environment is not suitable for work with Qt samples. | ||||
Steps To Reproduce | 1 - Generated OCCT using CMake 2 - Up to samples\qt\Tutorial 3 - Try generate sample using genproj.bat Vcxproj project file not generated. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
In my opinion there several solutions to this problem. The firs method is to create a new environment that will be used only for Qt samples of OCCT and OCCT Products. The second method is in the process of generating copy file env.bat from CASROOT\adm\templates to sample folder and call it. For both methods create custom.bat and set in it missing variables( bin for 3rd-parties ) for generate sample. |
|
dear ski, could you share your thought how to solve this issue? |
|
1) Cmake should copy QT samples during installation to INSTALL directory (as it is done for mfc samples). 2) Add next lines in each env.bat from QT samples (at the end of env.bat): set "QTDIR=" set "PATH=%QTDIR%/bin;%PATH%" set "CSF_OPT_INC=%CASROOT%/inc;%QTDIR%/include;%QTDIR%/include/Qt;%QTDIR%/include/QtGui;%QTDIR%/include/QtCore" set "CSF_OPT_LIB%ARCH%=%QTDIR%/lib;%CASROOT%/win%ARCH%/%VCVER%/lib%CASDEB%" Note that QT should be installed locally on station, and i think that user should set QTDIR variable manually. Or via CMake gui during occt configuration. Also, instead of step №2, it is possible to change *.pro files in QT samples to use direct paths to occt/qt includes and libs (avoid using of variables CSF_OPT_INC and CSF_OPT_LIB) |
|
Branch CR26739 has been created by ski. SHA-1: 5ff029f18421ab451ee3a891a1c9032dd5a3d7f2 Detailed log of new commits: Author: ski Date: Fri Oct 2 17:42:20 2015 +0300 0026739: Problem with generate Qt samples Generation of project files was fixed. |
|
Branch CR26739 has been updated forcibly by ski. SHA-1: c37c1e26a61340822f2e2791d7bcc8c7bb29882b |
|
Branch CR26739 has been updated forcibly by ski. SHA-1: a3e5653269eee8227161026d8e411325f17a4eb8 |
|
Branch CR26739 has been updated forcibly by ski. SHA-1: 571c01d322c1ea3469c0bfd1e16b543b365963b3 |
|
Dear ibs, please review. |
|
Note that PRODUCT branch CR26739 was created. |
|
the patch has been reviewed without any remarks |
|
Branch CR26739 has been updated forcibly by mkv. SHA-1: a48cc8f246c362c9a1d38d27a62895bbc493b230 |
|
Branch CR26739 has been updated forcibly by mkv. SHA-1: 224f2b678ba182af05c64eea9bfd567695abb7dc |
|
Dear BugMaster, Branch CR26739 was rebased on current master of occt git-repository. SHA-1: 224f2b678ba182af05c64eea9bfd567695abb7dc Branch CR26739 was rebased on current master of products git-repository. SHA-1: b543aa16b90ab31c8ae9189467ca9d5c4848bd9c |
|
Dear BugMaster, Branch CR26739 from occt git-repository (and CR26739 from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode. SHA-1: 224f2b678ba182af05c64eea9bfd567695abb7dc SHA-1: b543aa16b90ab31c8ae9189467ca9d5c4848bd9c Number of compiler warnings: occt component : Linux: 13 (13 on master) Windows: 0 (0 on master) products component : Linux: 39 (39 on master) Windows: 0 (0 on master) There are compilation errors in occt Qt samples on windows platform: http://jenkins-test-01.nnov.opencascade.com:8080/view/CR26739-CR26739/job/CR26739-CR26739_build_occt_qt_samples_window/1/parsed_console/ 1>d:\builds\vc10\CR26739-CR26739-occt-64\inc\Font_FTLibrary.hxx(23): fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory Regressions/Differences/Improvements: No regressions/differences Testing cases: Not needed Testing on Linux: occt component : Total MEMORY difference: 92390165 / 92513068 [-0.13%] Total CPU difference: 19622.219999999845 / 19402.44000000005 [+1.13%] products component : Total MEMORY difference: 26285833 / 26331029 [-0.17%] Total CPU difference: 7802.489999999991 / 7325.130000000003 [+6.52%] Testing on Windows: occt component : Total MEMORY difference: 58090601 / 58100694 [-0.02%] Total CPU difference: 18645.785523498886 / 18016.196687698903 [+3.49%] products component : Total MEMORY difference: 17182590 / 17187400 [-0.03%] Total CPU difference: 5909.4114806000025 / 5633.211710099969 [+4.90%] There are no differences in images found by testdiff. |
|
Branch CR26739 has been updated by ski. SHA-1: 3a91f40fdb57335ce639ea117ba209c6ba6764f4 Detailed log of new commits: Author: ski Date: Wed Oct 14 12:51:21 2015 +0300 Eliminated using of FreeType in VoxelDemo sample |
|
> Eliminated using of FreeType in VoxelDemo sample this change will conflict with 0026765 |
|
Branch CR26739_1 has been created by ski. SHA-1: 333c8dcb200173bc5a9fee1d62537b291a9d0e65 Detailed log of new commits: Author: ski Date: Tue Oct 6 14:14:36 2015 +0300 0026739: Problem with generate Qt samples Generation of project files was fixed. |
|
Branch CR26739_1 was rebased on branch 0026765 (qt samples VoxelDemo was removed at all). occt branch CR26739_1 and product branch CR26739 are ready for review and testing |
|
Dear ibs, please, review. |
|
dear bugmaster, the patch has been reviewed without any remark. |
|
Dear BugMaster, Branch CR26739_1 from occt git-repository (and CR26739 from products git-repository) was compiled on Linux, MacOS and Windows platforms on Release mode. SHA-1: 333c8dcb200173bc5a9fee1d62537b291a9d0e65 SHA-1: 4e20132b2e0d5c8189e28c3c7b0b45ec6bfd8309 Number of compiler warnings: occt component : Linux: 13 (13 on master) Windows: 0 (0 on master) products component : Linux: 39 (39 on master) Windows: 0 (0 on master) |
|
Dear BugMaster, Branch CR26739_1 is TESTED. |
|
Branch CR26739 has been deleted by kgv. SHA-1: 3a91f40fdb57335ce639ea117ba209c6ba6764f4 |
|
Branch CR26739_1 has been deleted by kgv. SHA-1: 333c8dcb200173bc5a9fee1d62537b291a9d0e65 |
occt: master 980d161f 2015-10-06 11:14:36
Committer: bugmaster Details Diff |
0026739: Problem with generate Qt samples Generation of project files was fixed. |
Affected Issues 0026739 |
|
mod - samples/qt/Common/src/View.cxx | Diff File | ||
add - samples/qt/IESample/custom.bat | Diff File | ||
mod - samples/qt/IESample/custom.sh | Diff File | ||
mod - samples/qt/IESample/env.bat | Diff File | ||
mod - samples/qt/IESample/env.sh | Diff File | ||
mod - samples/qt/IESample/genproj.bat | Diff File | ||
mod - samples/qt/IESample/IESample.pro | Diff File | ||
mod - samples/qt/IESample/make.sh | Diff File | ||
mod - samples/qt/IESample/run.bat | Diff File | ||
mod - samples/qt/IESample/run.sh | Diff File | ||
add - samples/qt/Tutorial/custom.bat | Diff File | ||
mod - samples/qt/Tutorial/custom.sh | Diff File | ||
mod - samples/qt/Tutorial/env.bat | Diff File | ||
mod - samples/qt/Tutorial/env.sh | Diff File | ||
mod - samples/qt/Tutorial/genproj.bat | Diff File | ||
mod - samples/qt/Tutorial/make.sh | Diff File | ||
mod - samples/qt/Tutorial/run.sh | Diff File | ||
mod - samples/qt/Tutorial/Tutorial.pro | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-01 13:17 |
|
New Issue | |
2015-10-01 13:17 |
|
Assigned To | => ibs |
2015-10-01 13:43 |
|
Note Added: 0046366 | |
2015-10-01 13:45 |
|
Note Added: 0046367 | |
2015-10-01 13:45 |
|
Assigned To | ibs => ski |
2015-10-01 13:45 |
|
Status | new => feedback |
2015-10-01 14:45 |
|
Assigned To | ski => ibs |
2015-10-01 14:46 |
|
Note Added: 0046371 | |
2015-10-01 14:46 |
|
Note Edited: 0046371 | |
2015-10-01 16:28 |
|
Assigned To | ibs => afv |
2015-10-01 16:42 |
|
Assigned To | afv => ski |
2015-10-01 16:42 |
|
Status | feedback => assigned |
2015-10-02 17:52 | git | Note Added: 0046419 | |
2015-10-05 16:30 | git | Note Added: 0046480 | |
2015-10-05 16:32 | git | Note Added: 0046481 | |
2015-10-06 18:20 | git | Note Added: 0046536 | |
2015-10-07 12:18 |
|
Note Added: 0046547 | |
2015-10-07 12:18 |
|
Assigned To | ski => ibs |
2015-10-07 12:18 |
|
Status | assigned => resolved |
2015-10-07 12:24 |
|
Note Added: 0046548 | |
2015-10-08 14:58 |
|
Note Added: 0046602 | |
2015-10-08 14:58 |
|
Assigned To | ibs => bugmaster |
2015-10-08 14:58 |
|
Status | resolved => reviewed |
2015-10-08 17:33 | git | Note Added: 0046606 | |
2015-10-08 18:59 |
|
Assigned To | bugmaster => mkv |
2015-10-09 16:43 | git | Note Added: 0046635 | |
2015-10-13 15:06 |
|
Note Added: 0046702 | |
2015-10-13 15:07 |
|
Note Added: 0046703 | |
2015-10-13 15:07 |
|
Assigned To | mkv => ski |
2015-10-13 15:07 |
|
Status | reviewed => assigned |
2015-10-13 15:08 |
|
Test case number | => Not needed |
2015-10-14 12:56 | git | Note Added: 0046733 | |
2015-10-14 13:08 | kgv | Note Added: 0046734 | |
2015-10-14 14:12 | git | Note Added: 0046736 | |
2015-10-14 14:16 |
|
Note Added: 0046737 | |
2015-10-14 14:16 |
|
Relationship added | related to 0026765 |
2015-10-14 14:17 |
|
Note Added: 0046738 | |
2015-10-14 14:17 |
|
Assigned To | ski => ibs |
2015-10-14 14:17 |
|
Status | assigned => resolved |
2015-10-14 14:18 |
|
Note Edited: 0046737 | |
2015-10-14 14:19 |
|
Note Added: 0046739 | |
2015-10-14 14:19 |
|
Assigned To | ibs => bugmaster |
2015-10-14 14:19 |
|
Status | resolved => reviewed |
2015-10-14 15:32 |
|
Assigned To | bugmaster => mkv |
2015-10-14 17:29 |
|
Note Added: 0046747 | |
2015-10-14 17:30 |
|
Note Added: 0046748 | |
2015-10-14 17:30 |
|
Assigned To | mkv => bugmaster |
2015-10-14 17:30 |
|
Status | reviewed => tested |
2015-10-16 13:18 | bugmaster | Changeset attached | => occt master 980d161f |
2015-10-16 13:18 | bugmaster | Status | tested => verified |
2015-10-16 13:18 | bugmaster | Resolution | open => fixed |
2015-10-16 17:01 | git | Note Added: 0047120 | |
2015-10-16 17:02 | git | Note Added: 0047121 | |
2016-04-20 15:44 |
|
Fixed in Version | => 7.0.0 |
2016-04-20 15:49 |
|
Status | verified => closed |