Skip to contentSkip to conversation

qt5cinex: depends also on qt5quickcontrols

PATCH New Giulio Benetti 4 participants 10 messages Nov 14, 2017 – Nov 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

qt5cinex failed to build if qt5quickcontrols is not selected add qt5quickcontrols to qt5cinex dependencies in .mk select BR2_PACKAGE_QT5QUICKCONTROLS in Config.in

---
 package/qt5cinex/Config.in   | 1 +
 package/qt5cinex/qt5cinex.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
package/qt5cinex/Config.in +1 -0
index 5adf6c3..7cc459a 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5CINEX
 	select BR2_PACKAGE_QT5BASE_WIDGETS
 	select BR2_PACKAGE_QT5BASE_EGLFS
 	select BR2_PACKAGE_QT5GRAPHICALEFFECTS
+	select BR2_PACKAGE_QT5QUICKCONTROLS
 	help
 	  This application demonstrates the power of Qt5 and few of the new
 	  additions available in QtQuick 2.0.
package/qt5cinex/qt5cinex.mk +1 -1
index d9254f5..44c53a1 100644
@@ -12,7 +12,7 @@ QT5CINEX_HD = "rpi_"
 endif
 
 QT5CINEX_SOURCE = Qt5_CinematicExperience_$(QT5CINEX_HD)$(QT5CINEX_VERSION).tgz
-QT5CINEX_DEPENDENCIES = qt5base qt5declarative
+QT5CINEX_DEPENDENCIES = qt5base qt5declarative qt5quickcontrols
 
 QT5CINEX_LICENSE = CC-BY-3.0
 QT5CINEX_LICENSE_FILES = README
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

Errata:

Il 14/11/2017 17:30, Giulio Benetti ha scritto:

Quoted 1 line

qt5cinex failed to build if qt5quickcontrols is not selected

qt5cinex fail to execute on runtime if qt5quickcontrols is not selected

Quoted 35 lines

add qt5quickcontrols to qt5cinex dependencies in .mk select BR2_PACKAGE_QT5QUICKCONTROLS in Config.in

---
  package/qt5cinex/Config.in   | 1 +
  package/qt5cinex/qt5cinex.mk | 2 +-
  2 files changed, 2 insertions(+), 1 deletion(-)
package/qt5cinex/Config.in +1 -0
index 5adf6c3..7cc459a 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5CINEX
  	select BR2_PACKAGE_QT5BASE_WIDGETS
  	select BR2_PACKAGE_QT5BASE_EGLFS
  	select BR2_PACKAGE_QT5GRAPHICALEFFECTS
+	select BR2_PACKAGE_QT5QUICKCONTROLS
  	help
  	  This application demonstrates the power of Qt5 and few of the new
  	  additions available in QtQuick 2.0.
package/qt5cinex/qt5cinex.mk +1 -1
index d9254f5..44c53a1 100644
@@ -12,7 +12,7 @@ QT5CINEX_HD = "rpi_"
  endif
 
  QT5CINEX_SOURCE = Qt5_CinematicExperience_$(QT5CINEX_HD)$(QT5CINEX_VERSION).tgz
-QT5CINEX_DEPENDENCIES = qt5base qt5declarative
+QT5CINEX_DEPENDENCIES = qt5base qt5declarative qt5quickcontrols
 
  QT5CINEX_LICENSE = CC-BY-3.0
  QT5CINEX_LICENSE_FILES = README
Signature · 11 lines
Giulio Benetti
R&D Manager &
Advanced Research

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
#2 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

Hi Giulio,

Quoted 5 lines · Giulio Benetti

Errata:

Il 14/11/2017 17:30, Giulio Benetti ha scritto:

Quoted 1 line

qt5cinex failed to build if qt5quickcontrols is not selected

qt5cinex fail to execute on runtime if qt5quickcontrols is not selected

If it's a runtime only dependency you should not list it in _DEPENDENCIES ...

Quoted 9 lines
Quoted 9 lines

add qt5quickcontrols to qt5cinex dependencies in .mk select BR2_PACKAGE_QT5QUICKCONTROLS in Config.in

---
  package/qt5cinex/Config.in   | 1 +
  package/qt5cinex/qt5cinex.mk | 2 +-
  2 files changed, 2 insertions(+), 1 deletion(-)
