Skip to content
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

unable to build QtXlsx examples using Qt creator #53

Closed
priyas1729 opened this issue Oct 6, 2014 · 4 comments
Closed

unable to build QtXlsx examples using Qt creator #53

priyas1729 opened this issue Oct 6, 2014 · 4 comments
Labels

Comments

@priyas1729
Copy link

qtxlsx

Error: Unknown module(s) in QT: xlsx

I have copy pasted qmake config file in pro file. Still it shows the above error

@europaa
Copy link

europaa commented Oct 6, 2014

it means that you haven't installed the xlsx module into your qt installation.
the line "QT+=xlsx" instructs the qmake to look for an xlsx module, which generates the error you've seen if it fails to find one.
and the line that begins with "#include..." would not do what you believe it to do, since the "#" symbol starts a comment in *.pro files.
i recommend you to read the documentation for typical usage scenarios thoroughly: https://github.com/dbzhang800/QtXlsxWriter/blob/master/README.md

@priyas1729
Copy link
Author

Thank you for your prompt reply.
When I open the qtxlsx.pro and build it using Qt creator is gives error: Executable C:\build-qtxlsx-Desktop_Qt_5_3_MSVC2010_OpenGL_32bit-Debug\examples\xlsx\calendar\debug\calendar.exe does not exist.

@luckyhacky
Copy link

do a "make clean" and "rebuild all"

@dbzhang800
Copy link
Owner

Hi, If your Qt5 is download and installed directly from qt-project, thennmake install
is needed just after you built the library.

Otherwise, if your Qt5 is compiled by yourself, nmake install isn't needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants