尝试为 Qt3D 运行 Qt 示例失败

问题描述

我正在尝试设置(失败)环境来运行“simplewidget 示例”。

示例: https://doc.qt.io/archives/qt3dstudio/runtime/qt3dstudioruntime2-simplewidget-example.html

因为我对版本没有任何限制(只是从所有版本开始)我应该安装哪个版本的 Qt:

  • 支持 3D 的 Qt
  • Qt3D Studio QtCreator

能够在 Qt3D Studio 中创建演示文稿,然后创建我自己的小部件以在我可以开发的某个自定义应用程序中显示一个或多个创建的演示文稿。

我尝试过匹配版本,但似乎我不明白该怎么做,我已经安装了:

  • Qt6
  • Qt5.15.1
  • Qt-5.15.0
  • mingw730_32
  • mingw730_64
  • mingw810_32
  • mingw810_64

出现错误:

    location / { 
        try_files $uri $uri/ @opencart;  
    }
    location @opencart {
        rewrite ^/(.+)$ /index.php?_route_=$1 last;  
    }
   
    location /admin { 
     index index.php; 
    }
    
    error_page 404 = @error;

    location @error {
        rewrite ^.*$ /index.php?route=error/not_found last;
    } 
    
    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }  
  
    sendfile off; 
  
    location ~ \.php$ {
         
        fastcgi_split_path_info ^(.+?\.php)(/.*)$; 
        fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_intercept_errors off;
        
    }

在文件夹 C:\Qt\5.15.1\mingw73_64\bin 中只有 4 个关于 qt3dviewer 的文件,但似乎 C:\QtNG\5.15.1\mingw81_64\bin 有很多文件和 DLL。

这背后的想法是什么,Qt5.15.1 和 MinGw73_64 是安装程序中 Qt3D Studio 的默认设置,但安装 Qt5.15.1 会为您提供默认编译器 MinGw81_64,如果您想将它与 MinGw73 一起使用,那么您会错过 C:\Qt 中的文件\5.15.1\mingw73_64\bin(库和所有)。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)