Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cross Platform Development (MinGW)

Cross Platform Development (MinGW)

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 336 Views
  • 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.
  • K Offline
    K Offline
    K Y Dehlvi
    wrote on last edited by
    #1

    Re: Cross Platform Development
    Hi,
    A little bit of confusion. As the earlier post, I have successfully compiled a project(TWAIN Sample for Windows and Linux) in Windows 10, Qt 5 environment using VC 17 Compiler and minGW 7 and it's working on windows.
    Now the question is when copying this MinGW code on ubuntu 16.4 using GCC main.o it gives the error.
    to resolve the issue I guess to install MinGW and related components but still not working ... please help to build a cross-platform application.

    jsulmJ 1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by aha_1980
      #2

      Hi and welcome to the forums

      " main.o it gives the error."

      What error? You have to provide code and exact error as else we cannot help.

      • to resolve the issue I guess to install MinGW and related components but still not working

      What ? On linux, there is GCC. Mingw Is gcc ported to windows !
      So not sure what you installed.

      1 Reply Last reply
      4
      • K K Y Dehlvi

        Re: Cross Platform Development
        Hi,
        A little bit of confusion. As the earlier post, I have successfully compiled a project(TWAIN Sample for Windows and Linux) in Windows 10, Qt 5 environment using VC 17 Compiler and minGW 7 and it's working on windows.
        Now the question is when copying this MinGW code on ubuntu 16.4 using GCC main.o it gives the error.
        to resolve the issue I guess to install MinGW and related components but still not working ... please help to build a cross-platform application.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @K-Y-Dehlvi Just rebuild your project from source on Linux.
        MinGW is GCC port for Windows and usually generates binaries for Windows. Cross compiling from Windows to Linux is possible, but it is way easier to simply build on Linux.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        4

        • Login

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