QtXmlPatterns Available in Travis Win Build?

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
wandererfan
Veteran
Posts: 6309
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: QtXmlPatterns Available in Travis Win Build?

Post by wandererfan »

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: 61
Joined: Sun Jan 07, 2018 2:15 am

Re: QtXmlPatterns Available in Travis Win Build?

Post by tpavlicek »

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

Re: QtXmlPatterns Available in Travis Win Build?

Post by sgrogan »

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.
"fight the good fight"
wmayer
Founder
Posts: 20302
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: QtXmlPatterns Available in Travis Win Build?

Post by wmayer »

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
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: QtXmlPatterns Available in Travis Win Build?

Post by kkremitzki »

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
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: QtXmlPatterns Available in Travis Win Build?

Post by Kunda1 »

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
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply