OmixVisualization / qtjambi

QtJambi is a wrapper for using Qt in Java.
http://www.qtjambi.io
Other
365 stars 43 forks source link

Building in Windows using MSVC2022 Community #136

Closed sildeag closed 1 year ago

sildeag commented 1 year ago

I would like to build this for Windows 11 but am having trouble. I am using Qt 6.4.2 and MSVC2022 Community.

  1. QTJAMBI_PATCH_VERSION was not defined, any suggestions? I set it to 1. This came up multiple times using Qt Creator even though variable was set.
  2. CSTDDEF was not found on MSVC2022 community. Where is it? I put a cstddef in project folder. I used 'ant all' as MSVC2022 did not work for this repo. 'ant all' generated: Cannot open include file: 'cstddef': No such file or directory.
  3. C:\Qt\6.4.2\msvc2019_64\include\QtCore/qglobal.h(9): fatal error C1083: Cannot open include file: 'type_traits': No such file or directory. Where do I find 'type_traits'?
  4. JAVA_HOME was set in environment but I added it to the Qt Creator environment too.
  5. \QtJambi\functionpointers-release.qrc does not exist and \QtJambi\functionpointer-debug.qrc does not exist. Where do I find them or how do I create them?

Any help would be much appreciated.

omix commented 1 year ago

Moving this to Q&A discussions...