Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h'

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h'


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h'
  • Date: Mon, 27 Jun 2011 11:33:15 +0200

Note that you can visualize and manipulate nef's polyhedrons
in the polyhedron demo by converting a polyhedron to a nef_polyhedron
(See Boolean operations sub-menu).

Sebastien.

Nicholas Mario Wardhana wrote:
On 27 June 2011 16:13, Sebastien Loriot (GeometryFactory)
<>
wrote:
You need to add the path to QT3 include to the include path and to link
with QT3 too.

One way to do it is modifying your CMakelist.txt to have
something similar to this:

find_package(CGAL QUIET COMPONENTS QT3)
include( ${CGAL_USE_FILE} )

if ( CGAL_FOUND )

find_package(Qt3-patched)
if(QT3_FOUND)
include_directories( ${QT3_INCLUDE_DIR} )

include( CGAL_CreateSingleSourceCGALProgram )
create_single_source_cgal_program( "main.cpp" )
target_link_libraries(main ${QT3_LIBRARIES})
else()
message(STATUS "This program requires the QT3 library, and will not be
compiled.")
endif()
else()
message(STATUS "This program requires the CGAL library, and will not be
compiled.")

endif()



Hi Sebastien,

Thank you for your response.

I see, so am I right to assume that the code and classes like
Qt_widget_Nef_3 only work with Qt 3? Because as far as I know, Nokia
only provides Qt 4 for Windows. Nevertheless, thank you for the
script, I will try it.

Best regards,
Nicholas





Archive powered by MHonArc 2.6.16.

Top of Page