Quoted 9 lines

package/qt5cinex/Config.in config BR2_PACKAGE_QT5CINEX · line 19

Quoted 9 lines
package/qt5cinex/Config.in +1 -0
index 5adf6c3..7cc459a 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5CINEX
  	select BR2_PACKAGE_QT5BASE_WIDGETS
  	select BR2_PACKAGE_QT5BASE_EGLFS
  	select BR2_PACKAGE_QT5GRAPHICALEFFECTS
+	select BR2_PACKAGE_QT5QUICKCONTROLS

... but you should add a 'runtime' comment here.

Quoted 6 lines
Quoted 6 lines
package/qt5cinex/Config.in +0 -0
  	help
  	  This application demonstrates the power of Qt5 and few of the new
  	  additions available in QtQuick 2.0.
package/qt5cinex/qt5cinex.mk +0 -1
index d9254f5..44c53a1 100644
--- a/package/qt5cinex/qt5cinex.mk
Quoted 8 lines

package/qt5cinex/qt5cinex.mk QT5CINEX_HD = "rpi_" · line 16

Quoted 8 lines

+++ b/package/qt5cinex/qt5cinex.mk

package/qt5cinex/qt5cinex.mk +1 -1
@@ -12,7 +12,7 @@ QT5CINEX_HD = "rpi_"
  endif
  QT5CINEX_SOURCE = Qt5_CinematicExperience_$(QT5CINEX_HD)$(QT5CINEX_VERSION).tgz
-QT5CINEX_DEPENDENCIES = qt5base qt5declarative
+QT5CINEX_DEPENDENCIES = qt5base qt5declarative qt5quickcontrols
  QT5CINEX_LICENSE = CC-BY-3.0
  QT5CINEX_LICENSE_FILES = README

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#3 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

Sorry, my mistake.
It installed correctly on STAGING_DIR, but not in TARGET_DIR. This why it compiled fine, but on target it didn't find that libQtQuick.so library.
This is a problem on building Qt5 I've noticed.

If I build first time Qt5 with few features, than select other more features,
those can be built partially and installed partially too.

To reproduce you can build qt5base.
After that, select qt5cinex,
then you should find that libraries are in STAGING_DIR but not in TARGET_DIR.

So to have it working properly you have to rm and rebuild qt5base and qt5declarative from beginning.

Did someone else noticed this?

Il 14/11/2017 17:58, Baruch Siach ha scritto:

Quoted 49 lines

Hi Giulio,

Quoted 5 lines · Giulio Benetti

Errata:

Il 14/11/2017 17:30, Giulio Benetti ha scritto:

Quoted 1 line

qt5cinex failed to build if qt5quickcontrols is not selected

qt5cinex fail to execute on runtime if qt5quickcontrols is not selected

If it's a runtime only dependency you should not list it in _DEPENDENCIES ...

Quoted 9 lines
Quoted 9 lines

add qt5quickcontrols to qt5cinex dependencies in .mk select BR2_PACKAGE_QT5QUICKCONTROLS in Config.in

---
   package/qt5cinex/Config.in   | 1 +
   package/qt5cinex/qt5cinex.mk | 2 +-
   2 files changed, 2 insertions(+), 1 deletion(-)
Quoted 9 lines

package/qt5cinex/Config.in config BR2_PACKAGE_QT5CINEX · line 19

Quoted 9 lines
package/qt5cinex/Config.in +1 -0
index 5adf6c3..7cc459a 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5CINEX
   	select BR2_PACKAGE_QT5BASE_WIDGETS
   	select BR2_PACKAGE_QT5BASE_EGLFS
   	select BR2_PACKAGE_QT5GRAPHICALEFFECTS
+	select BR2_PACKAGE_QT5QUICKCONTROLS

... but you should add a 'runtime' comment here.

Quoted 6 lines
Quoted 6 lines
package/qt5cinex/Config.in +0 -0
   	help
   	  This application demonstrates the power of Qt5 and few of the new
   	  additions available in QtQuick 2.0.
package/qt5cinex/qt5cinex.mk +0 -1
index d9254f5..44c53a1 100644
--- a/package/qt5cinex/qt5cinex.mk
Quoted 8 lines

