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

Cant compile a debug version #26

Closed
feugen opened this issue Feb 17, 2014 · 4 comments
Closed

Cant compile a debug version #26

feugen opened this issue Feb 17, 2014 · 4 comments

Comments

@feugen
Copy link

feugen commented Feb 17, 2014

Hello,

I use Qt 5.1 and the latest QtXlsxWriter (downloaded today)
somehow I cant compile a debug version but it works as release version without problems. here what I get if I try to compile as a debug version:

....\build-euvl-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debug\xlsxdocument.o:-1: In function ZN5QXlsx8DocumentC2EP7QObject':
...\xlsx\xlsxdocument.cpp:306: error:undefined reference to vtable for QXlsx::Document

Any idea how to fix this?

@dbzhang800
Copy link
Owner

Hi, I cann't reproduce this problem under Windows XP/MinGW 4.8/Qt5.1/debug, so I have no clean idea how to fix it.

@fverneau
Copy link

Hi, try to launch qmake and compilate again all your project.

@dbzhang800
Copy link
Owner

Seems very strange, I still can not reproduce it with/without Qt Creator.

For in-source build:

  1. Download the source, put in one directory
  2. in the source directory, run
qmake
make debug

For shadow build

  1. Download the source, put in one directory, such as E:/QtXlsx
  2. create a build directory, such as E:/build-QtXlsx, in the build directory, run
qmake ../QtXlsx
make debug

@feugen
Copy link
Author

feugen commented Feb 19, 2014

Hello,

I used this bug to upgrade my qt and I installed qt5.2.1 and tried all again, and now it works. I am able to compile both versions, release and debug. Dont know what the reason was...but I dont care anymore, probably some strange settings.
Thanks for your effort to help me.

@feugen feugen closed this as completed Feb 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants