QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

64 bit Windows build

Open FBachofner opened this issue 6 years ago • 5 comments

Hi Patrizio:

I noticed at https://ci.appveyor.com/project/pbek/qownnotes that the 64 bit build fails.

You are probably aware, but I thought I should point it out in case you are not.

Not knowing anything about QT, one potentially interesting thing jumped out: Environment: qtdir=C:\Qt\5.11\mingw53_32, gpp=win32-g++ Environment: qtdir=C:\Qt\latest\mingw73_64, gpp=win32-g++

"mingw53" vs "mingw73"

Are you possibly specifying the wrong build environment?

Thanks for your continued efforts with this great program!

FBachofner avatar Mar 06 '19 18:03 FBachofner

I wish that would be the case, but there is no mingw53_32 in the latest Qt directory any more :disappointed:. That is why I filed https://github.com/appveyor/ci/issues/2871. I did a fallback configuration with Qt 5.11 to be able to build QOwnNotes at all.

pbek avatar Mar 06 '19 19:03 pbek

Is there a "mingw53_64" in the "\QT\latest" directory?

After all, you are trying to build a 64 bit version of the application, right?

FBachofner avatar Mar 07 '19 00:03 FBachofner

Is there a "mingw53_64" in the "\QT\latest" directory?

no, there isn't at the top of https://ci.appveyor.com/project/pbek/qownnotes/build/job/p2tpg2j8v4ai5sq0?fullLog=true I print out the content of the directory

After all, you are trying to build a 64 bit version of the application, right?

no, I wanted to build a 32 bit version like we used to have it

pbek avatar Mar 07 '19 05:03 pbek

OK, I see it. But now my head hurts 2 ways:

  1. How would one expect "mingw32-make" to work when invoking against a 64bit environment? [ Keep in mind I know nothing about QT development specifically and just about nothing about (non-web) application development more generally. ]

  2. Why not move to 64bit builds assuming this might be a hangup? I would anticipate that 95 or more % of users on Win7 or Win10 are on 64bit Windows OS. It seems many "average" computers have had more than 4GB ram for close to a decade. [ Funny aside, I am actually writing this on an old 32 bit computer (which, additionally, GitHub claims to not support/allow in any way!), but most of my machines have 16 or 32GB ram (and thus 64bit OSes). ]

Hopefully these questions help you identify a way forward! :-)

FBachofner avatar Mar 07 '19 07:03 FBachofner

How would one expect "mingw32-make" to work when invoking against a 64bit environment? [ Keep in mind I know nothing about QT development specifically and just about nothing about (non-web) application development more generally. ]

I didn't. But there is no other make available in the folder structure or I didn't find it...

Why not move to 64bit builds assuming this might be a hangup? I would anticipate that 95 or more % of users on Win7 or Win10 are on 64bit Windows OS. It seems many "average" computers have had more than 4GB ram for close to a decade. [ Funny aside, I am actually writing this on an old 32 bit computer (which, additionally, GitHub claims to not support/allow in any way!), but most of my machines have 16 or 32GB ram (and thus 64bit OSes). ]

I have no issue with that, but I simply wasn't able to make them work. I'm happy for any help. :)

pbek avatar Mar 07 '19 07:03 pbek