FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us

We also have a status page:

Port details
qt4-testlib Qt unit testing module
4.8.7_2 devel on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: search for ports maintained by this maintainer
Port Added: 06 Jan 2014 16:17:05
License: LGPL21
Qt is a cross-platform application and UI framework for developers
using C++ or QML, a CSS/JavaScript-like language.

With Qt, code can be reused efficiently to target multiple platforms
with one code base. The modular C++ class library and developer tools
easily enables developers to create applications for one platform and
easily build and run to deploy on another platform.

SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (90 items)
  1. /usr/local/share/licenses/qt4-testlib-4.8.7_2/
  2. /usr/local/share/licenses/qt4-testlib-4.8.7_2/LICENSE
  3. /usr/local/share/licenses/qt4-testlib-4.8.7_2/LGPL21
  4. include/qt4/Qt/QtTest
  5. include/qt4/Qt/qbenchmark.h
  6. include/qt4/Qt/qbenchmarkmetric.h
  7. include/qt4/Qt/qsignalspy.h
  8. include/qt4/Qt/qtest.h
  9. include/qt4/Qt/qtest_global.h
  10. include/qt4/Qt/qtest_gui.h
  11. include/qt4/Qt/qtestaccessible.h
  12. include/qt4/Qt/qtestassert.h
  13. include/qt4/Qt/qtestbasicstreamer.h
  14. include/qt4/Qt/qtestcase.h
  15. include/qt4/Qt/qtestcoreelement.h
  16. include/qt4/Qt/qtestcorelist.h
  17. include/qt4/Qt/qtestdata.h
  18. include/qt4/Qt/qtestelement.h
  19. include/qt4/Qt/qtestelementattribute.h
  20. include/qt4/Qt/qtestevent.h
  21. include/qt4/Qt/qtesteventloop.h
  22. include/qt4/Qt/qtestfilelogger.h
  23. include/qt4/Qt/qtestkeyboard.h
  24. include/qt4/Qt/qtestlightxmlstreamer.h
  25. include/qt4/Qt/qtestmouse.h
  26. include/qt4/Qt/qtestspontaneevent.h
  27. include/qt4/Qt/qtestsystem.h
  28. include/qt4/Qt/qtesttouch.h
  29. include/qt4/Qt/qtestxmlstreamer.h
  30. include/qt4/Qt/qtestxunitstreamer.h
  31. include/qt4/QtTest/QEventSizeOfChecker
  32. include/qt4/QtTest/QSignalSpy
  33. include/qt4/QtTest/QSpontaneKeyEvent
  34. include/qt4/QtTest/QTest
  35. include/qt4/QtTest/QTestAccessibility
  36. include/qt4/QtTest/QTestAccessibilityEvent
  37. include/qt4/QtTest/QTestBasicStreamer
  38. include/qt4/QtTest/QTestCoreElement
  39. include/qt4/QtTest/QTestCoreList
  40. include/qt4/QtTest/QTestData
  41. include/qt4/QtTest/QTestDelayEvent
  42. include/qt4/QtTest/QTestElement
  43. include/qt4/QtTest/QTestElementAttribute
  44. include/qt4/QtTest/QTestEvent
  45. include/qt4/QtTest/QTestEventList
  46. include/qt4/QtTest/QTestEventLoop
  47. include/qt4/QtTest/QTestFileLogger
  48. include/qt4/QtTest/QTestKeyClicksEvent
  49. include/qt4/QtTest/QTestKeyEvent
  50. include/qt4/QtTest/QTestLightXmlStreamer
  51. include/qt4/QtTest/QTestMouseEvent
  52. include/qt4/QtTest/QTestXmlStreamer
  53. include/qt4/QtTest/QTestXunitStreamer
  54. include/qt4/QtTest/QtTest
  55. include/qt4/QtTest/QtTestGui
  56. include/qt4/QtTest/qbenchmark.h
  57. include/qt4/QtTest/qbenchmarkmetric.h
  58. include/qt4/QtTest/qsignalspy.h
  59. include/qt4/QtTest/qtest.h
  60. include/qt4/QtTest/qtest_global.h
  61. include/qt4/QtTest/qtest_gui.h
  62. include/qt4/QtTest/qtestaccessible.h
  63. include/qt4/QtTest/qtestassert.h
  64. include/qt4/QtTest/qtestbasicstreamer.h
  65. include/qt4/QtTest/qtestcase.h
  66. include/qt4/QtTest/qtestcoreelement.h
  67. include/qt4/QtTest/qtestcorelist.h
  68. include/qt4/QtTest/qtestdata.h
  69. include/qt4/QtTest/qtestelement.h
  70. include/qt4/QtTest/qtestelementattribute.h
  71. include/qt4/QtTest/qtestevent.h
  72. include/qt4/QtTest/qtesteventloop.h
  73. include/qt4/QtTest/qtestfilelogger.h
  74. include/qt4/QtTest/qtestkeyboard.h
  75. include/qt4/QtTest/qtestlightxmlstreamer.h
  76. include/qt4/QtTest/qtestmouse.h
  77. include/qt4/QtTest/qtestspontaneevent.h
  78. include/qt4/QtTest/qtestsystem.h
  79. include/qt4/QtTest/qtesttouch.h
  80. include/qt4/QtTest/qtestxmlstreamer.h
  81. include/qt4/QtTest/qtestxunitstreamer.h
  82. lib/qt4/libQtTest.prl
  83. lib/qt4/
  84. lib/qt4/
  85. lib/qt4/
  86. lib/qt4/
  87. @comment lib/qt4/
  88. libdata/pkgconfig/QtTest.pc
  89. @postexec /sbin/ldconfig -m /usr/local/lib/qt4
  90. @postunexec /sbin/ldconfig -R
  91. Collapse this list.

