Papierkorb / qt5.cr

Qt5 bindings for Crystal, based on Bindgen
Mozilla Public License 2.0
211 stars 20 forks source link

Building simple example on Fedora 28 #18

Closed ZaWertun closed 6 years ago

ZaWertun commented 6 years ago

I succeeded building simple example after adding /usr/lib64 to QT_LIBS_DIR in file config/find_paths.yml (I have Fedora x64). Part of find_paths.yml after change:

  QT_LIBS_DIR:
    try:
      - shell: "{QMAKE} -query QT_INSTALL_LIBS"
      - "{QTDIR}/lib"
      - "/usr/lib"
      - "/usr/lib64"
      - "/usr/local/lib"
ZaWertun commented 6 years ago

Before the change I've seen this error:

Failed to find one or more paths.  See above for details.
Papierkorb commented 6 years ago

Looks good,

Could you PR that as well? (Will take about a week for me to respond though)

ZaWertun commented 6 years ago

Strange that calling qmake-qt5 -query QT_INSTALL_LIBS also returns right path (/usr/lib64). But I have error untill I added /usr/lib64 to list...