package/qt5cinex/qt5cinex.mk QT5CINEX_HD = "rpi_" · line 16

Quoted 8 lines

+++ b/package/qt5cinex/qt5cinex.mk

package/qt5cinex/qt5cinex.mk +1 -1
@@ -12,7 +12,7 @@ QT5CINEX_HD = "rpi_"
   endif
   QT5CINEX_SOURCE = Qt5_CinematicExperience_$(QT5CINEX_HD)$(QT5CINEX_VERSION).tgz
-QT5CINEX_DEPENDENCIES = qt5base qt5declarative
+QT5CINEX_DEPENDENCIES = qt5base qt5declarative qt5quickcontrols
   QT5CINEX_LICENSE = CC-BY-3.0
   QT5CINEX_LICENSE_FILES = README

baruch

Signature · 11 lines
Giulio Benetti
R&D Manager &
Advanced Research

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
#4 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

Hi Giulio,

Quoted 15 lines · Giulio Benetti

Sorry, my mistake.
It installed correctly on STAGING_DIR, but not in TARGET_DIR. This why it compiled fine, but on target it didn't find that libQtQuick.so library.
This is a problem on building Qt5 I've noticed.

If I build first time Qt5 with few features, than select other more features,
those can be built partially and installed partially too.

To reproduce you can build qt5base.
After that, select qt5cinex,
then you should find that libraries are in STAGING_DIR but not in TARGET_DIR.

Quoted 4 lines

So to have it working properly you have to rm and rebuild qt5base and qt5declarative from beginning.

Did someone else noticed this?

Buildroot can't reliably rebuild reverse dependencies of packages that change configuration. This is a known issue. See the manual section:

http://nightly.buildroot.org/manual.html#full-rebuild

baruch

Quoted 62 lines

Il 14/11/2017 17:58, Baruch Siach ha scritto:

Quoted 47 lines · Giulio Benetti
Quoted 5 lines

Errata:

Il 14/11/2017 17:30, Giulio Benetti ha scritto:

Quoted 1 line

qt5cinex failed to build if qt5quickcontrols is not selected

qt5cinex fail to execute on runtime if qt5quickcontrols is not selected

If it's a runtime only dependency you should not list it in _DEPENDENCIES ...

Quoted 9 lines
Quoted 9 lines

add qt5quickcontrols to qt5cinex dependencies in .mk select BR2_PACKAGE_QT5QUICKCONTROLS in Config.in

---
   package/qt5cinex/Config.in   | 1 +
   package/qt5cinex/qt5cinex.mk | 2 +-
   2 files changed, 2 insertions(+), 1 deletion(-)
Quoted 9 lines

package/qt5cinex/Config.in config BR2_PACKAGE_QT5CINEX · line 19

Quoted 9 lines
package/qt5cinex/Config.in +1 -0
index 5adf6c3..7cc459a 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5CINEX
   	select BR2_PACKAGE_QT5BASE_WIDGETS
   	select BR2_PACKAGE_QT5BASE_EGLFS
   	select BR2_PACKAGE_QT5GRAPHICALEFFECTS
+	select BR2_PACKAGE_QT5QUICKCONTROLS

... but you should add a 'runtime' comment here.

Quoted 6 lines
Quoted 6 lines
package/qt5cinex/Config.in +0 -0
   	help
   	  This application demonstrates the power of Qt5 and few of the new
   	  additions available in QtQuick 2.0.
package/qt5cinex/qt5cinex.mk +0 -1
index d9254f5..44c53a1 100644
--- a/package/qt5cinex/qt5cinex.mk
Quoted 8 lines

package/qt5cinex/qt5cinex.mk QT5CINEX_HD = "rpi_" · line 16

Quoted 8 lines

+++ b/package/qt5cinex/qt5cinex.mk

package/qt5cinex/qt5cinex.mk +1 -1
@@ -12,7 +12,7 @@ QT5CINEX_HD = "rpi_"
   endif
   QT5CINEX_SOURCE = Qt5_CinematicExperience_$(QT5CINEX_HD)$(QT5CINEX_VERSION).tgz
-QT5CINEX_DEPENDENCIES = qt5base qt5declarative
+QT5CINEX_DEPENDENCIES = qt5base qt5declarative qt5quickcontrols
   QT5CINEX_LICENSE = CC-BY-3.0
   QT5CINEX_LICENSE_FILES = README

