Forum
Sign Up

QTitan 4.0.0 Beta1 - build issues on Visual Studio

5 years 1 month ago #1 by Sisira (mscsoftware)
I am trying the 4.0.0 beta release on a 64-bit Windows 7 pro running on Visual Studio 2012 running Qt 5.5.0. I have following questions:
1) There are new folders in bin folder named imageformats, platforms and sqldrivers containing 32-bit dlls. My question is do I need the same DLLs in 64-bit?
2) Is this version compatible with VS2012? I was able to build debug version of successfully but release build failed in
- line 1429 and line 1438 on ..\styles\QtnOfficePaintManager.cpp

..\..\styles\QtnOfficePaintManager.cpp(1429) : error C2677: binary '&&' : no global operator found which takes type 'QPixmap' (or th
ere is no acceptable conversion)
..\..\styles\QtnOfficePaintManager.cpp(1438) : error C2677: binary '&&' : no global operator found which takes type 'QPixmap' (or th
ere is no acceptable conversion)
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Q_ASSERT defined in qglobal.h as follows:

#if !defined(Q_ASSERT)
#  if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS)
#    define Q_ASSERT(cond) do { } while ((false) && (cond))
#  else
#    define Q_ASSERT(cond) ((!(cond)) ? qt_assert(#cond,__FILE__,__LINE__) : qt_noop())
#  endif
#endif
[/i]


So for release build the while condition with && is not valid.

I was able to build release binaries by defining QT_FORCE_ASSERTS .

Please advice.


Please help.
Sisira

Please Log in or Create an account to join the conversation.

More
5 years 3 weeks ago #2 by Developer Machines
Hmm.. strange issue. Please replace it with line:

Q_ASSERT(!soImageScrollThumbGripperHorizontal.isNull());

It will be fixed in next update.

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer MachinesEduard
Time to create page: 0.122 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )