Quote Originally Posted by wysota View Post
Start from scratch, unpack the archive, cd into the "widgets" directory, run qmake, run make, run make install, cd ../plugin, run qmake, run make, run make install. Everything should be fine then - it's a foulproof method of installing this particular widget set - it should create a debug and release version of the widget set and release version of the designer plugin.
I made everything as you say..."widgets" directory compiled perfect. But plugin.. is it need to fix plugin.pro, and change
win32 {
CONFIG(release): LIBS += -L../widgets/release -lwwwidgets4
CONFIG(debug): LIBS += -L../widgets/debug -lwwwidgets4d
}
to
win32 {
CONFIG(release): LIBS += -L../widgets/release -lwwwidgets4
CONFIG(debug): LIBS += -L../widgets/debug -lwwwidgets4
}
If not, there is still error with linker : cannot find lwwwidgets4d..
After i changed plugin.pro file, and everything compiled perfect..Designer plugin work correctly, examples are compiling...but i i still got the compilation error with that first simple project, what i showed early, with QwwPrivatable error...

mingw32-make: Entering directory `C:/storage/programming/workspace/testWWW'
C:/storage/programming/MinGW/bin/mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/storage/programming/workspace/testWWW'
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DWWWIDGETS -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\Qt\include\QtCore" -I"..\..\Qt\include\QtGui" -I"..\..\Qt\include" -I"..\..\Qt\include\wwWidgets" -I"..\..\Qt\include\ActiveQt" -I"release" -I"..\..\Qt\mkspecs\win32-g++" -o release\main.o main.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release\testWWW.exe release/main.o -L"c:\storage\programming\Qt\lib" -lmingw32 -lqtmain -lwwwidgets4 -lQtGui4 -lQtCore4
mingw32-make[1]: Leaving directory `C:/storage/programming/workspace/testWWW'
mingw32-make: Leaving directory `C:/storage/programming/workspace/testWWW'
release/main.o:main.cpp.text+0x72): undefined reference to `QwwPrivatable::~QwwPrivatable()'
release/main.o:main.cpp.text+0xce): undefined reference to `QwwPrivatable::~QwwPrivatable()'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\testWWW.exe] Error 1
mingw32-make: *** [release] Error 2
Maybe this is because of my version of Qt? My version is 4.6.2 Open source...