baruch

Signature · 11 lines
Giulio Benetti
R&D Manager &
Advanced Research

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#5 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

Hi,

Il 14/11/2017 18:07, Baruch Siach ha scritto:

Quoted 21 lines

Hi Giulio,

Quoted 18 lines · Giulio Benetti

Sorry, my mistake.
It installed correctly on STAGING_DIR, but not in TARGET_DIR. This why it compiled fine, but on target it didn't find that libQtQuick.so library.
This is a problem on building Qt5 I've noticed.

If I build first time Qt5 with few features, than select other more features,
those can be built partially and installed partially too.

To reproduce you can build qt5base.
After that, select qt5cinex,
then you should find that libraries are in STAGING_DIR but not in TARGET_DIR.

So to have it working properly you have to rm and rebuild qt5base and qt5declarative from beginning.

Quoted 6 lines
Quoted 1 line

Did someone else noticed this?

Buildroot can't reliably rebuild reverse dependencies of packages that change configuration. This is a known issue. See the manual section:

http://nightly.buildroot.org/manual.html#full-rebuild

Ok, thank you and sorry to rise useless question.

Quoted 66 lines

baruch

Quoted 62 lines

Il 14/11/2017 17:58, Baruch Siach ha scritto:

Quoted 47 lines · Giulio Benetti
Quoted 5 lines

Errata:

Il 14/11/2017 17:30, Giulio Benetti ha scritto:

Quoted 1 line

qt5cinex failed to build if qt5quickcontrols is not selected

qt5cinex fail to execute on runtime if qt5quickcontrols is not selected

If it's a runtime only dependency you should not list it in _DEPENDENCIES ...

Quoted 9 lines
Quoted 9 lines

add qt5quickcontrols to qt5cinex dependencies in .mk select BR2_PACKAGE_QT5QUICKCONTROLS in Config.in

---
    package/qt5cinex/Config.in   | 1 +
    package/qt5cinex/qt5cinex.mk | 2 +-
    2 files changed, 2 insertions(+), 1 deletion(-)
Quoted 9 lines

package/qt5cinex/Config.in config BR2_PACKAGE_QT5CINEX · line 19

Quoted 9 lines
package/qt5cinex/Config.in +1 -0
index 5adf6c3..7cc459a 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_QT5CINEX
    	select BR2_PACKAGE_QT5BASE_WIDGETS
    	select BR2_PACKAGE_QT5BASE_EGLFS
    	select BR2_PACKAGE_QT5GRAPHICALEFFECTS
+	select BR2_PACKAGE_QT5QUICKCONTROLS

... but you should add a 'runtime' comment here.

Quoted 6 lines
Quoted 6 lines
package/qt5cinex/Config.in +0 -0
    	help
    	  This application demonstrates the power of Qt5 and few of the new
    	  additions available in QtQuick 2.0.
package/qt5cinex/qt5cinex.mk +0 -1
index d9254f5..44c53a1 100644
--- a/package/qt5cinex/qt5cinex.mk
Quoted 8 lines

package/qt5cinex/qt5cinex.mk QT5CINEX_HD = "rpi_" · line 16

Quoted 8 lines

+++ b/package/qt5cinex/qt5cinex.mk

package/qt5cinex/qt5cinex.mk +1 -1
@@ -12,7 +12,7 @@ QT5CINEX_HD = "rpi_"
    endif
    QT5CINEX_SOURCE = Qt5_CinematicExperience_$(QT5CINEX_HD)$(QT5CINEX_VERSION).tgz
-QT5CINEX_DEPENDENCIES = qt5base qt5declarative
+QT5CINEX_DEPENDENCIES = qt5base qt5declarative qt5quickcontrols
    QT5CINEX_LICENSE = CC-BY-3.0
    QT5CINEX_LICENSE_FILES = README

baruch

Signature · 11 lines
Giulio Benetti
R&D Manager &
Advanced Research

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
Signature · 11 lines
Giulio Benetti
R&D Manager &
Advanced Research

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
#6 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

In reply to Giulio Benetti

Hello,

Quoted 15 lines · Giulio Benetti

