Closed amossam closed 7 years ago
Hey
Yeah, sorry I think that's a caching issue. Maybe try to remove the file that contain "_plugin_import" in their name, in between the builds in "therecipe/qt/{core,gui,widgets, ....}" .
But if you only use docker images, then this shouldn't be a problem. Does this:
qtdeploy -docker build linux path/to/your/project
qtdeploy -docker build windows_32_shared path/to/your/project
qtdeploy -docker build linux path/to/your/project
qtdeploy -docker build windows_32_static path/to/your/project
qtdeploy -docker build linux path/to/your/project
work for you?
(Btw, you can also use windows_32_shared
, windows_32_static
, windows_64_shared
and windows_64_static
as build targets when using docker. I just haven't had time to update the readme yet.)
thanks for reply...
No, I'm not using docker images, only this vm that I build for this...
If I remove this files, do I need to do qtsetup generate <target>
again or not ?
thanks!
./therecipe/qt/uitools/uitools_plugin_import.cpp
./therecipe/qt/xmlpatterns/xmlpatterns_plugin_import.cpp
./therecipe/qt/quick/quick_qml_plugin_import.cpp
./therecipe/qt/quick/quick_plugin_import.cpp
./therecipe/qt/quickcontrols2/quickcontrols2_plugin_import.cpp
./therecipe/qt/quickcontrols2/quickcontrols2_qml_plugin_import.cpp
./therecipe/qt/bluetooth/bluetooth_plugin_import.cpp
./therecipe/qt/dbus/dbus_plugin_import.cpp
./therecipe/qt/scxml/scxml_plugin_import.cpp
./therecipe/qt/scxml/scxml_qml_plugin_import.cpp
./therecipe/qt/help/help_plugin_import.cpp
./therecipe/qt/gui/gui_plugin_import.cpp
./therecipe/qt/location/location_qml_plugin_import.cpp
./therecipe/qt/location/location_plugin_import.cpp
./therecipe/qt/widgets/widgets_plugin_import.cpp
./therecipe/qt/core/core_plugin_import.cpp
./therecipe/qt/network/network_plugin_import.cpp
./therecipe/qt/sql/sql_plugin_import.cpp
./therecipe/qt/sensors/sensors_plugin_import.cpp
./therecipe/qt/gamepad/gamepad_plugin_import.cpp
./therecipe/qt/datavisualization/datavisualization_plugin_import.cpp
./therecipe/qt/multimedia/multimedia_plugin_import.cpp
./therecipe/qt/script/script_plugin_import.cpp
./therecipe/qt/purchasing/purchasing_plugin_import.cpp
./therecipe/qt/testlib/testlib_plugin_import.cpp
./therecipe/qt/serialport/serialport_plugin_import.cpp
./therecipe/qt/scripttools/scripttools_plugin_import.cpp
./therecipe/qt/nfc/nfc_plugin_import.cpp
./therecipe/qt/printsupport/printsupport_plugin_import.cpp
./therecipe/qt/positioning/positioning_plugin_import.cpp
./therecipe/qt/qml/qml_plugin_import.cpp
./therecipe/qt/qml/qml_qml_plugin_import.cpp
./therecipe/qt/svg/svg_plugin_import.cpp
./therecipe/qt/websockets/websockets_plugin_import.cpp
./therecipe/qt/webchannel/webchannel_plugin_import.cpp
./therecipe/qt/webchannel/webchannel_qml_plugin_import.cpp
./therecipe/qt/xml/xml_plugin_import.cpp
./therecipe/qt/serialbus/serialbus_plugin_import.cpp
./therecipe/qt/charts/charts_plugin_import.cpp
ok, after find . -type f -iname "*_plugin_import*" |xargs rm
in $GOPATH/src/github.com/therecipe
folder, it builds windows and linux target without a problem.... and the files are not regenerated...
So, now it's working! Thanks!
Btw, what and why generated that files, when/if they are not needed?
Again thanks for help, and for this great project of yours.
Yeah, sorry you don't need to re-run the setup after removing them.
Btw, what and why generated that files, when/if they are not needed?
The *_plugin files are needed for the static windows builds, but they seem to cause problems with some other targets if they are not removed prior compiling.
I will look into this, maybe I can use some build tags or maybe I will just let qtdeploy remove them before/after each build.
Again thanks for help, and for this great project of yours.
You are welcome :)
Hey
I have smartos server where I created zone (vm) with ubuntu. I just executed commands for docker container, and successfully installed everything needed for building my project for linux (i'm developing on osx).
Then, on same vm, I followed steps for win_32_static docker container, and it worked! for first time... after first
qtdeploy build linux
, if I runqtdeploy build windows
, it works and creates both targets. but after that, it won't build linux target, and gives below errors.but if I run
~/work/bin/qtsetup generate linux
,qtdeploy build linux
works. or at least works until I runqtdeploy build windows
...Any ideas what's wrong?