To install the port: cd /usr/ports/devel/qt4-testlib/ && make install clean
To add the package: pkg install qt4-testlib

PKGNAME: qt4-testlib


SHA256 (KDE/qt-everywhere-opensource-src-4.8.7.tar.gz) = e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0
SIZE (KDE/qt-everywhere-opensource-src-4.8.7.tar.gz) = 241075567

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. moc : devel/qt4-moc
  2. qmake : devel/qt4-qmake
Runtime dependencies:
  1. qtchooser : misc/qtchooser
Library dependencies:
  1. : devel/qt4-corelib

This port is required by:

for Build for Libraries for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure


Master Sites:
Port Moves
  • port moved here from devel/qt4-qtestlib on 2014-01-06
    REASON: Renamed to unify with Qt 5

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
06 Jun 2017 05:00:56
Original commit files touched by this commit  4.8.7_2
tcberner search for other commits by this committer
Fix qt4 ports on armv6.

Due to a misspelling in GCC [1] (probably) the check for the ARMv6KZ platform
used ARM_ARCH_6ZK instead of ARM_ARCH_6KZ.


PR:		210027
Submitted by:	Mikael Urankar <>
Reviewed by:	rakuco
Differential Revision:
18 Feb 2017 19:48:05
Original commit files touched by this commit  4.8.7_1
tcberner search for other commits by this committer
Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some more

* Update Qt5 to 5.7.1
* Move Qt4 binaries to lib/qt4/bin
* Move Qt5 libraries to lib/qt5/lib
  By moving the libraries we should finally be able to get rid of the inplace
  upgrade bug (see ports bugs 194088, 195105 and 198720):  when Qt5's libraries
  were lying in /usr/local/lib, which would often get added by pkgconfig to the
  linker paths via dependencies, the already installed libraries were linked
  against, instead of the ones that were being built. This forced us to make
  sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the
  linker flags. With this change this should no longer be the case.
* Rename some ports to match the rest (foo-qtX -> qtX-foo)
* Depend on new port misc/qtchooser [see UPDATING & CHANGES]

There are several new Qt5 ports which all have been created by Marie Loise
<>. Thanks again.

PR:		216797
Exp-Run by:	antoine
Reviewed by:	rakuco, mat,
Approved by:	rakuco (mentor)
Differential Revision:
16 Sep 2015 08:55:05
Original commit files touched by this commit  4.8.7
rakuco search for other commits by this committer
Update the Qt4 ports to 4.8.7.

According to upstream, this is the last planned Qt4 release.
A list of changes since 4.8.6 can be found here:

Porting notes and changes:
- Remove several patches that have been upstreamed.
- Make Uses/ pass the contents of LIBS to the qmake environment. [1]
- Repurpose devel/qt4/files/extrapatch-src-corelib-global-qglobal.h now the
  original patch is part of the release (curiously enough, the original
  patch was never actually used, as the ?= assignment in r362837 after
  r362770 was never possible).

  This works around the way compiler support for C++11 features is detected
(Only the first 15 lines of the commit message are shown above View all of this commit message)
23 Oct 2014 21:35:15
Original commit files touched by this commit  4.8.6_1
rakuco search for other commits by this committer
Remove @dirrm and @dirrmtry entries from the Qt ports.
19 Jul 2014 11:09:00
Original commit files touched by this commit  4.8.6_1
tijl search for other commits by this committer
Remove libtool .la files from all Qt ports

Approvedy by:	kde (makc)
06 Jan 2014 16:16:53
Original commit files touched by this commit  4.8.5
makc search for other commits by this committer
In preparation for Qt 5 ports:

- Add support for out-of-source builds
- Add support for Qt 5 ports
- Respect WITH_DEBUG

- Massive rework for Qt 5 ports
- Remove '-phonon' from global configure args, thus allow qt4-designer and
  qt4-qtconfig to be built without Phonon support [1]

- Improve mkspecs for gcc (mainly sync with linux version) and clang
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 6

User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
opensslNov 02
openssl-develNov 02
wordpressNov 01
php56Oct 30
php70Oct 30
php71Oct 30
wiresharkOct 30
chromiumOct 28
wgetOct 27
wgetOct 27
openoffice-4*Oct 26
openoffice-devel*Oct 26
gitlabOct 25
nodeOct 25
node4Oct 25

No vulnerabilities have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 31879
Broken 126
Deprecated 44
Ignore 362
Forbidden 0
Restricted 175
Vulnerable 50
Expired 11
Set to expire 36
Interactive 0
new 24 hours 77
new 48 hours93
new 7 days3230
new fortnight3307
new month3461

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.