-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build QtXlsxWriter by mingw 4.8.2 (32bit) #60
Comments
Hi, has your perl been added to your system path? You can run following command to see whether it works or not.
|
Hi, when you run qmake, Qt's perl script syncqt.pl will be called automatically. Can you found following message?
|
Hi, maybe this is a bug of Qt's build system. You can give a try to the "shadow build" to see what will happen.
|
Hi, I have no idea what's wrong with Qt's qmake build ;-( . Maybe you can give a try to giving a
If it's still doesn't work, run following command to find the debug information.
|
Hi, What should I do with that log's file (except reading ofc.)? |
The log file contains the qmake runtime information. For example, from which we can see whether the perl script However, the log file is not easy to understandard. as many xxxx.prf and xxxx.pri files get loaded when we run qmake. |
Sorry, I have no idea what's wrong with your build system. The log file affected by many factors, such as in-source/showdow build, with/without -r , number of -d, etc. Hope others can reproduce this issue in their computer. |
Got that same issue too, I can include only QtXlsxDepends, nothing else :/ |
Hi Crypton33, can you provided more information for this? In order to find which cause this issue, I simply download the Qt5.3.2 from http://download.qt-project.org/official_releases/qt/5.3/5.3.2/qt-opensource-windows-x86-mingw482_opengl-5.3.2.exe After install the Qt5.3.2, I try to build Qt Xlsx with it. But I could not reproduce this issue, It works very well under my Window 8.1 (X64) system. So I don't know what's wrong with your build system. |
Got same issue on Win7(x64).
I add make install build step in project menu in Qt Creator and then just build project - but got no headers except QtXlsxDepends. P.S. No problems with same on Ubuntu... |
I can't explain, but this version works https://drive.google.com/file/d/0B1bEKZzKkrRnaWdXMGRFU3h0dkk/view?usp=sharing This version i was download several days ago from github and successfully install it on my Ubuntu. But today i was try to install master version again - and it can't build headers except QtXlsxDepends both on Ubuntu and Win7... But version from top of this message works... both on Ubuntu and Win7... |
Same error in WIN7 - used QT5.3.2
Ubuntu is working well. |
Hi luckyhacky, The
|
FYI, Source directory in my computer is The build directory for qt5-mingw is After run the following qmake command in the build directory
I can find following message in the log file.
|
Once I open the feature file
Which told me that the file name get from a qmake variable call We can find the
And this file is generated by a perl script call syntqt.pl So, IMO, the issue should be caused by the perl script not properly running. |
I got the same issue too. It seems that the qmake doesn't call syncqt.pl automatically. So I run syncqt.pl by myself. It will work like this: perl -w C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\syncqt.pl -module QtXlsx -version 0.3.0 qmake mingw32-make mingw32-make install But "shadow build" like below will not work:
perl -w C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\syncqt.pl -module QtXlsx -version 0.3.0 -outdir C:\Qt\QtXlsxWriter-build C:\Qt\QtXlsxWriter qmake C:\Qt\QtXlsxWriter\qtxlsx.pro mingw32-make mingw32-make install Why? |
Hi all, I figure out why the syncqt.pl doesn't work for you. As a woraround one can create an empty .git directory in source tree. More information can be found in |
syncqt.pl won't be called by qmake if .git directory or file doesn't exist. We manual set git_build flag here. Otherwise, syncqt.pl should be called before we release .zip/.tar.gz package.
Hi, thanks you for your advice to clone your repository from git. Now it's work. |
Hi, |
Thanks |
Hi!
I had installed Qt 5.3.2, mingw 4.8.2,ActivePerl 5.16.3 on my windows 7(32 bit).
After I unzipped 'QtXlsxWriter-master' to custom folder I opened cmd with admin privileges and moved (cd) to 'C:\Qt\QtXlsxWriter'
I completed 3 commands:
qmake
mingw32-make -j3
mingw32-make install
After all of this I can include only QtXlsxDepends (like there #44)
What did I do wrongly?
The text was updated successfully, but these errors were encountered: