kirill.melnikov Posted February 20, 2021 Share Posted February 20, 2021 (edited) Hi everyone! I try to make a unigine project with qt creator cause of qt's features that i need to use (e.g. webscokets and etr.). Now i choose "c++ qt based" in browser and get a project. But. Compile procecess gives me pleanty of errors and base on this fact i want to ask a couple of questions. 1. Is there a tutorial how to use qt creator with unigine? 2. Maybe unigine works only with special qt version like for example 5.4 or something else. I would glad to collet any information about this. Thank you! P.S. I use engineering kit 2.13.0.1 on windows. Edited February 20, 2021 by kirill.melnikov Link to comment
silent Posted February 22, 2021 Share Posted February 22, 2021 Hi Kirill, We recommend to use Qt 5.12.3. Also, if you can show us the errors itself - it would be just great. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
kirill.melnikov Posted February 24, 2021 Author Share Posted February 24, 2021 (edited) On 2/22/2021 at 7:06 AM, silent said: Hi Kirill, We recommend to use Qt 5.12.3. Also, if you can show us the errors itself - it would be just great. Thanks! Hello Silent, thank you for the answer! After that i fully reinstalled qt and specified version 5.12.3 with specifing MSVC2017 64 in qt project settings, compile process runs good but another one odd thing appears. When I push the green button in qt creator, after compile process appears the application window but with a black background instead of my scene and only with a notice "not for commercial use and etr." in the left bottom corner. At the same time console does not appear. If I push the button "run" in the Unigine sdk browser, both (console and application windows appear and work fine. (like by using visual studio and run project under it). Could be that i have to specify some special command line arguments or something else to prevent wasting time switching between browser and ide?))) Edited February 24, 2021 by kirill.melnikov Link to comment
silent Posted February 24, 2021 Share Posted February 24, 2021 You can use -console_command "world_load your_world" at the engine startup: https://developer.unigine.com/en/docs/2.13/code/console/?words=world_load#highlight Or specify required start-up world in boot.config inside data/configs directory. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
kirill.melnikov Posted February 24, 2021 Author Share Posted February 24, 2021 Thank you and sorry for stupid questions! Now everyting works fine by me. SOLVED 1 Link to comment
Recommended Posts