Hello Bert,

Wt uses cmake's method to discover Qt 4:
FIND_PACKAGE(Qt4)

Can you see in your CMakeCache.txt if Wt has been discovered
correctly? The variables should start with QT4_ or QT_.

I also noticed that the wtwithqt/CMakeList.txt, QtCore is mentioned
separately. That should not be required.
Can you try to change
  TARGET_LINK_LIBRARIES(helloqt.wt
    ${EXAMPLES_CONNECTOR}
    wtwithqt
    QtCore
    ${QT_LIBRARIES}
  )
into
  TARGET_LINK_LIBRARIES(helloqt.wt
    ${EXAMPLES_CONNECTOR}
    wtwithqt
    ${QT_LIBRARIES}
  )

I'll fix the example if this helps.

Best regards,
Wim.

2009/2/5  <[email protected]>:
> Folks
>
>   Does anyone here know how I can make the wtwithqt example compile
> correctly on freebsd. I have wt installed and all the other examples are
> working. I have installed qt4.4.3 on freebsd 7.2 and I can compile apps with
> qmake just fine. Also I have all the qt4 enviroment settings correct, for
> QTINC, QTLIB and the qmake PATH .  When it builds wtwithqt I get the error
> at link time, could find –lQtcore. Thanks
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to