QtXmlPatterns Available in Travis Win Build?

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
wandererfan
Posts: 3457
Joined: Tue Nov 06, 2012 5:42 pm

Re: QtXmlPatterns Available in Travis Win Build?

Postby wandererfan » Mon Jun 10, 2019 12:07 pm

tpavlicek wrote:
Mon Jun 10, 2019 11:38 am
  • Windows DLLs require __declspec(dllexport) / __declspec(dllimport) depending on whether the DLL functions are exported resp. imported.This needs to be declared directly in the class definition.
The cross platform aspect of this is handled in "PreCompiled.h". I guess you've already figured that out since QDomNodeModel.h has "TechDrawExport" in the declarations and QDomNodeModel.cpp has "#include PreCompiled.h".
tpavlicek
Posts: 27
Joined: Sun Jan 07, 2018 2:15 am

Re: QtXmlPatterns Available in Travis Win Build?

Postby tpavlicek » Mon Jun 10, 2019 12:20 pm

Yep, that's it. But I had to deduce it from the Travis build log :-)
User avatar
sgrogan
Posts: 5574
Joined: Wed Oct 22, 2014 5:02 pm

Re: QtXmlPatterns Available in Travis Win Build?

Postby sgrogan » Wed Jun 12, 2019 11:21 pm

apeltauer wrote:
Mon Jun 10, 2019 3:47 am
Do we need to add the xml stuff by the cmake config??
See this part of the log linked here: (PPA daily build, not Win specific): https://launchpadlibrarian.net/42796354 ... ING.txt.gz

Code: Select all

  By not providing "FindQt5XmlPatterns.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5XmlPatterns", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5XmlPatterns"
  with any of the following names:

    Qt5XmlPatternsConfig.cmake
    qt5xmlpatterns-config.cmake

  Add the installation prefix of "Qt5XmlPatterns" to CMAKE_PREFIX_PATH or set
  "Qt5XmlPatterns_DIR" to a directory containing one of the above files.  If
  "Qt5XmlPatterns" provides a separate development package or SDK, be sure it
  has been installed.[/url][code]CMake Error at CMakeLists.txt:928 (find_package):
  By not providing "FindQt5XmlPatterns.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5XmlPatterns", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5XmlPatterns"
  with any of the following names:

    Qt5XmlPatternsConfig.cmake
    qt5xmlpatterns-config.cmake

  Add the installation prefix of "Qt5XmlPatterns" to CMAKE_PREFIX_PATH or set
  "Qt5XmlPatterns_DIR" to a directory containing one of the above files.  If
  "Qt5XmlPatterns" provides a separate development package or SDK, be sure it
  has been installed.
wmayer
Site Admin
Posts: 15240
Joined: Thu Feb 19, 2009 10:32 am

Re: QtXmlPatterns Available in Travis Win Build?

Postby wmayer » Thu Jun 13, 2019 9:20 am

I don't know which branch of the PPA includes the debianization stuff, maybe this one: https://git.launchpad.net/~freecad-main ... elease-qt5
Obviously the control file lacks of a dependency to libqt5xmlpatterns5-dev
User avatar
kkremitzki
Posts: 1859
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: QtXmlPatterns Available in Travis Win Build?

Postby kkremitzki » Thu Jun 13, 2019 4:59 pm

The PPA branches are now being maintained in the same location as the Debian packaging: https://salsa.debian.org/science-team/freecad
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
Kunda1
Posts: 6354
Joined: Thu Jan 05, 2017 9:03 pm

Re: QtXmlPatterns Available in Travis Win Build?

Postby Kunda1 » Thu Jun 13, 2019 5:01 pm

kkremitzki wrote:
Thu Jun 13, 2019 4:59 pm
The PPA branches are now being maintained in the same location as the Debian packaging: https://salsa.debian.org/science-team/freecad
#devblog
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features