Forum
Sign Up

bug report: build failure static ribbon 5.1.0 with qt5.12.5

1 year 1 month ago #1 by Andres Kruse
Hi,
I need the staticlibs for titanribbon.
vanilla Qt5.12.5 MSVC 2017 32-bit, installed devmachines 5.1.0 installer into C:\Qt\Developer Machines\QtitanRibbon5.1.0. then open x86 native tools command prompt for vs2017, cd into C:\Qt\Developer Machines\QtitanRibbon5.1.0, then issue "qmake CONFIG+=qtitan_staticlib -r -platform win32-msvc", then "nmake".
get the following error:
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -I. -I..\..\shared -I..\shared -IC:\Qt\5.12.5\msvc2017\include -IC:\Qt\5.12.5\msvc2017\include\QtGui -IC:\Qt\5.12.5\msvc2017\include\QtANGLE -IC:\Qt\5.12.5\msvc2017\include\QtCore -Irelease -I/include -IC:\Qt\5.12.5\msvc2017\mkspecs\win32-msvc -Forelease\ @f:\temp\nm3328.tmp
main.cpp
.\main.cpp(1): fatal error C1083: Cannot open include file: 'QApplication': No such file or directory
mainwindow.cpp
.\mainwindow.cpp(2): fatal error C1083: Cannot open include file: 'QApplication': No such file or directory
ribbonpopularpage.cpp
c:\qt\developer machines\qtitanribbon5.1.0\examples\ribbon\application\ribbonpopularpage.h(4): fatal error C1083: Cannot open include file: 'QWidget': No such file or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

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

More
1 year 1 month ago #2 by Andres Kruse
the solution was that I had QTITANDIR defined and it was pointing at the previous installation.

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

More
1 year 1 month ago #3 by Developer Machines
Thank you for the information. You can find a more options for static build by the link:
www.devmachines.com/documentation/Qtitan...mponent-from-sources

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.133 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 )