Sorry, my mistake.
It installed correctly on STAGING_DIR, but not in TARGET_DIR. This why it compiled fine, but on target it didn't find that libQtQuick.so library.
This is a problem on building Qt5 I've noticed.

If I build first time Qt5 with few features, than select other more features,
those can be built partially and installed partially too.

To reproduce you can build qt5base.
After that, select qt5cinex,
then you should find that libraries are in STAGING_DIR but not in TARGET_DIR.

Quoted 4 lines

So to have it working properly you have to rm and rebuild qt5base and qt5declarative from beginning.

Did someone else noticed this?

So in the end, is your patch needed ?

Peter (Seiderer), could you review this Qt5 related patch ? Thanks!

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#7 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

Hi Thomas,

Il 23/11/2017 21:45, Thomas Petazzoni ha scritto:

Quoted 18 lines

Hello,

Quoted 15 lines · Giulio Benetti

Sorry, my mistake.
It installed correctly on STAGING_DIR, but not in TARGET_DIR. This why it compiled fine, but on target it didn't find that libQtQuick.so library.
This is a problem on building Qt5 I've noticed.

If I build first time Qt5 with few features, than select other more features,
those can be built partially and installed partially too.

To reproduce you can build qt5base.
After that, select qt5cinex,
then you should find that libraries are in STAGING_DIR but not in TARGET_DIR.

Quoted 6 lines
Quoted 4 lines

So to have it working properly you have to rm and rebuild qt5base and qt5declarative from beginning.

Did someone else noticed this?

So in the end, is your patch needed ?

No it's not needed, my fault,
sorry.

Quoted 7 lines

Peter (Seiderer), could you review this Qt5 related patch ? Thanks!

Best regards,

Thomas

Signature · 11 lines
Giulio Benetti
R&D Manager &
Advanced Research

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
#8 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

In reply to Thomas Petazzoni

Hello *,

Quoted 18 lines · Thomas Petazzoni

Hello,

Quoted 15 lines · Giulio Benetti

Sorry, my mistake.
It installed correctly on STAGING_DIR, but not in TARGET_DIR. This why it compiled fine, but on target it didn't find that libQtQuick.so library.
This is a problem on building Qt5 I've noticed.

If I build first time Qt5 with few features, than select other more features,
those can be built partially and installed partially too.

To reproduce you can build qt5base.
After that, select qt5cinex,
then you should find that libraries are in STAGING_DIR but not in TARGET_DIR.

Quoted 8 lines
Quoted 4 lines

So to have it working properly you have to rm and rebuild qt5base and qt5declarative from beginning.

Did someone else noticed this?

So in the end, is your patch needed ?

Peter (Seiderer), could you review this Qt5 related patch ? Thanks!

No qml expert, but a quick search for 'import QtQuick.Controls' (needed for usage of qt5quickcontrols) did not yield any results:

	$ wget http://quitcoding.com/download/Qt5_CinematicExperience_rpi_1.0.tgz
	$ wget http://quitcoding.com/download/Qt5_CinematicExperience_1.0.tgz
	$ tar -xvzf Qt5_CinematicExperience_1.0.tgz 
	$ tar -xvzf Qt5_CinematicExperience_rpi_1.0.tgz 
	$ find . -name "*.qml" | xargs grep import

./Qt5_CinematicExperience_1.0/content/CurtainEffect.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/InfoView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Switch.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Switch.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_1.0/content/DetailsView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/InfoViewItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Background.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Background.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_1.0/content/RatingsItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/DelegateItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/MoviesModel.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/SettingsView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/MainView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/MainView.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_1.0/content/MainView.qml:import QtGraphicalEffects 1.0 ./Qt5_CinematicExperience_1.0/content/Button.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Button.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_1.0/Qt5_CinematicExperience.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/Qt5_CinematicExperience.qml:import "content" ./Qt5_CinematicExperience_rpi_1.0/content/CurtainEffect.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/InfoView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Switch.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Switch.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/DetailsView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/InfoViewItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Background.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Background.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/RatingsItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/FpsItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/DelegateItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/MoviesModel.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/SettingsView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/MainView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/MainView.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/MainView.qml:import QtGraphicalEffects 1.0 ./Qt5_CinematicExperience_rpi_1.0/content/Button.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Button.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_rpi_1.0/Qt5_CinematicExperience.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/Qt5_CinematicExperience.qml:import "content"

Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5cinex fail to execute on runtime if qt5quickcontrols is not selected

