Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator on iMAC and Windows 10
Forum Updated to NodeBB v4.3 + New Features

Qt Creator on iMAC and Windows 10

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 2 Posters 873 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I've been working on my iMAC for a long time using Qt Creator. My iMAC:

    macOS Monterey
    Version 12.7.1
    iMac (Retina 5K, 27-inch, Late 2015)
    Processor 4 GHz Quad-Core Intel Core i7
    Memory 16 GB 1867 MHz DDR3
    Graphics AMD Radeon R9 M395X 4GB

    Qt on iMAC:

    Qt Creator 11.0.3
    Based on Qt 6.4.3 (Clang 13.0 (Apple), x86_64)
    Built on Sep 27 2023 06:47:32
    From revision 68359f96a9

    Today I've set-up Oracle VirtualBox on my iMAC with Windows 10, updated it and then installed Qt Creator and Microsoft Visual Studio Community edition. Qt on Windows 10 VM:

    Qt Creator 12.0.0
    Based on Qt 6.6.0 (MSVC 2019, x86_64)
    Built on Nov 22 2023 07:38:51
    From revision 27055e4c39

    I've copied the project folder from the iMAC to the VM, I then tried to open the project file, XMLMPAM.pro

    A dialog is displayed containing:

    No Valid Settings Found - Qt Creator
    No valid settings file could be found
    All settings files found in directory "D:\XMLMPAM\XMLMPAM.pro.user" were unsuitable for the current version of Qt Creator, for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

    Can anyone help? I don't plan to develop the application on Windows but I do want to build it and try it out to see how it looks.

    Kind Regards,
    Sy

    Christian EhrlicherC 1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
    • SPlattenS SPlatten

      I've been working on my iMAC for a long time using Qt Creator. My iMAC:

      macOS Monterey
      Version 12.7.1
      iMac (Retina 5K, 27-inch, Late 2015)
      Processor 4 GHz Quad-Core Intel Core i7
      Memory 16 GB 1867 MHz DDR3
      Graphics AMD Radeon R9 M395X 4GB

      Qt on iMAC:

      Qt Creator 11.0.3
      Based on Qt 6.4.3 (Clang 13.0 (Apple), x86_64)
      Built on Sep 27 2023 06:47:32
      From revision 68359f96a9

      Today I've set-up Oracle VirtualBox on my iMAC with Windows 10, updated it and then installed Qt Creator and Microsoft Visual Studio Community edition. Qt on Windows 10 VM:

      Qt Creator 12.0.0
      Based on Qt 6.6.0 (MSVC 2019, x86_64)
      Built on Nov 22 2023 07:38:51
      From revision 27055e4c39

      I've copied the project folder from the iMAC to the VM, I then tried to open the project file, XMLMPAM.pro

      A dialog is displayed containing:

      No Valid Settings Found - Qt Creator
      No valid settings file could be found
      All settings files found in directory "D:\XMLMPAM\XMLMPAM.pro.user" were unsuitable for the current version of Qt Creator, for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

      Can anyone help? I don't plan to develop the application on Windows but I do want to build it and try it out to see how it looks.

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      The pro.user file is not part of your sources - you can and must not use it on another computer.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      SPlattenS 1 Reply Last reply
      3
      • Christian EhrlicherC Christian Ehrlicher

        The pro.user file is not part of your sources - you can and must not use it on another computer.

        SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #3

        @Christian-Ehrlicher , thank you, these are the steps, which I've repeated for this post:

        1. Start Windows 10 VM
        2. Launch Qt Creator
        3. Click Open Project...
        4. Select XMLMPAM.pro using the file explorer, this is not XMLMPAM.pro.user

        A dialog is displayed containing:

        No Valid Settings Found - Qt Creator
        No valid settings file could be found
        All settings files found in directory "D:\XMLMPAM\XMLMPAM.pro.user" were unsuitable for the current version of Qt Creator, for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

        Thats it.

        Kind Regards,
        Sy

        Christian EhrlicherC 2 Replies Last reply
        0
        • SPlattenS SPlatten

          @Christian-Ehrlicher , thank you, these are the steps, which I've repeated for this post:

          1. Start Windows 10 VM
          2. Launch Qt Creator
          3. Click Open Project...
          4. Select XMLMPAM.pro using the file explorer, this is not XMLMPAM.pro.user

          A dialog is displayed containing:

          No Valid Settings Found - Qt Creator
          No valid settings file could be found
          All settings files found in directory "D:\XMLMPAM\XMLMPAM.pro.user" were unsuitable for the current version of Qt Creator, for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

          Thats it.

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Again: XMLMPAM.pro.user must not be checked in into your sources - remove it.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          SPlattenS 1 Reply Last reply
          1
          • Christian EhrlicherC Christian Ehrlicher

            Again: XMLMPAM.pro.user must not be checked in into your sources - remove it.

            SPlattenS Offline
            SPlattenS Offline
            SPlatten
            wrote on last edited by
            #5

            @Christian-Ehrlicher , thanks, I think I've found the problem, after launching the maintenance wizard Qt5.15.2 wasn't installed which is what my project requires, I'm installing that now and will remove the .pro.user file then try again...

            The dialog could have been a bit more helpful.

            Kind Regards,
            Sy

            1 Reply Last reply
            0
            • SPlattenS SPlatten

              @Christian-Ehrlicher , thank you, these are the steps, which I've repeated for this post:

              1. Start Windows 10 VM
              2. Launch Qt Creator
              3. Click Open Project...
              4. Select XMLMPAM.pro using the file explorer, this is not XMLMPAM.pro.user

              A dialog is displayed containing:

              No Valid Settings Found - Qt Creator
              No valid settings file could be found
              All settings files found in directory "D:\XMLMPAM\XMLMPAM.pro.user" were unsuitable for the current version of Qt Creator, for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

              Thats it.

              Christian EhrlicherC Offline
              Christian EhrlicherC Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by Christian Ehrlicher
              #6

              @SPlatten said in Qt Creator on iMAC and Windows 10:

              for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

              If this is not enough hint that the pro.user file is wrong and must not be checked in in your source repository I don't know what to write else...

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              SPlattenS 2 Replies Last reply
              0
              • Christian EhrlicherC Christian Ehrlicher

                @SPlatten said in Qt Creator on iMAC and Windows 10:

                for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

                If this is not enough hint that the pro.user file is wrong and must not be checked in in your source repository I don't know what to write else...

                SPlattenS Offline
                SPlattenS Offline
                SPlatten
                wrote on last edited by SPlatten
                #7

                I've progressed further, however on the Windows VM I'm using the community version of MSVC 2022, is there any guide lines on how to set-up Qt to use this as a C++ compiler ?

                I'm using Qt 5.15.2

                [EDIT] Found this https://www.youtube.com/watch?v=TfEttsC1vEA and working through it.

                Kind Regards,
                Sy

                1 Reply Last reply
                0
                • Christian EhrlicherC Christian Ehrlicher

                  @SPlatten said in Qt Creator on iMAC and Windows 10:

                  for instance because they were written by an incompatible version of Qt Creator, or because a different settings path was used.

                  If this is not enough hint that the pro.user file is wrong and must not be checked in in your source repository I don't know what to write else...

                  SPlattenS Offline
                  SPlattenS Offline
                  SPlatten
                  wrote on last edited by
                  #8

                  I am a little further along, having installed MSVC 2019 Community edition and Qt 5.15.2, now the issue when I try to build the project:

                  D:\XMLMPAM\clsDebugService.cpp:5: error: C1083: Cannot open include file: 'errno.h': No such file or directory
                  D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstddef:12: error: C1083: Cannot open include file: 'stddef.h': No such file or directory
                  D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstddef:12: error: C1083: Cannot open include file: 'stddef.h': No such file or directory
                  D:\XMLMPAM\clsModule.cpp:6: error: C1083: Cannot open include file: 'errno.h': No such file or directory
                  D:\XMLMPAM\clsModHelper.h:69: error: C1083: Cannot open include file: 'stdio.h': No such file or directory
                  D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\cstddef:12: error: C1083: Cannot open include file: 'stddef.h': No such file or directory
                  D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\yvals.h:12: error: C1083: Cannot open include file: 'crtdbg.h': No such file or directory
                  

                  Obviously something is wrong with the configuration, however I'm not sure what I need to do to fix it.

                  Kind Regards,
                  Sy

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved