Subject: CGAL users discussion list
List archive
- From: Nicholas Mario Wardhana <>
- To:
- Subject: Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h'
- Date: Mon, 27 Jun 2011 16:49:55 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=wqf90AI0NkC16f3njoRxYFjU921Jc/+juPQdtoZ5CGuRy4hbA2nmTcy7+9zemtFhiw sUsCTNYTJLFy4PSQ1g6H4oydvFkXEvNP+XC6STgy9zWnWdX7VGL+MbCVjg1snu3rrQct jkLsqKfq9n5T6nkfKy+h5YYtbcXigtG1w3rFM=
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
- [cgal-discuss] Cannot open include file: 'qpopupmenu.h', Nicholas Mario Wardhana, 06/24/2011
- Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h', Sebastien Loriot (GeometryFactory), 06/27/2011
- Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h', Nicholas Mario Wardhana, 06/27/2011
- Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h', Sebastien Loriot (GeometryFactory), 06/27/2011
- Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h', Nicholas Mario Wardhana, 06/27/2011
- Re: [cgal-discuss] Cannot open include file: 'qpopupmenu.h', Sebastien Loriot (GeometryFactory), 06/27/2011
Archive powered by MHonArc 2.6.16.