Did not do a runtime test, but what is the error message (if any)?

Regards,
Peter

Quoted 4 lines

Best regards,

Thomas

#9 lore raw

PATCH 1/1 qt5cinex: depends also on qt5quickcontrols

Hello everybody,

Il 23/11/2017 22:28, Peter Seiderer ha scritto:

Quoted 71 lines

Hello *,

Quoted 18 lines · Thomas Petazzoni

Hello,

Quoted 15 lines · Giulio Benetti

Sorry, my mistake.
It installed correctly on STAGING_DIR, but not in TARGET_DIR. This why it compiled fine, but on target it didn't find that libQtQuick.so library.
This is a problem on building Qt5 I've noticed.

If I build first time Qt5 with few features, than select other more features,
those can be built partially and installed partially too.

To reproduce you can build qt5base.
After that, select qt5cinex,
then you should find that libraries are in STAGING_DIR but not in TARGET_DIR.

Quoted 8 lines
Quoted 4 lines

So to have it working properly you have to rm and rebuild qt5base and qt5declarative from beginning.

Did someone else noticed this?

So in the end, is your patch needed ?

Peter (Seiderer), could you review this Qt5 related patch ? Thanks!

No qml expert, but a quick search for 'import QtQuick.Controls' (needed for usage of qt5quickcontrols) did not yield any results:

	$ wget http://quitcoding.com/download/Qt5_CinematicExperience_rpi_1.0.tgz
	$ wget http://quitcoding.com/download/Qt5_CinematicExperience_1.0.tgz
	$ tar -xvzf Qt5_CinematicExperience_1.0.tgz
	$ tar -xvzf Qt5_CinematicExperience_rpi_1.0.tgz
	$ find . -name "*.qml" | xargs grep import

./Qt5_CinematicExperience_1.0/content/CurtainEffect.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/InfoView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Switch.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Switch.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_1.0/content/DetailsView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/InfoViewItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Background.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Background.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_1.0/content/RatingsItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/DelegateItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/MoviesModel.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/SettingsView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/MainView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/MainView.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_1.0/content/MainView.qml:import QtGraphicalEffects 1.0 ./Qt5_CinematicExperience_1.0/content/Button.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/content/Button.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_1.0/Qt5_CinematicExperience.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_1.0/Qt5_CinematicExperience.qml:import "content" ./Qt5_CinematicExperience_rpi_1.0/content/CurtainEffect.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/InfoView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Switch.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Switch.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/DetailsView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/InfoViewItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Background.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Background.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/RatingsItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/FpsItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/DelegateItem.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/MoviesModel.qml:import QtQuick 2.0

Quoted 9 lines

./Qt5_CinematicExperience_rpi_1.0/content/SettingsView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/MainView.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/MainView.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/MainView.qml:import QtGraphicalEffects 1.0 ./Qt5_CinematicExperience_rpi_1.0/content/Button.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/content/Button.qml:import QtQuick.Particles 2.0 ./Qt5_CinematicExperience_rpi_1.0/Qt5_CinematicExperience.qml:import QtQuick 2.0 ./Qt5_CinematicExperience_rpi_1.0/Qt5_CinematicExperience.qml:import "content"

Peter you're right.
My mistake was:
- building all buildroot with only qt5base
- modifying .config enabling qt5cinex which selects qt5declarative
- giving another make(not building from scratch)

So I ended up having qt5base not aware of qt5declarative when installing qml modules.

At this point I rebuilt from scratch adding qt5quickcontrols to .config(mistake, don't why I thought it),
and it worked.

So I thought qt5quickcontrols was missing.
Instead qt5quickcontrols is not necessary,
and selecting qt5cinex did its job selecting correctly qt5declarative.

This is all the story about this useless patch.

Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

qt5cinex fail to execute on runtime if qt5quickcontrols is not selected

Did not do a runtime test, but what is the error message (if any)?

Regards,
Peter

Quoted 4 lines

Best regards,

Thomas

Signature · 11 lines
Giulio Benetti
R&D Manager &
Advanced Research

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642